… | |
… | |
658 | host_cpu |
658 | host_cpu |
659 | host_vendor |
659 | host_vendor |
660 | host_os |
660 | host_os |
661 | VERSION |
661 | VERSION |
662 | DATE |
662 | DATE |
663 | LSMDATE |
|
|
664 | LIBVERSION |
|
|
665 | CC |
663 | CC |
666 | CFLAGS |
664 | CFLAGS |
667 | LDFLAGS |
665 | LDFLAGS |
668 | CPPFLAGS |
666 | CPPFLAGS |
669 | ac_ct_CC |
667 | ac_ct_CC |
… | |
… | |
677 | INSTALL_SCRIPT |
675 | INSTALL_SCRIPT |
678 | INSTALL_DATA |
676 | INSTALL_DATA |
679 | GREP |
677 | GREP |
680 | EGREP |
678 | EGREP |
681 | LINKER |
679 | LINKER |
682 | CXXLIB |
|
|
683 | INSTALL_LIBRXVT |
|
|
684 | RXVTNAME |
680 | RXVTNAME |
|
|
681 | CXXCPP |
685 | TIC |
682 | TIC |
686 | XMKMF |
683 | XMKMF |
687 | CXXCPP |
|
|
688 | X_CFLAGS |
684 | X_CFLAGS |
689 | X_PRE_LIBS |
685 | X_PRE_LIBS |
690 | X_LIBS |
686 | X_LIBS |
691 | X_EXTRA_LIBS |
687 | X_EXTRA_LIBS |
692 | afterimage_config |
688 | afterimage_config |
693 | XPM_CPPFLAGS |
|
|
694 | XPM_CFLAGS |
|
|
695 | XPM_LIBS |
|
|
696 | rxvt_int16_typedef |
|
|
697 | rxvt_uint16_typedef |
|
|
698 | rxvt_int32_typedef |
|
|
699 | rxvt_uint32_typedef |
|
|
700 | rxvt_intp_define |
|
|
701 | rxvt_u_intp_define |
|
|
702 | PKG_CONFIG |
689 | PKG_CONFIG |
703 | XFT_CONFIG |
690 | XFT_CONFIG |
704 | PERL |
691 | PERL |
705 | PERLLIB |
692 | PERLLIB |
706 | PERLFLAGS |
693 | PERLFLAGS |
707 | PERLPRIVLIBEXP |
694 | PERLPRIVLIBEXP |
708 | IF_PERL |
695 | IF_PERL |
709 | PERL_O |
696 | PERL_O |
710 | LIBAFTERIMAGE_CFLAGS |
697 | AFTERIMAGE_CFLAGS |
711 | AFTERIMAGE_LIBS |
698 | AFTERIMAGE_LIBS |
712 | include_stdint_h |
|
|
713 | include_stdarg_h |
|
|
714 | include_stdlib_h |
|
|
715 | include_unistd_h |
|
|
716 | include_string_h |
|
|
717 | include_fcntl_h |
|
|
718 | include_util_h |
|
|
719 | include_assert_h |
|
|
720 | include_sys_ioctl_h |
|
|
721 | include_sys_select_h |
|
|
722 | include_sys_strredir_h |
|
|
723 | include_sys_time_h |
|
|
724 | include_time_h |
|
|
725 | LIBOBJS |
699 | LIBOBJS |
726 | LTLIBOBJS' |
700 | LTLIBOBJS' |
727 | ac_subst_files='' |
701 | ac_subst_files='' |
728 | ac_precious_vars='build_alias |
702 | ac_precious_vars='build_alias |
729 | host_alias |
703 | host_alias |
… | |
… | |
735 | CPPFLAGS |
709 | CPPFLAGS |
736 | CXX |
710 | CXX |
737 | CXXFLAGS |
711 | CXXFLAGS |
738 | CCC |
712 | CCC |
739 | CPP |
713 | CPP |
740 | XMKMF |
|
|
741 | CXXCPP' |
714 | CXXCPP |
|
|
715 | XMKMF' |
742 | |
716 | |
743 | |
717 | |
744 | # Initialize some variables set by options. |
718 | # Initialize some variables set by options. |
745 | ac_init_help= |
719 | ac_init_help= |
746 | ac_init_version=false |
720 | ac_init_version=false |
… | |
… | |
1319 | |
1293 | |
1320 | Optional Features: |
1294 | Optional Features: |
1321 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1322 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1323 | --enable-everything enable standard non-multichoice features |
1297 | --enable-everything enable standard non-multichoice features |
1324 | NOTE: this option is order dependent |
1298 | NOTE: this option is order dependent |
1325 | NOTE: automatically enabled with --enable-shared |
1299 | --enable-warnings turn on g++ warnings |
1326 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1300 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1327 | --enable-combining enable composition of base and combining characters |
1301 | --enable-combining enable composition of base and combining characters |
1328 | --enable-xft enable xft support on systems that have it |
1302 | --enable-xft enable xft support on systems that have it |
1329 | --enable-font-styles enable bold and italic support |
1303 | --enable-font-styles enable bold and italic support |
1330 | --enable-xpm-background enable background pixmaps |
|
|
1331 | --enable-afterimage enable integration with libAfterImage for background images |
1304 | --enable-afterimage enable integration with libAfterImage for background images |
1332 | --enable-afterstep enable integration with AfterStep window manager |
|
|
1333 | --enable-transparency enable transparent backgrounds |
1305 | --enable-transparency enable transparent backgrounds |
1334 | --enable-tinting enable tinting of transparent bg |
|
|
1335 | --enable-fading enable colors fading when off focus |
1306 | --enable-fading enable colors fading when off focus |
1336 | --enable-rxvt-scroll enable rxvt style scrollbar |
1307 | --enable-rxvt-scroll enable rxvt style scrollbar |
1337 | --enable-next-scroll enable NeXT style scrollbar |
1308 | --enable-next-scroll enable NeXT style scrollbar |
1338 | --enable-xterm-scroll enable Xterm style scrollbar |
1309 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1310 | --enable-plain-scroll enable plain style scrollbar |
1339 | --enable-perl enable embedded perl interpreter |
1311 | --enable-perl enable embedded perl interpreter |
1340 | --enable-plain-scroll enable plain style scrollbar |
|
|
1341 | --enable-xim XIM (X Input Method) protocol support |
1312 | --enable-xim XIM (X Input Method) protocol support |
1342 | --disable-backspace-key disable handling of the backspace key |
1313 | --disable-backspace-key disable handling of the backspace key |
1343 | --disable-delete-key disable handling of the delete key |
1314 | --disable-delete-key disable handling of the delete key |
1344 | --disable-resources disable all resource checking |
1315 | --disable-resources disable all resource checking |
1345 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1316 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1346 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1317 | --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1347 | --disable-swapscreen disable swap screen support |
1318 | --disable-swapscreen disable swap screen support |
1348 | --enable-iso14755 enable support for extended ISO 14755 modes |
1319 | --enable-iso14755 enable support for extended ISO 14755 modes |
1349 | --enable-frills enable support for rarely used features |
1320 | --enable-frills enable support for rarely used features |
1350 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1321 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1351 | --enable-selectionscrolling enable scrolling during selections |
1322 | --enable-selectionscrolling enable scrolling during selections |
1352 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1323 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1353 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1324 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1354 | --enable-smart-resize enable smart growth/shrink behaviour |
1325 | --enable-smart-resize enable smart growth/shrink behaviour |
1355 | --enable-text-blink enable blinking text |
1326 | --enable-text-blink enable blinking text |
1356 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1327 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1357 | --enable-utmp enable utmp (utmpx) support |
1328 | --enable-utmp enable utmp (utmpx) support |
1358 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1329 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1360 | |
1331 | |
1361 | Optional Packages: |
1332 | Optional Packages: |
1362 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1333 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1363 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1334 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1364 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1335 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1365 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1336 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1366 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1337 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1367 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1338 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1368 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1339 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1369 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1340 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1370 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1341 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1371 | --with-x use the X Window System |
1342 | --with-x use the X Window System |
1372 | --with-xpm-includes=DIR use XPM includes in DIR |
|
|
1373 | --with-xpm-library=DIR use XPM library in DIR |
|
|
1374 | --with-xpm use XPM |
|
|
1375 | |
1343 | |
1376 | Some influential environment variables: |
1344 | Some influential environment variables: |
1377 | CC C compiler command |
1345 | CC C compiler command |
1378 | CFLAGS C compiler flags |
1346 | CFLAGS C compiler flags |
1379 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
1347 | LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a |
… | |
… | |
1382 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1350 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1383 | you have headers in a nonstandard directory <include dir> |
1351 | you have headers in a nonstandard directory <include dir> |
1384 | CXX C++ compiler command |
1352 | CXX C++ compiler command |
1385 | CXXFLAGS C++ compiler flags |
1353 | CXXFLAGS C++ compiler flags |
1386 | CPP C preprocessor |
1354 | CPP C preprocessor |
|
|
1355 | CXXCPP C++ preprocessor |
1387 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1356 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1388 | CXXCPP C++ preprocessor |
|
|
1389 | |
1357 | |
1390 | Use these variables to override the choices made by `configure' or to help |
1358 | Use these variables to override the choices made by `configure' or to help |
1391 | it to find libraries and programs with nonstandard names/locations. |
1359 | it to find libraries and programs with nonstandard names/locations. |
1392 | |
1360 | |
1393 | _ACEOF |
1361 | _ACEOF |
… | |
… | |
1929 | |
1897 | |
1930 | |
1898 | |
1931 | |
1899 | |
1932 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1900 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1933 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1901 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1902 | |
1934 | echo "" |
1903 | echo "" |
1935 | echo "configuring for rxvt $VERSION" |
1904 | echo "configuring for rxvt $VERSION" |
1936 | echo "" |
1905 | echo "" |
1937 | |
1906 | |
1938 | orig_CXXFLAGS="$CXXFLAGS" |
1907 | orig_CXXFLAGS="$CXXFLAGS" |
1939 | |
|
|
1940 | |
1908 | |
1941 | ac_ext=c |
1909 | ac_ext=c |
1942 | ac_cpp='$CPP $CPPFLAGS' |
1910 | ac_cpp='$CPP $CPPFLAGS' |
1943 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1911 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1944 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1912 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
3723 | echo "${ECHO_T}no" >&6; } |
3691 | echo "${ECHO_T}no" >&6; } |
3724 | fi |
3692 | fi |
3725 | rm -f conftest* |
3693 | rm -f conftest* |
3726 | |
3694 | |
3727 | |
3695 | |
|
|
3696 | |
|
|
3697 | cat >>confdefs.h <<\_ACEOF |
|
|
3698 | #define _GNU_SOURCE 1 |
|
|
3699 | _ACEOF |
|
|
3700 | |
|
|
3701 | |
3728 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3702 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3729 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3703 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3730 | if test "${ac_cv_search_strerror+set}" = set; then |
3704 | if test "${ac_cv_search_strerror+set}" = set; then |
3731 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3732 | else |
3706 | else |
… | |
… | |
3855 | (exit $ac_status); } && { |
3829 | (exit $ac_status); } && { |
3856 | test -z "$ac_cxx_werror_flag" || |
3830 | test -z "$ac_cxx_werror_flag" || |
3857 | test ! -s conftest.err |
3831 | test ! -s conftest.err |
3858 | } && test -s conftest$ac_exeext && |
3832 | } && test -s conftest$ac_exeext && |
3859 | $as_test_x conftest$ac_exeext; then |
3833 | $as_test_x conftest$ac_exeext; then |
3860 | |
|
|
3861 | { echo "$as_me:$LINENO: result: ok" >&5 |
3834 | { echo "$as_me:$LINENO: result: ok" >&5 |
3862 | echo "${ECHO_T}ok" >&6; } |
3835 | echo "${ECHO_T}ok" >&6; } |
3863 | CXXLIB="-lsupc++" |
|
|
3864 | |
|
|
3865 | else |
3836 | else |
3866 | echo "$as_me: failed program was:" >&5 |
3837 | echo "$as_me: failed program was:" >&5 |
3867 | sed 's/^/| /' conftest.$ac_ext >&5 |
3838 | sed 's/^/| /' conftest.$ac_ext >&5 |
3868 | |
3839 | |
3869 | |
3840 | |
… | |
… | |
3880 | CXX="$save_CXX" |
3851 | CXX="$save_CXX" |
3881 | fi |
3852 | fi |
3882 | LINKER=$LINKER |
3853 | LINKER=$LINKER |
3883 | |
3854 | |
3884 | |
3855 | |
3885 | |
|
|
3886 | if test -z "$orig_CXXFLAGS"; then |
3856 | if test -z "$orig_CXXFLAGS"; then |
3887 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3857 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3888 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3858 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3889 | cat >conftest.$ac_ext <<_ACEOF |
3859 | cat >conftest.$ac_ext <<_ACEOF |
3890 | /* confdefs.h. */ |
3860 | /* confdefs.h. */ |
3891 | _ACEOF |
3861 | _ACEOF |
3892 | cat confdefs.h >>conftest.$ac_ext |
3862 | cat confdefs.h >>conftest.$ac_ext |
3893 | cat >>conftest.$ac_ext <<_ACEOF |
3863 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3931 | CXXFLAGS="-O" |
3901 | CXXFLAGS="-O" |
3932 | fi |
3902 | fi |
3933 | CFLAGS="$CXXFLAGS" |
3903 | CFLAGS="$CXXFLAGS" |
3934 | fi |
3904 | fi |
3935 | |
3905 | |
3936 | |
|
|
3937 | cat >>confdefs.h <<\_ACEOF |
|
|
3938 | #define _GNU_SOURCE 1 |
|
|
3939 | _ACEOF |
|
|
3940 | |
|
|
3941 | |
|
|
3942 | case $host in |
3906 | case $host in |
3943 | *-*-solaris* ) |
3907 | *-*-solaris* ) |
3944 | |
3908 | |
3945 | cat >>confdefs.h <<\_ACEOF |
3909 | cat >>confdefs.h <<\_ACEOF |
3946 | #define _XOPEN_SOURCE 500 |
3910 | #define _XOPEN_SOURCE 500 |
3947 | _ACEOF |
3911 | _ACEOF |
3948 | |
3912 | |
3949 | ;; |
3913 | ;; |
3950 | esac |
3914 | esac |
3951 | |
|
|
3952 | |
3915 | |
3953 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3916 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3954 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3917 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3955 | if test "${ac_cv_func_setlocale+set}" = set; then |
3918 | if test "${ac_cv_func_setlocale+set}" = set; then |
3956 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4403 | fi |
4366 | fi |
4404 | |
4367 | |
4405 | fi |
4368 | fi |
4406 | |
4369 | |
4407 | |
4370 | |
4408 | |
|
|
4409 | support_frills=yes |
4371 | support_frills=yes |
4410 | support_inheritpixmap=yes |
4372 | support_inheritpixmap=yes |
4411 | support_tinting=yes |
|
|
4412 | support_fading=yes |
4373 | support_fading=yes |
4413 | support_keepscrolling=yes |
4374 | support_keepscrolling=yes |
4414 | support_selectionscrolling=yes |
4375 | support_selectionscrolling=yes |
4415 | support_mousewheel=yes |
4376 | support_mousewheel=yes |
4416 | support_mouseslipwheel=yes |
4377 | support_mouseslipwheel=yes |
… | |
… | |
4419 | support_scroll_rxvt=yes |
4380 | support_scroll_rxvt=yes |
4420 | support_scroll_next=yes |
4381 | support_scroll_next=yes |
4421 | support_scroll_xterm=yes |
4382 | support_scroll_xterm=yes |
4422 | support_scroll_plain=yes |
4383 | support_scroll_plain=yes |
4423 | support_xim=yes |
4384 | support_xim=yes |
4424 | support_xpm=yes |
|
|
4425 | support_afterimage=yes |
4385 | support_afterimage=yes |
4426 | support_afterstep=yes |
4386 | support_afterstep=yes |
4427 | support_xft=yes |
4387 | support_xft=yes |
4428 | support_unicode3=no |
4388 | support_unicode3=no |
4429 | support_combining=yes |
4389 | support_combining=yes |
… | |
… | |
4432 | support_styles=yes |
4392 | support_styles=yes |
4433 | support_perl=yes |
4393 | support_perl=yes |
4434 | codesets=all |
4394 | codesets=all |
4435 | |
4395 | |
4436 | |
4396 | |
4437 | if test "x$enable_shared" = xyes; then |
|
|
4438 | |
|
|
4439 | cat >>confdefs.h <<\_ACEOF |
|
|
4440 | #define LIBRXVT 1 |
|
|
4441 | _ACEOF |
|
|
4442 | |
|
|
4443 | INSTALL_LIBRXVT=yes |
|
|
4444 | fi |
|
|
4445 | |
|
|
4446 | |
|
|
4447 | # Check whether --enable-everything was given. |
4397 | # Check whether --enable-everything was given. |
4448 | if test "${enable_everything+set}" = set; then |
4398 | if test "${enable_everything+set}" = set; then |
4449 | enableval=$enable_everything; |
4399 | enableval=$enable_everything; |
4450 | if test x$enableval = xno; then |
4400 | if test x$enableval = xno; then |
4451 | support_frills=no |
4401 | support_frills=no |
4452 | support_inheritpixmap=no |
4402 | support_inheritpixmap=no |
4453 | support_tinting=no |
|
|
4454 | support_fading=no |
4403 | support_fading=no |
4455 | support_keepscrolling=no |
4404 | support_keepscrolling=no |
4456 | support_selectionscrolling=no |
4405 | support_selectionscrolling=no |
4457 | support_lastlog=no |
4406 | support_lastlog=no |
4458 | support_mousewheel=no |
4407 | support_mousewheel=no |
… | |
… | |
4464 | support_scroll_xterm=no |
4413 | support_scroll_xterm=no |
4465 | support_scroll_plain=no |
4414 | support_scroll_plain=no |
4466 | support_utmp=no |
4415 | support_utmp=no |
4467 | support_wtmp=no |
4416 | support_wtmp=no |
4468 | support_xim=no |
4417 | support_xim=no |
4469 | support_xpm=no |
|
|
4470 | support_afterimage=no |
4418 | support_afterimage=no |
4471 | support_afterstep=no |
4419 | support_afterstep=no |
4472 | support_xft=no |
4420 | support_xft=no |
4473 | support_unicode3=no |
4421 | support_unicode3=no |
4474 | support_combining=no |
4422 | support_combining=no |
… | |
… | |
4479 | codesets= |
4427 | codesets= |
4480 | fi |
4428 | fi |
4481 | if test x$enableval = xyes; then |
4429 | if test x$enableval = xyes; then |
4482 | support_frills=yes |
4430 | support_frills=yes |
4483 | support_inheritpixmap=yes |
4431 | support_inheritpixmap=yes |
4484 | support_tinting=yes |
|
|
4485 | support_fading=yes |
4432 | support_fading=yes |
4486 | support_keepscrolling=yes |
4433 | support_keepscrolling=yes |
4487 | support_selectionscrolling=yes |
4434 | support_selectionscrolling=yes |
4488 | support_lastlog=yes |
4435 | support_lastlog=yes |
4489 | support_mousewheel=yes |
4436 | support_mousewheel=yes |
… | |
… | |
4495 | support_scroll_xterm=yes |
4442 | support_scroll_xterm=yes |
4496 | support_scroll_plain=yes |
4443 | support_scroll_plain=yes |
4497 | support_utmp=yes |
4444 | support_utmp=yes |
4498 | support_wtmp=yes |
4445 | support_wtmp=yes |
4499 | support_xim=yes |
4446 | support_xim=yes |
4500 | support_xpm=yes |
|
|
4501 | support_afterimage=yes |
4447 | support_afterimage=yes |
4502 | support_afterstep=yes |
4448 | support_afterstep=yes |
4503 | support_xft=yes |
4449 | support_xft=yes |
4504 | support_unicode3=yes |
4450 | support_unicode3=yes |
4505 | support_combining=yes |
4451 | support_combining=yes |
… | |
… | |
4511 | fi |
4457 | fi |
4512 | |
4458 | |
4513 | fi |
4459 | fi |
4514 | |
4460 | |
4515 | |
4461 | |
|
|
4462 | WARNINGS=no |
|
|
4463 | # Check whether --enable-warnings was given. |
|
|
4464 | if test "${enable_warnings+set}" = set; then |
|
|
4465 | enableval=$enable_warnings; if test x$enableval = xyes; then |
|
|
4466 | WARNINGS=yes |
|
|
4467 | fi |
|
|
4468 | fi |
|
|
4469 | |
|
|
4470 | if test x$GXX = xyes; then |
|
|
4471 | if test $WARNINGS = yes; then |
|
|
4472 | save_CXXFLAGS="$CXXFLAGS" |
|
|
4473 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
|
|
4474 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4475 | /* confdefs.h. */ |
|
|
4476 | _ACEOF |
|
|
4477 | cat confdefs.h >>conftest.$ac_ext |
|
|
4478 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4479 | /* end confdefs.h. */ |
|
|
4480 | |
|
|
4481 | int |
|
|
4482 | main () |
|
|
4483 | { |
|
|
4484 | |
|
|
4485 | ; |
|
|
4486 | return 0; |
|
|
4487 | } |
|
|
4488 | _ACEOF |
|
|
4489 | rm -f conftest.$ac_objext |
|
|
4490 | if { (ac_try="$ac_compile" |
|
|
4491 | case "(($ac_try" in |
|
|
4492 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4493 | *) ac_try_echo=$ac_try;; |
|
|
4494 | esac |
|
|
4495 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4496 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4497 | ac_status=$? |
|
|
4498 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4499 | rm -f conftest.er1 |
|
|
4500 | cat conftest.err >&5 |
|
|
4501 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4502 | (exit $ac_status); } && { |
|
|
4503 | test -z "$ac_cxx_werror_flag" || |
|
|
4504 | test ! -s conftest.err |
|
|
4505 | } && test -s conftest.$ac_objext; then |
|
|
4506 | : |
|
|
4507 | else |
|
|
4508 | echo "$as_me: failed program was:" >&5 |
|
|
4509 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4510 | |
|
|
4511 | CXXFLAGS="$save_CXXFLAGS" |
|
|
4512 | fi |
|
|
4513 | |
|
|
4514 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4515 | else |
|
|
4516 | CXXFLAGS="$CXXFLAGS -w" |
|
|
4517 | fi |
|
|
4518 | fi |
|
|
4519 | |
4516 | # Check whether --enable-unicode3 was given. |
4520 | # Check whether --enable-unicode3 was given. |
4517 | if test "${enable_unicode3+set}" = set; then |
4521 | if test "${enable_unicode3+set}" = set; then |
4518 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4522 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4519 | support_unicode3=$enableval |
4523 | support_unicode3=$enableval |
4520 | fi |
4524 | fi |
… | |
… | |
4543 | support_styles=$enableval |
4547 | support_styles=$enableval |
4544 | fi |
4548 | fi |
4545 | fi |
4549 | fi |
4546 | |
4550 | |
4547 | |
4551 | |
4548 | # Check whether --enable-xpm-background was given. |
|
|
4549 | if test "${enable_xpm_background+set}" = set; then |
|
|
4550 | enableval=$enable_xpm_background; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4551 | support_xpm=$enableval |
|
|
4552 | fi |
|
|
4553 | fi |
|
|
4554 | |
|
|
4555 | |
|
|
4556 | # Check whether --enable-afterimage was given. |
4552 | # Check whether --enable-afterimage was given. |
4557 | if test "${enable_afterimage+set}" = set; then |
4553 | if test "${enable_afterimage+set}" = set; then |
4558 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4554 | enableval=$enable_afterimage; if test x$enableval = xyes -o x$enableval = xno; then |
4559 | support_afterimage=$enableval |
4555 | support_afterimage=$enableval |
4560 | fi |
4556 | fi |
… | |
… | |
4568 | afterimage_config=$withval/afterimage-config |
4564 | afterimage_config=$withval/afterimage-config |
4569 | fi |
4565 | fi |
4570 | fi |
4566 | fi |
4571 | |
4567 | |
4572 | |
4568 | |
4573 | # Check whether --enable-afterstep was given. |
|
|
4574 | if test "${enable_afterstep+set}" = set; then |
|
|
4575 | enableval=$enable_afterstep; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4576 | support_afterstep=$enableval |
|
|
4577 | fi |
|
|
4578 | fi |
|
|
4579 | |
|
|
4580 | |
4569 | |
4581 | # Check whether --enable-transparency was given. |
4570 | # Check whether --enable-transparency was given. |
4582 | if test "${enable_transparency+set}" = set; then |
4571 | if test "${enable_transparency+set}" = set; then |
4583 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4572 | enableval=$enable_transparency; if test x$enableval = xyes -o x$enableval = xno; then |
4584 | support_inheritpixmap=$enableval |
4573 | support_inheritpixmap=$enableval |
4585 | fi |
4574 | fi |
4586 | fi |
4575 | fi |
4587 | |
4576 | |
4588 | |
4577 | |
4589 | # Check whether --enable-tinting was given. |
|
|
4590 | if test "${enable_tinting+set}" = set; then |
|
|
4591 | enableval=$enable_tinting; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4592 | support_tinting=$enableval |
|
|
4593 | fi |
|
|
4594 | fi |
|
|
4595 | |
|
|
4596 | |
|
|
4597 | # Check whether --enable-fading was given. |
4578 | # Check whether --enable-fading was given. |
4598 | if test "${enable_fading+set}" = set; then |
4579 | if test "${enable_fading+set}" = set; then |
4599 | enableval=$enable_fading; if test x$enableval = xyes -o x$enableval = xno; then |
4580 | enableval=$enable_fading; if test x$enableval = xyes -o x$enableval = xno; then |
4600 | support_fading=$enableval |
4581 | support_fading=$enableval |
4601 | fi |
4582 | fi |
… | |
… | |
4624 | support_scroll_xterm=$enableval |
4605 | support_scroll_xterm=$enableval |
4625 | fi |
4606 | fi |
4626 | fi |
4607 | fi |
4627 | |
4608 | |
4628 | |
4609 | |
|
|
4610 | # Check whether --enable-plain-scroll was given. |
|
|
4611 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4612 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4613 | support_scroll_plain=$enableval |
|
|
4614 | fi |
|
|
4615 | fi |
|
|
4616 | |
|
|
4617 | |
4629 | # Check whether --enable-perl was given. |
4618 | # Check whether --enable-perl was given. |
4630 | if test "${enable_perl+set}" = set; then |
4619 | if test "${enable_perl+set}" = set; then |
4631 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4620 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4632 | support_perl=$enableval |
4621 | support_perl=$enableval |
4633 | fi |
|
|
4634 | fi |
|
|
4635 | |
|
|
4636 | |
|
|
4637 | # Check whether --enable-plain-scroll was given. |
|
|
4638 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4639 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4640 | support_scroll_plain=$enableval |
|
|
4641 | fi |
4622 | fi |
4642 | fi |
4623 | fi |
4643 | |
4624 | |
4644 | |
4625 | |
4645 | |
4626 | |
… | |
… | |
4872 | #define RXVT_TERMINFO "$withval" |
4853 | #define RXVT_TERMINFO "$withval" |
4873 | _ACEOF |
4854 | _ACEOF |
4874 | terminfo="$withval" |
4855 | terminfo="$withval" |
4875 | fi |
4856 | fi |
4876 | fi |
4857 | fi |
|
|
4858 | |
|
|
4859 | |
|
|
4860 | |
|
|
4861 | LIBEV_M4_AVOID_LIBRT=1 |
|
|
4862 | |
|
|
4863 | ac_ext=cpp |
|
|
4864 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4865 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4866 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4867 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4868 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4869 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4870 | if test -z "$CXXCPP"; then |
|
|
4871 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4872 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4873 | else |
|
|
4874 | # Double quotes because CXXCPP needs to be expanded |
|
|
4875 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4876 | do |
|
|
4877 | ac_preproc_ok=false |
|
|
4878 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4879 | do |
|
|
4880 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4881 | # with a fresh cross-compiler works. |
|
|
4882 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4883 | # <limits.h> exists even on freestanding compilers. |
|
|
4884 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4885 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4886 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4887 | /* confdefs.h. */ |
|
|
4888 | _ACEOF |
|
|
4889 | cat confdefs.h >>conftest.$ac_ext |
|
|
4890 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4891 | /* end confdefs.h. */ |
|
|
4892 | #ifdef __STDC__ |
|
|
4893 | # include <limits.h> |
|
|
4894 | #else |
|
|
4895 | # include <assert.h> |
|
|
4896 | #endif |
|
|
4897 | Syntax error |
|
|
4898 | _ACEOF |
|
|
4899 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4900 | case "(($ac_try" in |
|
|
4901 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4902 | *) ac_try_echo=$ac_try;; |
|
|
4903 | esac |
|
|
4904 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4905 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4906 | ac_status=$? |
|
|
4907 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4908 | rm -f conftest.er1 |
|
|
4909 | cat conftest.err >&5 |
|
|
4910 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4911 | (exit $ac_status); } >/dev/null && { |
|
|
4912 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4913 | test ! -s conftest.err |
|
|
4914 | }; then |
|
|
4915 | : |
|
|
4916 | else |
|
|
4917 | echo "$as_me: failed program was:" >&5 |
|
|
4918 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4919 | |
|
|
4920 | # Broken: fails on valid input. |
|
|
4921 | continue |
|
|
4922 | fi |
|
|
4923 | |
|
|
4924 | rm -f conftest.err conftest.$ac_ext |
|
|
4925 | |
|
|
4926 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4927 | # can be detected and how. |
|
|
4928 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4929 | /* confdefs.h. */ |
|
|
4930 | _ACEOF |
|
|
4931 | cat confdefs.h >>conftest.$ac_ext |
|
|
4932 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4933 | /* end confdefs.h. */ |
|
|
4934 | #include <ac_nonexistent.h> |
|
|
4935 | _ACEOF |
|
|
4936 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4937 | case "(($ac_try" in |
|
|
4938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4939 | *) ac_try_echo=$ac_try;; |
|
|
4940 | esac |
|
|
4941 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4942 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4943 | ac_status=$? |
|
|
4944 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4945 | rm -f conftest.er1 |
|
|
4946 | cat conftest.err >&5 |
|
|
4947 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4948 | (exit $ac_status); } >/dev/null && { |
|
|
4949 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4950 | test ! -s conftest.err |
|
|
4951 | }; then |
|
|
4952 | # Broken: success on invalid input. |
|
|
4953 | continue |
|
|
4954 | else |
|
|
4955 | echo "$as_me: failed program was:" >&5 |
|
|
4956 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4957 | |
|
|
4958 | # Passes both tests. |
|
|
4959 | ac_preproc_ok=: |
|
|
4960 | break |
|
|
4961 | fi |
|
|
4962 | |
|
|
4963 | rm -f conftest.err conftest.$ac_ext |
|
|
4964 | |
|
|
4965 | done |
|
|
4966 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4967 | rm -f conftest.err conftest.$ac_ext |
|
|
4968 | if $ac_preproc_ok; then |
|
|
4969 | break |
|
|
4970 | fi |
|
|
4971 | |
|
|
4972 | done |
|
|
4973 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4974 | |
|
|
4975 | fi |
|
|
4976 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4977 | else |
|
|
4978 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4979 | fi |
|
|
4980 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4981 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
4982 | ac_preproc_ok=false |
|
|
4983 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4984 | do |
|
|
4985 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4986 | # with a fresh cross-compiler works. |
|
|
4987 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4988 | # <limits.h> exists even on freestanding compilers. |
|
|
4989 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4990 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4991 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4992 | /* confdefs.h. */ |
|
|
4993 | _ACEOF |
|
|
4994 | cat confdefs.h >>conftest.$ac_ext |
|
|
4995 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4996 | /* end confdefs.h. */ |
|
|
4997 | #ifdef __STDC__ |
|
|
4998 | # include <limits.h> |
|
|
4999 | #else |
|
|
5000 | # include <assert.h> |
|
|
5001 | #endif |
|
|
5002 | Syntax error |
|
|
5003 | _ACEOF |
|
|
5004 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5005 | case "(($ac_try" in |
|
|
5006 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5007 | *) ac_try_echo=$ac_try;; |
|
|
5008 | esac |
|
|
5009 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5010 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5011 | ac_status=$? |
|
|
5012 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5013 | rm -f conftest.er1 |
|
|
5014 | cat conftest.err >&5 |
|
|
5015 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5016 | (exit $ac_status); } >/dev/null && { |
|
|
5017 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5018 | test ! -s conftest.err |
|
|
5019 | }; then |
|
|
5020 | : |
|
|
5021 | else |
|
|
5022 | echo "$as_me: failed program was:" >&5 |
|
|
5023 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5024 | |
|
|
5025 | # Broken: fails on valid input. |
|
|
5026 | continue |
|
|
5027 | fi |
|
|
5028 | |
|
|
5029 | rm -f conftest.err conftest.$ac_ext |
|
|
5030 | |
|
|
5031 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5032 | # can be detected and how. |
|
|
5033 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5034 | /* confdefs.h. */ |
|
|
5035 | _ACEOF |
|
|
5036 | cat confdefs.h >>conftest.$ac_ext |
|
|
5037 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5038 | /* end confdefs.h. */ |
|
|
5039 | #include <ac_nonexistent.h> |
|
|
5040 | _ACEOF |
|
|
5041 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5042 | case "(($ac_try" in |
|
|
5043 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5044 | *) ac_try_echo=$ac_try;; |
|
|
5045 | esac |
|
|
5046 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5047 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5048 | ac_status=$? |
|
|
5049 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5050 | rm -f conftest.er1 |
|
|
5051 | cat conftest.err >&5 |
|
|
5052 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5053 | (exit $ac_status); } >/dev/null && { |
|
|
5054 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5055 | test ! -s conftest.err |
|
|
5056 | }; then |
|
|
5057 | # Broken: success on invalid input. |
|
|
5058 | continue |
|
|
5059 | else |
|
|
5060 | echo "$as_me: failed program was:" >&5 |
|
|
5061 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5062 | |
|
|
5063 | # Passes both tests. |
|
|
5064 | ac_preproc_ok=: |
|
|
5065 | break |
|
|
5066 | fi |
|
|
5067 | |
|
|
5068 | rm -f conftest.err conftest.$ac_ext |
|
|
5069 | |
|
|
5070 | done |
|
|
5071 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5072 | rm -f conftest.err conftest.$ac_ext |
|
|
5073 | if $ac_preproc_ok; then |
|
|
5074 | : |
|
|
5075 | else |
|
|
5076 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5077 | See \`config.log' for more details." >&5 |
|
|
5078 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5079 | See \`config.log' for more details." >&2;} |
|
|
5080 | { (exit 1); exit 1; }; } |
|
|
5081 | fi |
|
|
5082 | |
|
|
5083 | ac_ext=cpp |
|
|
5084 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5085 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5086 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5087 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5088 | |
|
|
5089 | |
|
|
5090 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
5091 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
5092 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
5093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5094 | else |
|
|
5095 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5096 | /* confdefs.h. */ |
|
|
5097 | _ACEOF |
|
|
5098 | cat confdefs.h >>conftest.$ac_ext |
|
|
5099 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5100 | /* end confdefs.h. */ |
|
|
5101 | #include <stdlib.h> |
|
|
5102 | #include <stdarg.h> |
|
|
5103 | #include <string.h> |
|
|
5104 | #include <float.h> |
|
|
5105 | |
|
|
5106 | int |
|
|
5107 | main () |
|
|
5108 | { |
|
|
5109 | |
|
|
5110 | ; |
|
|
5111 | return 0; |
|
|
5112 | } |
|
|
5113 | _ACEOF |
|
|
5114 | rm -f conftest.$ac_objext |
|
|
5115 | if { (ac_try="$ac_compile" |
|
|
5116 | case "(($ac_try" in |
|
|
5117 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5118 | *) ac_try_echo=$ac_try;; |
|
|
5119 | esac |
|
|
5120 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5121 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5122 | ac_status=$? |
|
|
5123 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5124 | rm -f conftest.er1 |
|
|
5125 | cat conftest.err >&5 |
|
|
5126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5127 | (exit $ac_status); } && { |
|
|
5128 | test -z "$ac_cxx_werror_flag" || |
|
|
5129 | test ! -s conftest.err |
|
|
5130 | } && test -s conftest.$ac_objext; then |
|
|
5131 | ac_cv_header_stdc=yes |
|
|
5132 | else |
|
|
5133 | echo "$as_me: failed program was:" >&5 |
|
|
5134 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5135 | |
|
|
5136 | ac_cv_header_stdc=no |
|
|
5137 | fi |
|
|
5138 | |
|
|
5139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5140 | |
|
|
5141 | if test $ac_cv_header_stdc = yes; then |
|
|
5142 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
5143 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5144 | /* confdefs.h. */ |
|
|
5145 | _ACEOF |
|
|
5146 | cat confdefs.h >>conftest.$ac_ext |
|
|
5147 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5148 | /* end confdefs.h. */ |
|
|
5149 | #include <string.h> |
|
|
5150 | |
|
|
5151 | _ACEOF |
|
|
5152 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5153 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
5154 | : |
|
|
5155 | else |
|
|
5156 | ac_cv_header_stdc=no |
|
|
5157 | fi |
|
|
5158 | rm -f conftest* |
|
|
5159 | |
|
|
5160 | fi |
|
|
5161 | |
|
|
5162 | if test $ac_cv_header_stdc = yes; then |
|
|
5163 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
5164 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5165 | /* confdefs.h. */ |
|
|
5166 | _ACEOF |
|
|
5167 | cat confdefs.h >>conftest.$ac_ext |
|
|
5168 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5169 | /* end confdefs.h. */ |
|
|
5170 | #include <stdlib.h> |
|
|
5171 | |
|
|
5172 | _ACEOF |
|
|
5173 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5174 | $EGREP "free" >/dev/null 2>&1; then |
|
|
5175 | : |
|
|
5176 | else |
|
|
5177 | ac_cv_header_stdc=no |
|
|
5178 | fi |
|
|
5179 | rm -f conftest* |
|
|
5180 | |
|
|
5181 | fi |
|
|
5182 | |
|
|
5183 | if test $ac_cv_header_stdc = yes; then |
|
|
5184 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
5185 | if test "$cross_compiling" = yes; then |
|
|
5186 | : |
|
|
5187 | else |
|
|
5188 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5189 | /* confdefs.h. */ |
|
|
5190 | _ACEOF |
|
|
5191 | cat confdefs.h >>conftest.$ac_ext |
|
|
5192 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5193 | /* end confdefs.h. */ |
|
|
5194 | #include <ctype.h> |
|
|
5195 | #include <stdlib.h> |
|
|
5196 | #if ((' ' & 0x0FF) == 0x020) |
|
|
5197 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
5198 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
5199 | #else |
|
|
5200 | # define ISLOWER(c) \ |
|
|
5201 | (('a' <= (c) && (c) <= 'i') \ |
|
|
5202 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
5203 | || ('s' <= (c) && (c) <= 'z')) |
|
|
5204 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
5205 | #endif |
|
|
5206 | |
|
|
5207 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
5208 | int |
|
|
5209 | main () |
|
|
5210 | { |
|
|
5211 | int i; |
|
|
5212 | for (i = 0; i < 256; i++) |
|
|
5213 | if (XOR (islower (i), ISLOWER (i)) |
|
|
5214 | || toupper (i) != TOUPPER (i)) |
|
|
5215 | return 2; |
|
|
5216 | return 0; |
|
|
5217 | } |
|
|
5218 | _ACEOF |
|
|
5219 | rm -f conftest$ac_exeext |
|
|
5220 | if { (ac_try="$ac_link" |
|
|
5221 | case "(($ac_try" in |
|
|
5222 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5223 | *) ac_try_echo=$ac_try;; |
|
|
5224 | esac |
|
|
5225 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5226 | (eval "$ac_link") 2>&5 |
|
|
5227 | ac_status=$? |
|
|
5228 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5229 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
5230 | { (case "(($ac_try" in |
|
|
5231 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5232 | *) ac_try_echo=$ac_try;; |
|
|
5233 | esac |
|
|
5234 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5235 | (eval "$ac_try") 2>&5 |
|
|
5236 | ac_status=$? |
|
|
5237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5238 | (exit $ac_status); }; }; then |
|
|
5239 | : |
|
|
5240 | else |
|
|
5241 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
5242 | echo "$as_me: failed program was:" >&5 |
|
|
5243 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5244 | |
|
|
5245 | ( exit $ac_status ) |
|
|
5246 | ac_cv_header_stdc=no |
|
|
5247 | fi |
|
|
5248 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
5249 | fi |
|
|
5250 | |
|
|
5251 | |
|
|
5252 | fi |
|
|
5253 | fi |
|
|
5254 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
5255 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
5256 | if test $ac_cv_header_stdc = yes; then |
|
|
5257 | |
|
|
5258 | cat >>confdefs.h <<\_ACEOF |
|
|
5259 | #define STDC_HEADERS 1 |
|
|
5260 | _ACEOF |
|
|
5261 | |
|
|
5262 | fi |
|
|
5263 | |
|
|
5264 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
5265 | |
|
|
5266 | |
|
|
5267 | |
|
|
5268 | |
|
|
5269 | |
|
|
5270 | |
|
|
5271 | |
|
|
5272 | |
|
|
5273 | |
|
|
5274 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
5275 | inttypes.h stdint.h unistd.h |
|
|
5276 | do |
|
|
5277 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5278 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5279 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5280 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5281 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5282 | else |
|
|
5283 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5284 | /* confdefs.h. */ |
|
|
5285 | _ACEOF |
|
|
5286 | cat confdefs.h >>conftest.$ac_ext |
|
|
5287 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5288 | /* end confdefs.h. */ |
|
|
5289 | $ac_includes_default |
|
|
5290 | |
|
|
5291 | #include <$ac_header> |
|
|
5292 | _ACEOF |
|
|
5293 | rm -f conftest.$ac_objext |
|
|
5294 | if { (ac_try="$ac_compile" |
|
|
5295 | case "(($ac_try" in |
|
|
5296 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5297 | *) ac_try_echo=$ac_try;; |
|
|
5298 | esac |
|
|
5299 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5300 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5301 | ac_status=$? |
|
|
5302 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5303 | rm -f conftest.er1 |
|
|
5304 | cat conftest.err >&5 |
|
|
5305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5306 | (exit $ac_status); } && { |
|
|
5307 | test -z "$ac_cxx_werror_flag" || |
|
|
5308 | test ! -s conftest.err |
|
|
5309 | } && test -s conftest.$ac_objext; then |
|
|
5310 | eval "$as_ac_Header=yes" |
|
|
5311 | else |
|
|
5312 | echo "$as_me: failed program was:" >&5 |
|
|
5313 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5314 | |
|
|
5315 | eval "$as_ac_Header=no" |
|
|
5316 | fi |
|
|
5317 | |
|
|
5318 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5319 | fi |
|
|
5320 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5321 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5322 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5323 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5324 | cat >>confdefs.h <<_ACEOF |
|
|
5325 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5326 | _ACEOF |
|
|
5327 | |
|
|
5328 | fi |
|
|
5329 | |
|
|
5330 | done |
|
|
5331 | |
|
|
5332 | |
|
|
5333 | |
|
|
5334 | |
|
|
5335 | |
|
|
5336 | |
|
|
5337 | |
|
|
5338 | |
|
|
5339 | |
|
|
5340 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
|
|
5341 | do |
|
|
5342 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5343 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5344 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5346 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5347 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5348 | fi |
|
|
5349 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5350 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5351 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5352 | else |
|
|
5353 | # Is the header compilable? |
|
|
5354 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5355 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5356 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5357 | /* confdefs.h. */ |
|
|
5358 | _ACEOF |
|
|
5359 | cat confdefs.h >>conftest.$ac_ext |
|
|
5360 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5361 | /* end confdefs.h. */ |
|
|
5362 | $ac_includes_default |
|
|
5363 | #include <$ac_header> |
|
|
5364 | _ACEOF |
|
|
5365 | rm -f conftest.$ac_objext |
|
|
5366 | if { (ac_try="$ac_compile" |
|
|
5367 | case "(($ac_try" in |
|
|
5368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5369 | *) ac_try_echo=$ac_try;; |
|
|
5370 | esac |
|
|
5371 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5372 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5373 | ac_status=$? |
|
|
5374 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5375 | rm -f conftest.er1 |
|
|
5376 | cat conftest.err >&5 |
|
|
5377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5378 | (exit $ac_status); } && { |
|
|
5379 | test -z "$ac_cxx_werror_flag" || |
|
|
5380 | test ! -s conftest.err |
|
|
5381 | } && test -s conftest.$ac_objext; then |
|
|
5382 | ac_header_compiler=yes |
|
|
5383 | else |
|
|
5384 | echo "$as_me: failed program was:" >&5 |
|
|
5385 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5386 | |
|
|
5387 | ac_header_compiler=no |
|
|
5388 | fi |
|
|
5389 | |
|
|
5390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5391 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5392 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5393 | |
|
|
5394 | # Is the header present? |
|
|
5395 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5396 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5397 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5398 | /* confdefs.h. */ |
|
|
5399 | _ACEOF |
|
|
5400 | cat confdefs.h >>conftest.$ac_ext |
|
|
5401 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5402 | /* end confdefs.h. */ |
|
|
5403 | #include <$ac_header> |
|
|
5404 | _ACEOF |
|
|
5405 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5406 | case "(($ac_try" in |
|
|
5407 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5408 | *) ac_try_echo=$ac_try;; |
|
|
5409 | esac |
|
|
5410 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5411 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5412 | ac_status=$? |
|
|
5413 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5414 | rm -f conftest.er1 |
|
|
5415 | cat conftest.err >&5 |
|
|
5416 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5417 | (exit $ac_status); } >/dev/null && { |
|
|
5418 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5419 | test ! -s conftest.err |
|
|
5420 | }; then |
|
|
5421 | ac_header_preproc=yes |
|
|
5422 | else |
|
|
5423 | echo "$as_me: failed program was:" >&5 |
|
|
5424 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5425 | |
|
|
5426 | ac_header_preproc=no |
|
|
5427 | fi |
|
|
5428 | |
|
|
5429 | rm -f conftest.err conftest.$ac_ext |
|
|
5430 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5431 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5432 | |
|
|
5433 | # So? What about this header? |
|
|
5434 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5435 | yes:no: ) |
|
|
5436 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5437 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5438 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5439 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5440 | ac_header_preproc=yes |
|
|
5441 | ;; |
|
|
5442 | no:yes:* ) |
|
|
5443 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5444 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5445 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5446 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5447 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5448 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5449 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5450 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5451 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5452 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5453 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5454 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5455 | |
|
|
5456 | ;; |
|
|
5457 | esac |
|
|
5458 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5459 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5460 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5461 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5462 | else |
|
|
5463 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5464 | fi |
|
|
5465 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5466 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5467 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5468 | |
|
|
5469 | fi |
|
|
5470 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5471 | cat >>confdefs.h <<_ACEOF |
|
|
5472 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5473 | _ACEOF |
|
|
5474 | |
|
|
5475 | fi |
|
|
5476 | |
|
|
5477 | done |
|
|
5478 | |
|
|
5479 | |
|
|
5480 | |
|
|
5481 | |
|
|
5482 | |
|
|
5483 | |
|
|
5484 | |
|
|
5485 | |
|
|
5486 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
|
|
5487 | do |
|
|
5488 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5489 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5490 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5491 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5492 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5493 | else |
|
|
5494 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5495 | /* confdefs.h. */ |
|
|
5496 | _ACEOF |
|
|
5497 | cat confdefs.h >>conftest.$ac_ext |
|
|
5498 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5499 | /* end confdefs.h. */ |
|
|
5500 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5501 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5502 | #define $ac_func innocuous_$ac_func |
|
|
5503 | |
|
|
5504 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5505 | which can conflict with char $ac_func (); below. |
|
|
5506 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5507 | <limits.h> exists even on freestanding compilers. */ |
|
|
5508 | |
|
|
5509 | #ifdef __STDC__ |
|
|
5510 | # include <limits.h> |
|
|
5511 | #else |
|
|
5512 | # include <assert.h> |
|
|
5513 | #endif |
|
|
5514 | |
|
|
5515 | #undef $ac_func |
|
|
5516 | |
|
|
5517 | /* Override any GCC internal prototype to avoid an error. |
|
|
5518 | Use char because int might match the return type of a GCC |
|
|
5519 | builtin and then its argument prototype would still apply. */ |
|
|
5520 | #ifdef __cplusplus |
|
|
5521 | extern "C" |
|
|
5522 | #endif |
|
|
5523 | char $ac_func (); |
|
|
5524 | /* The GNU C library defines this for functions which it implements |
|
|
5525 | to always fail with ENOSYS. Some functions are actually named |
|
|
5526 | something starting with __ and the normal name is an alias. */ |
|
|
5527 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5528 | choke me |
|
|
5529 | #endif |
|
|
5530 | |
|
|
5531 | int |
|
|
5532 | main () |
|
|
5533 | { |
|
|
5534 | return $ac_func (); |
|
|
5535 | ; |
|
|
5536 | return 0; |
|
|
5537 | } |
|
|
5538 | _ACEOF |
|
|
5539 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5540 | if { (ac_try="$ac_link" |
|
|
5541 | case "(($ac_try" in |
|
|
5542 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5543 | *) ac_try_echo=$ac_try;; |
|
|
5544 | esac |
|
|
5545 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5546 | (eval "$ac_link") 2>conftest.er1 |
|
|
5547 | ac_status=$? |
|
|
5548 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5549 | rm -f conftest.er1 |
|
|
5550 | cat conftest.err >&5 |
|
|
5551 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5552 | (exit $ac_status); } && { |
|
|
5553 | test -z "$ac_cxx_werror_flag" || |
|
|
5554 | test ! -s conftest.err |
|
|
5555 | } && test -s conftest$ac_exeext && |
|
|
5556 | $as_test_x conftest$ac_exeext; then |
|
|
5557 | eval "$as_ac_var=yes" |
|
|
5558 | else |
|
|
5559 | echo "$as_me: failed program was:" >&5 |
|
|
5560 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5561 | |
|
|
5562 | eval "$as_ac_var=no" |
|
|
5563 | fi |
|
|
5564 | |
|
|
5565 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5566 | conftest$ac_exeext conftest.$ac_ext |
|
|
5567 | fi |
|
|
5568 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5569 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5570 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5571 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5572 | cat >>confdefs.h <<_ACEOF |
|
|
5573 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5574 | _ACEOF |
|
|
5575 | |
|
|
5576 | fi |
|
|
5577 | done |
|
|
5578 | |
|
|
5579 | |
|
|
5580 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5581 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5582 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5583 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5584 | else |
|
|
5585 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5586 | /* confdefs.h. */ |
|
|
5587 | _ACEOF |
|
|
5588 | cat confdefs.h >>conftest.$ac_ext |
|
|
5589 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5590 | /* end confdefs.h. */ |
|
|
5591 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5592 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5593 | #define clock_gettime innocuous_clock_gettime |
|
|
5594 | |
|
|
5595 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5596 | which can conflict with char clock_gettime (); below. |
|
|
5597 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5598 | <limits.h> exists even on freestanding compilers. */ |
|
|
5599 | |
|
|
5600 | #ifdef __STDC__ |
|
|
5601 | # include <limits.h> |
|
|
5602 | #else |
|
|
5603 | # include <assert.h> |
|
|
5604 | #endif |
|
|
5605 | |
|
|
5606 | #undef clock_gettime |
|
|
5607 | |
|
|
5608 | /* Override any GCC internal prototype to avoid an error. |
|
|
5609 | Use char because int might match the return type of a GCC |
|
|
5610 | builtin and then its argument prototype would still apply. */ |
|
|
5611 | #ifdef __cplusplus |
|
|
5612 | extern "C" |
|
|
5613 | #endif |
|
|
5614 | char clock_gettime (); |
|
|
5615 | /* The GNU C library defines this for functions which it implements |
|
|
5616 | to always fail with ENOSYS. Some functions are actually named |
|
|
5617 | something starting with __ and the normal name is an alias. */ |
|
|
5618 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5619 | choke me |
|
|
5620 | #endif |
|
|
5621 | |
|
|
5622 | int |
|
|
5623 | main () |
|
|
5624 | { |
|
|
5625 | return clock_gettime (); |
|
|
5626 | ; |
|
|
5627 | return 0; |
|
|
5628 | } |
|
|
5629 | _ACEOF |
|
|
5630 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5631 | if { (ac_try="$ac_link" |
|
|
5632 | case "(($ac_try" in |
|
|
5633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5634 | *) ac_try_echo=$ac_try;; |
|
|
5635 | esac |
|
|
5636 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5637 | (eval "$ac_link") 2>conftest.er1 |
|
|
5638 | ac_status=$? |
|
|
5639 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5640 | rm -f conftest.er1 |
|
|
5641 | cat conftest.err >&5 |
|
|
5642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5643 | (exit $ac_status); } && { |
|
|
5644 | test -z "$ac_cxx_werror_flag" || |
|
|
5645 | test ! -s conftest.err |
|
|
5646 | } && test -s conftest$ac_exeext && |
|
|
5647 | $as_test_x conftest$ac_exeext; then |
|
|
5648 | ac_cv_func_clock_gettime=yes |
|
|
5649 | else |
|
|
5650 | echo "$as_me: failed program was:" >&5 |
|
|
5651 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5652 | |
|
|
5653 | ac_cv_func_clock_gettime=no |
|
|
5654 | fi |
|
|
5655 | |
|
|
5656 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5657 | conftest$ac_exeext conftest.$ac_ext |
|
|
5658 | fi |
|
|
5659 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5660 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5661 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5662 | : |
|
|
5663 | else |
|
|
5664 | |
|
|
5665 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5666 | |
|
|
5667 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5668 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5669 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5671 | else |
|
|
5672 | ac_check_lib_save_LIBS=$LIBS |
|
|
5673 | LIBS="-lrt $LIBS" |
|
|
5674 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5675 | /* confdefs.h. */ |
|
|
5676 | _ACEOF |
|
|
5677 | cat confdefs.h >>conftest.$ac_ext |
|
|
5678 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5679 | /* end confdefs.h. */ |
|
|
5680 | |
|
|
5681 | /* Override any GCC internal prototype to avoid an error. |
|
|
5682 | Use char because int might match the return type of a GCC |
|
|
5683 | builtin and then its argument prototype would still apply. */ |
|
|
5684 | #ifdef __cplusplus |
|
|
5685 | extern "C" |
|
|
5686 | #endif |
|
|
5687 | char clock_gettime (); |
|
|
5688 | int |
|
|
5689 | main () |
|
|
5690 | { |
|
|
5691 | return clock_gettime (); |
|
|
5692 | ; |
|
|
5693 | return 0; |
|
|
5694 | } |
|
|
5695 | _ACEOF |
|
|
5696 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5697 | if { (ac_try="$ac_link" |
|
|
5698 | case "(($ac_try" in |
|
|
5699 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5700 | *) ac_try_echo=$ac_try;; |
|
|
5701 | esac |
|
|
5702 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5703 | (eval "$ac_link") 2>conftest.er1 |
|
|
5704 | ac_status=$? |
|
|
5705 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5706 | rm -f conftest.er1 |
|
|
5707 | cat conftest.err >&5 |
|
|
5708 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5709 | (exit $ac_status); } && { |
|
|
5710 | test -z "$ac_cxx_werror_flag" || |
|
|
5711 | test ! -s conftest.err |
|
|
5712 | } && test -s conftest$ac_exeext && |
|
|
5713 | $as_test_x conftest$ac_exeext; then |
|
|
5714 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5715 | else |
|
|
5716 | echo "$as_me: failed program was:" >&5 |
|
|
5717 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5718 | |
|
|
5719 | ac_cv_lib_rt_clock_gettime=no |
|
|
5720 | fi |
|
|
5721 | |
|
|
5722 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5723 | conftest$ac_exeext conftest.$ac_ext |
|
|
5724 | LIBS=$ac_check_lib_save_LIBS |
|
|
5725 | fi |
|
|
5726 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5727 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5728 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5729 | cat >>confdefs.h <<_ACEOF |
|
|
5730 | #define HAVE_LIBRT 1 |
|
|
5731 | _ACEOF |
|
|
5732 | |
|
|
5733 | LIBS="-lrt $LIBS" |
|
|
5734 | |
|
|
5735 | fi |
|
|
5736 | |
|
|
5737 | unset ac_cv_func_clock_gettime |
|
|
5738 | |
|
|
5739 | for ac_func in clock_gettime |
|
|
5740 | do |
|
|
5741 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5742 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5743 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5744 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5746 | else |
|
|
5747 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5748 | /* confdefs.h. */ |
|
|
5749 | _ACEOF |
|
|
5750 | cat confdefs.h >>conftest.$ac_ext |
|
|
5751 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5752 | /* end confdefs.h. */ |
|
|
5753 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5754 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5755 | #define $ac_func innocuous_$ac_func |
|
|
5756 | |
|
|
5757 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5758 | which can conflict with char $ac_func (); below. |
|
|
5759 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5760 | <limits.h> exists even on freestanding compilers. */ |
|
|
5761 | |
|
|
5762 | #ifdef __STDC__ |
|
|
5763 | # include <limits.h> |
|
|
5764 | #else |
|
|
5765 | # include <assert.h> |
|
|
5766 | #endif |
|
|
5767 | |
|
|
5768 | #undef $ac_func |
|
|
5769 | |
|
|
5770 | /* Override any GCC internal prototype to avoid an error. |
|
|
5771 | Use char because int might match the return type of a GCC |
|
|
5772 | builtin and then its argument prototype would still apply. */ |
|
|
5773 | #ifdef __cplusplus |
|
|
5774 | extern "C" |
|
|
5775 | #endif |
|
|
5776 | char $ac_func (); |
|
|
5777 | /* The GNU C library defines this for functions which it implements |
|
|
5778 | to always fail with ENOSYS. Some functions are actually named |
|
|
5779 | something starting with __ and the normal name is an alias. */ |
|
|
5780 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5781 | choke me |
|
|
5782 | #endif |
|
|
5783 | |
|
|
5784 | int |
|
|
5785 | main () |
|
|
5786 | { |
|
|
5787 | return $ac_func (); |
|
|
5788 | ; |
|
|
5789 | return 0; |
|
|
5790 | } |
|
|
5791 | _ACEOF |
|
|
5792 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5793 | if { (ac_try="$ac_link" |
|
|
5794 | case "(($ac_try" in |
|
|
5795 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5796 | *) ac_try_echo=$ac_try;; |
|
|
5797 | esac |
|
|
5798 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5799 | (eval "$ac_link") 2>conftest.er1 |
|
|
5800 | ac_status=$? |
|
|
5801 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5802 | rm -f conftest.er1 |
|
|
5803 | cat conftest.err >&5 |
|
|
5804 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5805 | (exit $ac_status); } && { |
|
|
5806 | test -z "$ac_cxx_werror_flag" || |
|
|
5807 | test ! -s conftest.err |
|
|
5808 | } && test -s conftest$ac_exeext && |
|
|
5809 | $as_test_x conftest$ac_exeext; then |
|
|
5810 | eval "$as_ac_var=yes" |
|
|
5811 | else |
|
|
5812 | echo "$as_me: failed program was:" >&5 |
|
|
5813 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5814 | |
|
|
5815 | eval "$as_ac_var=no" |
|
|
5816 | fi |
|
|
5817 | |
|
|
5818 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5819 | conftest$ac_exeext conftest.$ac_ext |
|
|
5820 | fi |
|
|
5821 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5822 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5823 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5824 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5825 | cat >>confdefs.h <<_ACEOF |
|
|
5826 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5827 | _ACEOF |
|
|
5828 | |
|
|
5829 | fi |
|
|
5830 | done |
|
|
5831 | |
|
|
5832 | fi |
|
|
5833 | |
|
|
5834 | fi |
|
|
5835 | |
|
|
5836 | |
|
|
5837 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5838 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5839 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5841 | else |
|
|
5842 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5843 | /* confdefs.h. */ |
|
|
5844 | _ACEOF |
|
|
5845 | cat confdefs.h >>conftest.$ac_ext |
|
|
5846 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5847 | /* end confdefs.h. */ |
|
|
5848 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5849 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5850 | #define nanosleep innocuous_nanosleep |
|
|
5851 | |
|
|
5852 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5853 | which can conflict with char nanosleep (); below. |
|
|
5854 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5855 | <limits.h> exists even on freestanding compilers. */ |
|
|
5856 | |
|
|
5857 | #ifdef __STDC__ |
|
|
5858 | # include <limits.h> |
|
|
5859 | #else |
|
|
5860 | # include <assert.h> |
|
|
5861 | #endif |
|
|
5862 | |
|
|
5863 | #undef nanosleep |
|
|
5864 | |
|
|
5865 | /* Override any GCC internal prototype to avoid an error. |
|
|
5866 | Use char because int might match the return type of a GCC |
|
|
5867 | builtin and then its argument prototype would still apply. */ |
|
|
5868 | #ifdef __cplusplus |
|
|
5869 | extern "C" |
|
|
5870 | #endif |
|
|
5871 | char nanosleep (); |
|
|
5872 | /* The GNU C library defines this for functions which it implements |
|
|
5873 | to always fail with ENOSYS. Some functions are actually named |
|
|
5874 | something starting with __ and the normal name is an alias. */ |
|
|
5875 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5876 | choke me |
|
|
5877 | #endif |
|
|
5878 | |
|
|
5879 | int |
|
|
5880 | main () |
|
|
5881 | { |
|
|
5882 | return nanosleep (); |
|
|
5883 | ; |
|
|
5884 | return 0; |
|
|
5885 | } |
|
|
5886 | _ACEOF |
|
|
5887 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5888 | if { (ac_try="$ac_link" |
|
|
5889 | case "(($ac_try" in |
|
|
5890 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5891 | *) ac_try_echo=$ac_try;; |
|
|
5892 | esac |
|
|
5893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5894 | (eval "$ac_link") 2>conftest.er1 |
|
|
5895 | ac_status=$? |
|
|
5896 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5897 | rm -f conftest.er1 |
|
|
5898 | cat conftest.err >&5 |
|
|
5899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5900 | (exit $ac_status); } && { |
|
|
5901 | test -z "$ac_cxx_werror_flag" || |
|
|
5902 | test ! -s conftest.err |
|
|
5903 | } && test -s conftest$ac_exeext && |
|
|
5904 | $as_test_x conftest$ac_exeext; then |
|
|
5905 | ac_cv_func_nanosleep=yes |
|
|
5906 | else |
|
|
5907 | echo "$as_me: failed program was:" >&5 |
|
|
5908 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5909 | |
|
|
5910 | ac_cv_func_nanosleep=no |
|
|
5911 | fi |
|
|
5912 | |
|
|
5913 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5914 | conftest$ac_exeext conftest.$ac_ext |
|
|
5915 | fi |
|
|
5916 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5917 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5918 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5919 | : |
|
|
5920 | else |
|
|
5921 | |
|
|
5922 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5923 | |
|
|
5924 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5925 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5926 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5928 | else |
|
|
5929 | ac_check_lib_save_LIBS=$LIBS |
|
|
5930 | LIBS="-lrt $LIBS" |
|
|
5931 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5932 | /* confdefs.h. */ |
|
|
5933 | _ACEOF |
|
|
5934 | cat confdefs.h >>conftest.$ac_ext |
|
|
5935 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5936 | /* end confdefs.h. */ |
|
|
5937 | |
|
|
5938 | /* Override any GCC internal prototype to avoid an error. |
|
|
5939 | Use char because int might match the return type of a GCC |
|
|
5940 | builtin and then its argument prototype would still apply. */ |
|
|
5941 | #ifdef __cplusplus |
|
|
5942 | extern "C" |
|
|
5943 | #endif |
|
|
5944 | char nanosleep (); |
|
|
5945 | int |
|
|
5946 | main () |
|
|
5947 | { |
|
|
5948 | return nanosleep (); |
|
|
5949 | ; |
|
|
5950 | return 0; |
|
|
5951 | } |
|
|
5952 | _ACEOF |
|
|
5953 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5954 | if { (ac_try="$ac_link" |
|
|
5955 | case "(($ac_try" in |
|
|
5956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5957 | *) ac_try_echo=$ac_try;; |
|
|
5958 | esac |
|
|
5959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5960 | (eval "$ac_link") 2>conftest.er1 |
|
|
5961 | ac_status=$? |
|
|
5962 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5963 | rm -f conftest.er1 |
|
|
5964 | cat conftest.err >&5 |
|
|
5965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5966 | (exit $ac_status); } && { |
|
|
5967 | test -z "$ac_cxx_werror_flag" || |
|
|
5968 | test ! -s conftest.err |
|
|
5969 | } && test -s conftest$ac_exeext && |
|
|
5970 | $as_test_x conftest$ac_exeext; then |
|
|
5971 | ac_cv_lib_rt_nanosleep=yes |
|
|
5972 | else |
|
|
5973 | echo "$as_me: failed program was:" >&5 |
|
|
5974 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5975 | |
|
|
5976 | ac_cv_lib_rt_nanosleep=no |
|
|
5977 | fi |
|
|
5978 | |
|
|
5979 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5980 | conftest$ac_exeext conftest.$ac_ext |
|
|
5981 | LIBS=$ac_check_lib_save_LIBS |
|
|
5982 | fi |
|
|
5983 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
5984 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
5985 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
5986 | cat >>confdefs.h <<_ACEOF |
|
|
5987 | #define HAVE_LIBRT 1 |
|
|
5988 | _ACEOF |
|
|
5989 | |
|
|
5990 | LIBS="-lrt $LIBS" |
|
|
5991 | |
|
|
5992 | fi |
|
|
5993 | |
|
|
5994 | unset ac_cv_func_nanosleep |
|
|
5995 | |
|
|
5996 | for ac_func in nanosleep |
|
|
5997 | do |
|
|
5998 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5999 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
6000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6001 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6003 | else |
|
|
6004 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6005 | /* confdefs.h. */ |
|
|
6006 | _ACEOF |
|
|
6007 | cat confdefs.h >>conftest.$ac_ext |
|
|
6008 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6009 | /* end confdefs.h. */ |
|
|
6010 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6011 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6012 | #define $ac_func innocuous_$ac_func |
|
|
6013 | |
|
|
6014 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6015 | which can conflict with char $ac_func (); below. |
|
|
6016 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6017 | <limits.h> exists even on freestanding compilers. */ |
|
|
6018 | |
|
|
6019 | #ifdef __STDC__ |
|
|
6020 | # include <limits.h> |
|
|
6021 | #else |
|
|
6022 | # include <assert.h> |
|
|
6023 | #endif |
|
|
6024 | |
|
|
6025 | #undef $ac_func |
|
|
6026 | |
|
|
6027 | /* Override any GCC internal prototype to avoid an error. |
|
|
6028 | Use char because int might match the return type of a GCC |
|
|
6029 | builtin and then its argument prototype would still apply. */ |
|
|
6030 | #ifdef __cplusplus |
|
|
6031 | extern "C" |
|
|
6032 | #endif |
|
|
6033 | char $ac_func (); |
|
|
6034 | /* The GNU C library defines this for functions which it implements |
|
|
6035 | to always fail with ENOSYS. Some functions are actually named |
|
|
6036 | something starting with __ and the normal name is an alias. */ |
|
|
6037 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6038 | choke me |
|
|
6039 | #endif |
|
|
6040 | |
|
|
6041 | int |
|
|
6042 | main () |
|
|
6043 | { |
|
|
6044 | return $ac_func (); |
|
|
6045 | ; |
|
|
6046 | return 0; |
|
|
6047 | } |
|
|
6048 | _ACEOF |
|
|
6049 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6050 | if { (ac_try="$ac_link" |
|
|
6051 | case "(($ac_try" in |
|
|
6052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6053 | *) ac_try_echo=$ac_try;; |
|
|
6054 | esac |
|
|
6055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6056 | (eval "$ac_link") 2>conftest.er1 |
|
|
6057 | ac_status=$? |
|
|
6058 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6059 | rm -f conftest.er1 |
|
|
6060 | cat conftest.err >&5 |
|
|
6061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6062 | (exit $ac_status); } && { |
|
|
6063 | test -z "$ac_cxx_werror_flag" || |
|
|
6064 | test ! -s conftest.err |
|
|
6065 | } && test -s conftest$ac_exeext && |
|
|
6066 | $as_test_x conftest$ac_exeext; then |
|
|
6067 | eval "$as_ac_var=yes" |
|
|
6068 | else |
|
|
6069 | echo "$as_me: failed program was:" >&5 |
|
|
6070 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6071 | |
|
|
6072 | eval "$as_ac_var=no" |
|
|
6073 | fi |
|
|
6074 | |
|
|
6075 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6076 | conftest$ac_exeext conftest.$ac_ext |
|
|
6077 | fi |
|
|
6078 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6079 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6080 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6081 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6082 | cat >>confdefs.h <<_ACEOF |
|
|
6083 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6084 | _ACEOF |
|
|
6085 | |
|
|
6086 | fi |
|
|
6087 | done |
|
|
6088 | |
|
|
6089 | fi |
|
|
6090 | |
|
|
6091 | fi |
|
|
6092 | |
|
|
6093 | |
|
|
6094 | |
|
|
6095 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
6096 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
6097 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
6098 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6099 | else |
|
|
6100 | ac_check_lib_save_LIBS=$LIBS |
|
|
6101 | LIBS="-lm $LIBS" |
|
|
6102 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6103 | /* confdefs.h. */ |
|
|
6104 | _ACEOF |
|
|
6105 | cat confdefs.h >>conftest.$ac_ext |
|
|
6106 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6107 | /* end confdefs.h. */ |
|
|
6108 | |
|
|
6109 | /* Override any GCC internal prototype to avoid an error. |
|
|
6110 | Use char because int might match the return type of a GCC |
|
|
6111 | builtin and then its argument prototype would still apply. */ |
|
|
6112 | #ifdef __cplusplus |
|
|
6113 | extern "C" |
|
|
6114 | #endif |
|
|
6115 | char ceil (); |
|
|
6116 | int |
|
|
6117 | main () |
|
|
6118 | { |
|
|
6119 | return ceil (); |
|
|
6120 | ; |
|
|
6121 | return 0; |
|
|
6122 | } |
|
|
6123 | _ACEOF |
|
|
6124 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6125 | if { (ac_try="$ac_link" |
|
|
6126 | case "(($ac_try" in |
|
|
6127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6128 | *) ac_try_echo=$ac_try;; |
|
|
6129 | esac |
|
|
6130 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6131 | (eval "$ac_link") 2>conftest.er1 |
|
|
6132 | ac_status=$? |
|
|
6133 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6134 | rm -f conftest.er1 |
|
|
6135 | cat conftest.err >&5 |
|
|
6136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6137 | (exit $ac_status); } && { |
|
|
6138 | test -z "$ac_cxx_werror_flag" || |
|
|
6139 | test ! -s conftest.err |
|
|
6140 | } && test -s conftest$ac_exeext && |
|
|
6141 | $as_test_x conftest$ac_exeext; then |
|
|
6142 | ac_cv_lib_m_ceil=yes |
|
|
6143 | else |
|
|
6144 | echo "$as_me: failed program was:" >&5 |
|
|
6145 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6146 | |
|
|
6147 | ac_cv_lib_m_ceil=no |
|
|
6148 | fi |
|
|
6149 | |
|
|
6150 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6151 | conftest$ac_exeext conftest.$ac_ext |
|
|
6152 | LIBS=$ac_check_lib_save_LIBS |
|
|
6153 | fi |
|
|
6154 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
6155 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
6156 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
6157 | cat >>confdefs.h <<_ACEOF |
|
|
6158 | #define HAVE_LIBM 1 |
|
|
6159 | _ACEOF |
|
|
6160 | |
|
|
6161 | LIBS="-lm $LIBS" |
|
|
6162 | |
|
|
6163 | fi |
|
|
6164 | |
|
|
6165 | |
|
|
6166 | |
|
|
6167 | |
4877 | |
6168 | |
4878 | |
6169 | |
4879 | |
6170 | |
4880 | # Extract the first word of "tic", so it can be a program name with args. |
6171 | # Extract the first word of "tic", so it can be a program name with args. |
4881 | set dummy tic; ac_word=$2 |
6172 | set dummy tic; ac_word=$2 |
… | |
… | |
4902 | fi |
6193 | fi |
4903 | done |
6194 | done |
4904 | done |
6195 | done |
4905 | IFS=$as_save_IFS |
6196 | IFS=$as_save_IFS |
4906 | |
6197 | |
|
|
6198 | test -z "$ac_cv_path_TIC" && ac_cv_path_TIC=":" |
4907 | ;; |
6199 | ;; |
4908 | esac |
6200 | esac |
4909 | fi |
6201 | fi |
4910 | TIC=$ac_cv_path_TIC |
6202 | TIC=$ac_cv_path_TIC |
4911 | if test -n "$TIC"; then |
6203 | if test -n "$TIC"; then |
… | |
… | |
4914 | else |
6206 | else |
4915 | { echo "$as_me:$LINENO: result: no" >&5 |
6207 | { echo "$as_me:$LINENO: result: no" >&5 |
4916 | echo "${ECHO_T}no" >&6; } |
6208 | echo "${ECHO_T}no" >&6; } |
4917 | fi |
6209 | fi |
4918 | |
6210 | |
4919 | |
|
|
4920 | |
|
|
4921 | |
|
|
4922 | |
|
|
4923 | ac_ext=cpp |
|
|
4924 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4925 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4926 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4927 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4928 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4929 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4930 | if test -z "$CXXCPP"; then |
|
|
4931 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4933 | else |
|
|
4934 | # Double quotes because CXXCPP needs to be expanded |
|
|
4935 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4936 | do |
|
|
4937 | ac_preproc_ok=false |
|
|
4938 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4939 | do |
|
|
4940 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4941 | # with a fresh cross-compiler works. |
|
|
4942 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4943 | # <limits.h> exists even on freestanding compilers. |
|
|
4944 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4945 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4946 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4947 | /* confdefs.h. */ |
|
|
4948 | _ACEOF |
|
|
4949 | cat confdefs.h >>conftest.$ac_ext |
|
|
4950 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4951 | /* end confdefs.h. */ |
|
|
4952 | #ifdef __STDC__ |
|
|
4953 | # include <limits.h> |
|
|
4954 | #else |
|
|
4955 | # include <assert.h> |
|
|
4956 | #endif |
|
|
4957 | Syntax error |
|
|
4958 | _ACEOF |
|
|
4959 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4960 | case "(($ac_try" in |
|
|
4961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4962 | *) ac_try_echo=$ac_try;; |
|
|
4963 | esac |
|
|
4964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4965 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4966 | ac_status=$? |
|
|
4967 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4968 | rm -f conftest.er1 |
|
|
4969 | cat conftest.err >&5 |
|
|
4970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4971 | (exit $ac_status); } >/dev/null && { |
|
|
4972 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4973 | test ! -s conftest.err |
|
|
4974 | }; then |
|
|
4975 | : |
|
|
4976 | else |
|
|
4977 | echo "$as_me: failed program was:" >&5 |
|
|
4978 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4979 | |
|
|
4980 | # Broken: fails on valid input. |
|
|
4981 | continue |
|
|
4982 | fi |
|
|
4983 | |
|
|
4984 | rm -f conftest.err conftest.$ac_ext |
|
|
4985 | |
|
|
4986 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4987 | # can be detected and how. |
|
|
4988 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4989 | /* confdefs.h. */ |
|
|
4990 | _ACEOF |
|
|
4991 | cat confdefs.h >>conftest.$ac_ext |
|
|
4992 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4993 | /* end confdefs.h. */ |
|
|
4994 | #include <ac_nonexistent.h> |
|
|
4995 | _ACEOF |
|
|
4996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4997 | case "(($ac_try" in |
|
|
4998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4999 | *) ac_try_echo=$ac_try;; |
|
|
5000 | esac |
|
|
5001 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5002 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5003 | ac_status=$? |
|
|
5004 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5005 | rm -f conftest.er1 |
|
|
5006 | cat conftest.err >&5 |
|
|
5007 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5008 | (exit $ac_status); } >/dev/null && { |
|
|
5009 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5010 | test ! -s conftest.err |
|
|
5011 | }; then |
|
|
5012 | # Broken: success on invalid input. |
|
|
5013 | continue |
|
|
5014 | else |
|
|
5015 | echo "$as_me: failed program was:" >&5 |
|
|
5016 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5017 | |
|
|
5018 | # Passes both tests. |
|
|
5019 | ac_preproc_ok=: |
|
|
5020 | break |
|
|
5021 | fi |
|
|
5022 | |
|
|
5023 | rm -f conftest.err conftest.$ac_ext |
|
|
5024 | |
|
|
5025 | done |
|
|
5026 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5027 | rm -f conftest.err conftest.$ac_ext |
|
|
5028 | if $ac_preproc_ok; then |
|
|
5029 | break |
|
|
5030 | fi |
|
|
5031 | |
|
|
5032 | done |
|
|
5033 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5034 | |
|
|
5035 | fi |
|
|
5036 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5037 | else |
|
|
5038 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5039 | fi |
|
|
5040 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5041 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5042 | ac_preproc_ok=false |
|
|
5043 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5044 | do |
|
|
5045 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5046 | # with a fresh cross-compiler works. |
|
|
5047 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5048 | # <limits.h> exists even on freestanding compilers. |
|
|
5049 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5050 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5051 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5052 | /* confdefs.h. */ |
|
|
5053 | _ACEOF |
|
|
5054 | cat confdefs.h >>conftest.$ac_ext |
|
|
5055 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5056 | /* end confdefs.h. */ |
|
|
5057 | #ifdef __STDC__ |
|
|
5058 | # include <limits.h> |
|
|
5059 | #else |
|
|
5060 | # include <assert.h> |
|
|
5061 | #endif |
|
|
5062 | Syntax error |
|
|
5063 | _ACEOF |
|
|
5064 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5065 | case "(($ac_try" in |
|
|
5066 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5067 | *) ac_try_echo=$ac_try;; |
|
|
5068 | esac |
|
|
5069 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5070 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5071 | ac_status=$? |
|
|
5072 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5073 | rm -f conftest.er1 |
|
|
5074 | cat conftest.err >&5 |
|
|
5075 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5076 | (exit $ac_status); } >/dev/null && { |
|
|
5077 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5078 | test ! -s conftest.err |
|
|
5079 | }; then |
|
|
5080 | : |
|
|
5081 | else |
|
|
5082 | echo "$as_me: failed program was:" >&5 |
|
|
5083 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5084 | |
|
|
5085 | # Broken: fails on valid input. |
|
|
5086 | continue |
|
|
5087 | fi |
|
|
5088 | |
|
|
5089 | rm -f conftest.err conftest.$ac_ext |
|
|
5090 | |
|
|
5091 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5092 | # can be detected and how. |
|
|
5093 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5094 | /* confdefs.h. */ |
|
|
5095 | _ACEOF |
|
|
5096 | cat confdefs.h >>conftest.$ac_ext |
|
|
5097 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5098 | /* end confdefs.h. */ |
|
|
5099 | #include <ac_nonexistent.h> |
|
|
5100 | _ACEOF |
|
|
5101 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5102 | case "(($ac_try" in |
|
|
5103 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5104 | *) ac_try_echo=$ac_try;; |
|
|
5105 | esac |
|
|
5106 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5107 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5108 | ac_status=$? |
|
|
5109 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5110 | rm -f conftest.er1 |
|
|
5111 | cat conftest.err >&5 |
|
|
5112 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5113 | (exit $ac_status); } >/dev/null && { |
|
|
5114 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5115 | test ! -s conftest.err |
|
|
5116 | }; then |
|
|
5117 | # Broken: success on invalid input. |
|
|
5118 | continue |
|
|
5119 | else |
|
|
5120 | echo "$as_me: failed program was:" >&5 |
|
|
5121 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5122 | |
|
|
5123 | # Passes both tests. |
|
|
5124 | ac_preproc_ok=: |
|
|
5125 | break |
|
|
5126 | fi |
|
|
5127 | |
|
|
5128 | rm -f conftest.err conftest.$ac_ext |
|
|
5129 | |
|
|
5130 | done |
|
|
5131 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5132 | rm -f conftest.err conftest.$ac_ext |
|
|
5133 | if $ac_preproc_ok; then |
|
|
5134 | : |
|
|
5135 | else |
|
|
5136 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5137 | See \`config.log' for more details." >&5 |
|
|
5138 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5139 | See \`config.log' for more details." >&2;} |
|
|
5140 | { (exit 1); exit 1; }; } |
|
|
5141 | fi |
|
|
5142 | |
|
|
5143 | ac_ext=cpp |
|
|
5144 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5145 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5146 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5147 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5148 | |
6211 | |
5149 | |
6212 | |
5150 | { echo "$as_me:$LINENO: checking for X" >&5 |
6213 | { echo "$as_me:$LINENO: checking for X" >&5 |
5151 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
6214 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5152 | |
6215 | |
… | |
… | |
6460 | LDFLAGS=$ac_save_LDFLAGS |
7523 | LDFLAGS=$ac_save_LDFLAGS |
6461 | |
7524 | |
6462 | fi |
7525 | fi |
6463 | |
7526 | |
6464 | |
7527 | |
6465 | |
|
|
6466 | LIBAFTERIMAGE_CFLAGS= |
7528 | AFTERIMAGE_CFLAGS= |
6467 | AFTERIMAGE_LIBS= |
7529 | AFTERIMAGE_LIBS= |
6468 | have_afterimage= |
7530 | AFTERIMAGE_VERSION= |
6469 | |
7531 | |
6470 | if test x$support_afterimage = xyes; then |
7532 | if test x$support_afterimage = xyes; then |
6471 | support_afterimage=no |
7533 | support_afterimage=no |
6472 | |
7534 | |
6473 | if test "x$afterimage_config" = "x" ; then |
7535 | if test "x$afterimage_config" = "x" ; then |
… | |
… | |
6511 | echo "${ECHO_T}no" >&6; } |
7573 | echo "${ECHO_T}no" >&6; } |
6512 | fi |
7574 | fi |
6513 | |
7575 | |
6514 | |
7576 | |
6515 | fi |
7577 | fi |
6516 | |
7578 | if test "x$afterimage_config" != "xno" ; then |
6517 | { echo "$as_me:$LINENO: checking for libAfterImage" >&5 |
7579 | { echo "$as_me:$LINENO: checking for libAfterImage version >= 1.15" >&5 |
6518 | echo $ECHO_N "checking for libAfterImage... $ECHO_C" >&6; } |
7580 | echo $ECHO_N "checking for libAfterImage version >= 1.15... $ECHO_C" >&6; } |
6519 | if $afterimage_config --version >/dev/null 2>&1 ; then |
7581 | xAFTERIMAGE_VERSION=`$afterimage_config --version` |
|
|
7582 | if test -n "$xAFTERIMAGE_VERSION" ; then |
6520 | LIBAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
7583 | xAFTERIMAGE_CFLAGS=`$afterimage_config --cflags` |
6521 | AFTERIMAGE_LIBS=`$afterimage_config --libs` |
7584 | xAFTERIMAGE_LIBS=`$afterimage_config --libs` |
6522 | if test "x$AFTERIMAGE_LIBS" != "x"; then |
7585 | if test "x$xAFTERIMAGE_LIBS" != "x"; then |
|
|
7586 | libai_ver_major=`echo $xAFTERIMAGE_VERSION | cut -f 1 -d .` |
|
|
7587 | libai_ver_minor=`echo $xAFTERIMAGE_VERSION | cut -f 2 -d .` |
|
|
7588 | if test $libai_ver_major -gt 1 -o \( $libai_ver_major -eq 1 -a $libai_ver_minor -ge 15 \); then |
6523 | support_afterimage=yes |
7589 | support_afterimage=yes |
6524 | fi |
7590 | AFTERIMAGE_CFLAGS="$xAFTERIMAGE_CFLAGS" |
6525 | fi |
7591 | AFTERIMAGE_LIBS="$xAFTERIMAGE_LIBS" |
6526 | |
7592 | AFTERIMAGE_VERSION="$xAFTERIMAGE_VERSION" |
6527 | if test "x$support_afterimage" = "xyes"; then |
|
|
6528 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
6529 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
6530 | else |
|
|
6531 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
6532 | echo "${ECHO_T}no" >&6; } |
|
|
6533 | fi |
|
|
6534 | fi |
|
|
6535 | |
|
|
6536 | if test x$support_afterimage != xyes -a x$support_xpm = xyes ; then |
|
|
6537 | |
|
|
6538 | |
|
|
6539 | |
|
|
6540 | # Initialize some more variables set by options. |
|
|
6541 | # The variables have the same names as the options, with |
|
|
6542 | # dashes changed to underlines. |
|
|
6543 | |
|
|
6544 | # If we find XPM, set shell vars xpm_includes and xpm_libraries to the |
|
|
6545 | # paths, otherwise set no_xpm=yes. |
|
|
6546 | # Uses ac_ vars as temps to allow command line to override cache and checks. |
|
|
6547 | { echo "$as_me:$LINENO: checking for libXpm" >&5 |
|
|
6548 | echo $ECHO_N "checking for libXpm... $ECHO_C" >&6; } |
|
|
6549 | |
|
|
6550 | |
|
|
6551 | # Check whether --with-xpm_includes was given. |
|
|
6552 | if test "${with_xpm_includes+set}" = set; then |
|
|
6553 | withval=$with_xpm_includes; xpm_includes="$withval" |
|
|
6554 | else |
|
|
6555 | xpm_includes=NO |
|
|
6556 | fi |
|
|
6557 | |
|
|
6558 | |
|
|
6559 | # Check whether --with-xpm_library was given. |
|
|
6560 | if test "${with_xpm_library+set}" = set; then |
|
|
6561 | withval=$with_xpm_library; xpm_libraries="$withval" |
|
|
6562 | else |
|
|
6563 | xpm_libraries=NO |
|
|
6564 | fi |
|
|
6565 | |
|
|
6566 | |
|
|
6567 | # --without-xpm overrides everything else, but does not touch the cache. |
|
|
6568 | |
|
|
6569 | # Check whether --with-xpm was given. |
|
|
6570 | if test "${with_xpm+set}" = set; then |
|
|
6571 | withval=$with_xpm; |
|
|
6572 | fi |
|
|
6573 | |
|
|
6574 | if test "$with_xpm" = no; then |
|
|
6575 | have_xpm=disabled |
|
|
6576 | else |
|
|
6577 | if test "${ac_cv_have_xpm+set}" = set; then |
|
|
6578 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6579 | else |
|
|
6580 | |
|
|
6581 | vt_xpm_include_X11=no |
|
|
6582 | if test -n "$xpm_includes"; then |
|
|
6583 | vt_xpm_includes=$xpm_includes |
|
|
6584 | else |
|
|
6585 | vt_xpm_includes=NO |
|
|
6586 | fi |
|
|
6587 | if test -n "$xpm_libraries"; then |
|
|
6588 | vt_xpm_libraries=$xpm_libraries |
|
|
6589 | else |
|
|
6590 | vt_xpm_libraries=NO |
|
|
6591 | fi |
|
|
6592 | |
|
|
6593 | if test "$vt_xpm_includes" = NO; then |
|
|
6594 | # Guess where to find xpm.h |
|
|
6595 | |
|
|
6596 | ac_save_CPPFLAGS="$CPPFLAGS" |
|
|
6597 | CPPFLAGS="$CPPFLAGS $X_CFLAGS" |
|
|
6598 | |
|
|
6599 | # First, try using that file with no special directory specified. |
|
|
6600 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6601 | /* confdefs.h. */ |
|
|
6602 | _ACEOF |
|
|
6603 | cat confdefs.h >>conftest.$ac_ext |
|
|
6604 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6605 | /* end confdefs.h. */ |
|
|
6606 | #include <X11/xpm.h> |
|
|
6607 | _ACEOF |
|
|
6608 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6609 | case "(($ac_try" in |
|
|
6610 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6611 | *) ac_try_echo=$ac_try;; |
|
|
6612 | esac |
|
|
6613 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6614 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6615 | ac_status=$? |
|
|
6616 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6617 | rm -f conftest.er1 |
|
|
6618 | cat conftest.err >&5 |
|
|
6619 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6620 | (exit $ac_status); } >/dev/null && { |
|
|
6621 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6622 | test ! -s conftest.err |
|
|
6623 | }; then |
|
|
6624 | # We can compile using X headers with no special include directory. |
|
|
6625 | vt_xpm_includes= |
|
|
6626 | vt_xpm_include_X11=yes |
|
|
6627 | else |
|
|
6628 | echo "$as_me: failed program was:" >&5 |
|
|
6629 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6630 | |
|
|
6631 | CPPFLAGS="$ac_save_CPPFLAGS" |
|
|
6632 | # Look for the header file in a standard set of common directories. |
|
|
6633 | for ac_dir in \ |
|
|
6634 | /usr/X11/include \ |
|
|
6635 | /usr/X11R6/include \ |
|
|
6636 | /usr/X11R5/include \ |
|
|
6637 | /usr/X11R4/include \ |
|
|
6638 | \ |
|
|
6639 | /usr/include/X11 \ |
|
|
6640 | /usr/include/X11R6 \ |
|
|
6641 | /usr/include/X11R5 \ |
|
|
6642 | /usr/include/X11R4 \ |
|
|
6643 | \ |
|
|
6644 | /usr/local/X11/include \ |
|
|
6645 | /usr/local/X11R6/include \ |
|
|
6646 | /usr/local/X11R5/include \ |
|
|
6647 | /usr/local/X11R4/include \ |
|
|
6648 | \ |
|
|
6649 | /usr/local/include/X11 \ |
|
|
6650 | /usr/local/include/X11R6 \ |
|
|
6651 | /usr/local/include/X11R5 \ |
|
|
6652 | /usr/local/include/X11R4 \ |
|
|
6653 | \ |
|
|
6654 | /usr/X386/include \ |
|
|
6655 | /usr/x386/include \ |
|
|
6656 | /usr/XFree86/include/X11 \ |
|
|
6657 | \ |
|
|
6658 | /usr/include \ |
|
|
6659 | /usr/local/include \ |
|
|
6660 | /usr/unsupported/include \ |
|
|
6661 | /usr/athena/include \ |
|
|
6662 | /usr/local/x11r5/include \ |
|
|
6663 | /usr/lpp/Xamples/include \ |
|
|
6664 | \ |
|
|
6665 | /usr/openwin/include \ |
|
|
6666 | /usr/openwin/share/include \ |
|
|
6667 | ; \ |
|
|
6668 | do |
|
|
6669 | if test -r "$ac_dir/X11/xpm.h"; then |
|
|
6670 | vt_xpm_includes="$ac_dir" |
|
|
6671 | vt_xpm_include_X11=yes |
|
|
6672 | break |
|
|
6673 | else |
|
|
6674 | if test -r "$ac_dir/xpm.h"; then |
|
|
6675 | vt_xpm_includes=$ac_dir |
|
|
6676 | break |
|
|
6677 | fi |
|
|
6678 | fi |
|
|
6679 | done |
|
|
6680 | fi |
|
|
6681 | |
|
|
6682 | rm -f conftest.err conftest.$ac_ext |
|
|
6683 | fi |
|
|
6684 | |
|
|
6685 | if test "$vt_xpm_libraries" = NO; then |
|
|
6686 | # Check for the libraries. |
|
|
6687 | |
|
|
6688 | # See if we find them without any special options. |
|
|
6689 | # Don't add to $LIBS permanently. |
|
|
6690 | ac_save_LIBS="$LIBS" |
|
|
6691 | LIBS="$LIBS $X_LIBS -lXpm -lX11" |
|
|
6692 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6693 | /* confdefs.h. */ |
|
|
6694 | _ACEOF |
|
|
6695 | cat confdefs.h >>conftest.$ac_ext |
|
|
6696 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6697 | /* end confdefs.h. */ |
|
|
6698 | |
|
|
6699 | int |
|
|
6700 | main () |
|
|
6701 | { |
|
|
6702 | XpmReadFileToPixmap() |
|
|
6703 | ; |
|
|
6704 | return 0; |
|
|
6705 | } |
|
|
6706 | _ACEOF |
|
|
6707 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6708 | if { (ac_try="$ac_link" |
|
|
6709 | case "(($ac_try" in |
|
|
6710 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6711 | *) ac_try_echo=$ac_try;; |
|
|
6712 | esac |
|
|
6713 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6714 | (eval "$ac_link") 2>conftest.er1 |
|
|
6715 | ac_status=$? |
|
|
6716 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6717 | rm -f conftest.er1 |
|
|
6718 | cat conftest.err >&5 |
|
|
6719 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6720 | (exit $ac_status); } && { |
|
|
6721 | test -z "$ac_cxx_werror_flag" || |
|
|
6722 | test ! -s conftest.err |
|
|
6723 | } && test -s conftest$ac_exeext && |
|
|
6724 | $as_test_x conftest$ac_exeext; then |
|
|
6725 | LIBS="$ac_save_LIBS" |
|
|
6726 | # We can link libXpm with no special library path. |
|
|
6727 | vt_xpm_libraries= |
|
|
6728 | else |
|
|
6729 | echo "$as_me: failed program was:" >&5 |
|
|
6730 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6731 | |
|
|
6732 | LIBS="$ac_save_LIBS" |
|
|
6733 | # First see if replacing the include by lib works. |
|
|
6734 | for ac_dir in \ |
|
|
6735 | `echo "$vt_xpm_includes" | sed 's,include/X11,lib,;s,include,lib,'` \ |
|
|
6736 | /usr/X11/lib \ |
|
|
6737 | /usr/X11R6/lib \ |
|
|
6738 | /usr/X11R5/lib \ |
|
|
6739 | /usr/X11R4/lib \ |
|
|
6740 | \ |
|
|
6741 | /usr/lib/X11 \ |
|
|
6742 | /usr/lib/X11R6 \ |
|
|
6743 | /usr/lib/X11R5 \ |
|
|
6744 | /usr/lib/X11R4 \ |
|
|
6745 | \ |
|
|
6746 | /usr/local/X11/lib \ |
|
|
6747 | /usr/local/X11R6/lib \ |
|
|
6748 | /usr/local/X11R5/lib \ |
|
|
6749 | /usr/local/X11R4/lib \ |
|
|
6750 | \ |
|
|
6751 | /usr/local/lib/X11 \ |
|
|
6752 | /usr/local/lib/X11R6 \ |
|
|
6753 | /usr/local/lib/X11R5 \ |
|
|
6754 | /usr/local/lib/X11R4 \ |
|
|
6755 | \ |
|
|
6756 | /usr/X386/lib \ |
|
|
6757 | /usr/x386/lib \ |
|
|
6758 | /usr/XFree86/lib/X11 \ |
|
|
6759 | \ |
|
|
6760 | /usr/lib \ |
|
|
6761 | /usr/local/lib \ |
|
|
6762 | /usr/unsupported/lib \ |
|
|
6763 | /usr/athena/lib \ |
|
|
6764 | /usr/local/x11r5/lib \ |
|
|
6765 | /usr/lpp/Xamples/lib \ |
|
|
6766 | \ |
|
|
6767 | /usr/openwin/lib \ |
|
|
6768 | /usr/openwin/share/lib \ |
|
|
6769 | ; \ |
|
|
6770 | do |
|
|
6771 | for ac_extension in a so sl; do |
|
|
6772 | if test -r $ac_dir/libXpm.$ac_extension; then |
|
|
6773 | vt_xpm_libraries=$ac_dir |
|
|
6774 | break 2 |
|
|
6775 | fi |
|
|
6776 | done |
|
|
6777 | done |
|
|
6778 | fi |
|
|
6779 | |
|
|
6780 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6781 | conftest$ac_exeext conftest.$ac_ext |
|
|
6782 | fi |
|
|
6783 | |
|
|
6784 | |
|
|
6785 | if test "$vt_xpm_includes" = NO -o "$vt_xpm_libraries" = NO; then |
|
|
6786 | ac_cv_have_xpm="have_xpm=no" |
|
|
6787 | else |
|
|
6788 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6789 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6790 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6791 | fi |
|
|
6792 | fi |
|
|
6793 | eval "$ac_cv_have_xpm" |
|
|
6794 | fi |
|
|
6795 | |
|
|
6796 | if test "$have_xpm" != yes; then |
|
|
6797 | { echo "$as_me:$LINENO: result: $have_xpm" >&5 |
|
|
6798 | echo "${ECHO_T}$have_xpm" >&6; } |
|
|
6799 | no_xpm=yes |
|
|
6800 | else |
|
|
6801 | if test "$xpm_includes" != NO; then |
|
|
6802 | if test "$xpm_includes" = "$vt_xpm_includes"; then |
|
|
6803 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6804 | vt_xpm_include_X11=yes |
|
|
6805 | fi |
|
|
6806 | else |
|
|
6807 | vt_xpm_include_X11=no |
|
|
6808 | if test -z "$xpm_includes"; then |
|
|
6809 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6810 | /* confdefs.h. */ |
|
|
6811 | _ACEOF |
|
|
6812 | cat confdefs.h >>conftest.$ac_ext |
|
|
6813 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6814 | /* end confdefs.h. */ |
|
|
6815 | #include <X11/xpm.h> |
|
|
6816 | _ACEOF |
|
|
6817 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
6818 | case "(($ac_try" in |
|
|
6819 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6820 | *) ac_try_echo=$ac_try;; |
|
|
6821 | esac |
|
|
6822 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6823 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
6824 | ac_status=$? |
|
|
6825 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6826 | rm -f conftest.er1 |
|
|
6827 | cat conftest.err >&5 |
|
|
6828 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6829 | (exit $ac_status); } >/dev/null && { |
|
|
6830 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
6831 | test ! -s conftest.err |
|
|
6832 | }; then |
|
|
6833 | vt_xpm_include_X11=yes |
|
|
6834 | else |
|
|
6835 | echo "$as_me: failed program was:" >&5 |
|
|
6836 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6837 | |
|
|
6838 | |
|
|
6839 | fi |
|
|
6840 | |
|
|
6841 | rm -f conftest.err conftest.$ac_ext |
|
|
6842 | else |
|
|
6843 | if test -r "$xpm_includes/X11/xpm.h"; then |
|
|
6844 | vt_xpm_include_X11=yes |
|
|
6845 | fi |
7593 | fi |
6846 | fi |
7594 | fi |
6847 | fi |
7595 | fi |
6848 | vt_xpm_includes=$xpm_includes |
7596 | if test "x$support_afterimage" = "xyes"; then |
|
|
7597 | { echo "$as_me:$LINENO: result: $AFTERIMAGE_LIBS" >&5 |
|
|
7598 | echo "${ECHO_T}$AFTERIMAGE_LIBS" >&6; } |
|
|
7599 | else |
|
|
7600 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
7601 | echo "${ECHO_T}no" >&6; } |
|
|
7602 | fi |
6849 | fi |
7603 | fi |
6850 | if test "x$xpm_libraries" != xNO; then |
|
|
6851 | vt_xpm_libraries=$xpm_libraries |
|
|
6852 | fi |
|
|
6853 | # Update the cache value to reflect the command line values. |
|
|
6854 | ac_cv_have_xpm="have_xpm=yes \ |
|
|
6855 | vt_xpm_includes=$vt_xpm_includes vt_xpm_libraries=$vt_xpm_libraries \ |
|
|
6856 | vt_xpm_include_X11=$vt_xpm_include_X11" |
|
|
6857 | eval "$ac_cv_have_xpm" |
|
|
6858 | { echo "$as_me:$LINENO: result: -I$vt_xpm_includes, -L$vt_xpm_libraries" >&5 |
|
|
6859 | echo "${ECHO_T}-I$vt_xpm_includes, -L$vt_xpm_libraries" >&6; } |
|
|
6860 | if test -n "$vt_xpm_includes"; then |
|
|
6861 | XPM_CPPFLAGS="-DHAVE_LIBXPM" |
|
|
6862 | fi |
|
|
6863 | if test -n "$vt_xpm_includes"; then |
|
|
6864 | XPM_CFLAGS="-I$vt_xpm_includes" |
|
|
6865 | fi |
|
|
6866 | XPM_LIBS="-lXpm" |
|
|
6867 | if test -n "$vt_xpm_libraries"; then |
|
|
6868 | XPM_LIBS="-L$vt_xpm_libraries $XPM_LIBS" |
|
|
6869 | fi |
|
|
6870 | if test "x$vt_xpm_include_X11" = xyes; then |
|
|
6871 | |
|
|
6872 | cat >>confdefs.h <<\_ACEOF |
|
|
6873 | #define XPM_INC_X11 1 |
|
|
6874 | _ACEOF |
|
|
6875 | |
|
|
6876 | fi |
|
|
6877 | fi |
7604 | fi |
6878 | |
|
|
6879 | |
|
|
6880 | |
|
|
6881 | |
|
|
6882 | |
|
|
6883 | if test x$no_xpm = xyes; then |
|
|
6884 | support_xpm=needsmanualspecification |
|
|
6885 | fi |
|
|
6886 | fi |
|
|
6887 | |
|
|
6888 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|
|
6889 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
|
|
6890 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|
|
6891 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6892 | else |
|
|
6893 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6894 | /* confdefs.h. */ |
|
|
6895 | _ACEOF |
|
|
6896 | cat confdefs.h >>conftest.$ac_ext |
|
|
6897 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6898 | /* end confdefs.h. */ |
|
|
6899 | #include <sys/types.h> |
|
|
6900 | #include <sys/wait.h> |
|
|
6901 | #ifndef WEXITSTATUS |
|
|
6902 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|
|
6903 | #endif |
|
|
6904 | #ifndef WIFEXITED |
|
|
6905 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
|
6906 | #endif |
|
|
6907 | |
|
|
6908 | int |
|
|
6909 | main () |
|
|
6910 | { |
|
|
6911 | int s; |
|
|
6912 | wait (&s); |
|
|
6913 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
6914 | ; |
|
|
6915 | return 0; |
|
|
6916 | } |
|
|
6917 | _ACEOF |
|
|
6918 | rm -f conftest.$ac_objext |
|
|
6919 | if { (ac_try="$ac_compile" |
|
|
6920 | case "(($ac_try" in |
|
|
6921 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6922 | *) ac_try_echo=$ac_try;; |
|
|
6923 | esac |
|
|
6924 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6925 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6926 | ac_status=$? |
|
|
6927 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6928 | rm -f conftest.er1 |
|
|
6929 | cat conftest.err >&5 |
|
|
6930 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6931 | (exit $ac_status); } && { |
|
|
6932 | test -z "$ac_cxx_werror_flag" || |
|
|
6933 | test ! -s conftest.err |
|
|
6934 | } && test -s conftest.$ac_objext; then |
|
|
6935 | ac_cv_header_sys_wait_h=yes |
|
|
6936 | else |
|
|
6937 | echo "$as_me: failed program was:" >&5 |
|
|
6938 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6939 | |
|
|
6940 | ac_cv_header_sys_wait_h=no |
|
|
6941 | fi |
|
|
6942 | |
|
|
6943 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6944 | fi |
|
|
6945 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|
|
6946 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|
|
6947 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
6948 | |
|
|
6949 | cat >>confdefs.h <<\_ACEOF |
|
|
6950 | #define HAVE_SYS_WAIT_H 1 |
|
|
6951 | _ACEOF |
|
|
6952 | |
|
|
6953 | fi |
|
|
6954 | |
|
|
6955 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6956 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
6957 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6958 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6959 | else |
|
|
6960 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6961 | /* confdefs.h. */ |
|
|
6962 | _ACEOF |
|
|
6963 | cat confdefs.h >>conftest.$ac_ext |
|
|
6964 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6965 | /* end confdefs.h. */ |
|
|
6966 | #include <stdlib.h> |
|
|
6967 | #include <stdarg.h> |
|
|
6968 | #include <string.h> |
|
|
6969 | #include <float.h> |
|
|
6970 | |
|
|
6971 | int |
|
|
6972 | main () |
|
|
6973 | { |
|
|
6974 | |
|
|
6975 | ; |
|
|
6976 | return 0; |
|
|
6977 | } |
|
|
6978 | _ACEOF |
|
|
6979 | rm -f conftest.$ac_objext |
|
|
6980 | if { (ac_try="$ac_compile" |
|
|
6981 | case "(($ac_try" in |
|
|
6982 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6983 | *) ac_try_echo=$ac_try;; |
|
|
6984 | esac |
|
|
6985 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6986 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6987 | ac_status=$? |
|
|
6988 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6989 | rm -f conftest.er1 |
|
|
6990 | cat conftest.err >&5 |
|
|
6991 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6992 | (exit $ac_status); } && { |
|
|
6993 | test -z "$ac_cxx_werror_flag" || |
|
|
6994 | test ! -s conftest.err |
|
|
6995 | } && test -s conftest.$ac_objext; then |
|
|
6996 | ac_cv_header_stdc=yes |
|
|
6997 | else |
|
|
6998 | echo "$as_me: failed program was:" >&5 |
|
|
6999 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7000 | |
|
|
7001 | ac_cv_header_stdc=no |
|
|
7002 | fi |
|
|
7003 | |
|
|
7004 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7005 | |
|
|
7006 | if test $ac_cv_header_stdc = yes; then |
|
|
7007 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
7008 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7009 | /* confdefs.h. */ |
|
|
7010 | _ACEOF |
|
|
7011 | cat confdefs.h >>conftest.$ac_ext |
|
|
7012 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7013 | /* end confdefs.h. */ |
|
|
7014 | #include <string.h> |
|
|
7015 | |
|
|
7016 | _ACEOF |
|
|
7017 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7018 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
7019 | : |
|
|
7020 | else |
|
|
7021 | ac_cv_header_stdc=no |
|
|
7022 | fi |
|
|
7023 | rm -f conftest* |
|
|
7024 | |
|
|
7025 | fi |
|
|
7026 | |
|
|
7027 | if test $ac_cv_header_stdc = yes; then |
|
|
7028 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
7029 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7030 | /* confdefs.h. */ |
|
|
7031 | _ACEOF |
|
|
7032 | cat confdefs.h >>conftest.$ac_ext |
|
|
7033 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7034 | /* end confdefs.h. */ |
|
|
7035 | #include <stdlib.h> |
|
|
7036 | |
|
|
7037 | _ACEOF |
|
|
7038 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
7039 | $EGREP "free" >/dev/null 2>&1; then |
|
|
7040 | : |
|
|
7041 | else |
|
|
7042 | ac_cv_header_stdc=no |
|
|
7043 | fi |
|
|
7044 | rm -f conftest* |
|
|
7045 | |
|
|
7046 | fi |
|
|
7047 | |
|
|
7048 | if test $ac_cv_header_stdc = yes; then |
|
|
7049 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
7050 | if test "$cross_compiling" = yes; then |
|
|
7051 | : |
|
|
7052 | else |
|
|
7053 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7054 | /* confdefs.h. */ |
|
|
7055 | _ACEOF |
|
|
7056 | cat confdefs.h >>conftest.$ac_ext |
|
|
7057 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7058 | /* end confdefs.h. */ |
|
|
7059 | #include <ctype.h> |
|
|
7060 | #include <stdlib.h> |
|
|
7061 | #if ((' ' & 0x0FF) == 0x020) |
|
|
7062 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
7063 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
7064 | #else |
|
|
7065 | # define ISLOWER(c) \ |
|
|
7066 | (('a' <= (c) && (c) <= 'i') \ |
|
|
7067 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
7068 | || ('s' <= (c) && (c) <= 'z')) |
|
|
7069 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
7070 | #endif |
|
|
7071 | |
|
|
7072 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
7073 | int |
|
|
7074 | main () |
|
|
7075 | { |
|
|
7076 | int i; |
|
|
7077 | for (i = 0; i < 256; i++) |
|
|
7078 | if (XOR (islower (i), ISLOWER (i)) |
|
|
7079 | || toupper (i) != TOUPPER (i)) |
|
|
7080 | return 2; |
|
|
7081 | return 0; |
|
|
7082 | } |
|
|
7083 | _ACEOF |
|
|
7084 | rm -f conftest$ac_exeext |
|
|
7085 | if { (ac_try="$ac_link" |
|
|
7086 | case "(($ac_try" in |
|
|
7087 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7088 | *) ac_try_echo=$ac_try;; |
|
|
7089 | esac |
|
|
7090 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7091 | (eval "$ac_link") 2>&5 |
|
|
7092 | ac_status=$? |
|
|
7093 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7094 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7095 | { (case "(($ac_try" in |
|
|
7096 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7097 | *) ac_try_echo=$ac_try;; |
|
|
7098 | esac |
|
|
7099 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7100 | (eval "$ac_try") 2>&5 |
|
|
7101 | ac_status=$? |
|
|
7102 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7103 | (exit $ac_status); }; }; then |
|
|
7104 | : |
|
|
7105 | else |
|
|
7106 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7107 | echo "$as_me: failed program was:" >&5 |
|
|
7108 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7109 | |
|
|
7110 | ( exit $ac_status ) |
|
|
7111 | ac_cv_header_stdc=no |
|
|
7112 | fi |
|
|
7113 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7114 | fi |
|
|
7115 | |
|
|
7116 | |
|
|
7117 | fi |
|
|
7118 | fi |
|
|
7119 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
7120 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
7121 | if test $ac_cv_header_stdc = yes; then |
|
|
7122 | |
|
|
7123 | cat >>confdefs.h <<\_ACEOF |
|
|
7124 | #define STDC_HEADERS 1 |
|
|
7125 | _ACEOF |
|
|
7126 | |
|
|
7127 | fi |
|
|
7128 | |
|
|
7129 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
7130 | |
|
|
7131 | |
|
|
7132 | |
|
|
7133 | |
|
|
7134 | |
|
|
7135 | |
|
|
7136 | |
|
|
7137 | |
|
|
7138 | |
|
|
7139 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
7140 | inttypes.h stdint.h unistd.h |
|
|
7141 | do |
|
|
7142 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
7143 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
7144 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
7145 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
7146 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7147 | else |
|
|
7148 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7149 | /* confdefs.h. */ |
|
|
7150 | _ACEOF |
|
|
7151 | cat confdefs.h >>conftest.$ac_ext |
|
|
7152 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7153 | /* end confdefs.h. */ |
|
|
7154 | $ac_includes_default |
|
|
7155 | |
|
|
7156 | #include <$ac_header> |
|
|
7157 | _ACEOF |
|
|
7158 | rm -f conftest.$ac_objext |
|
|
7159 | if { (ac_try="$ac_compile" |
|
|
7160 | case "(($ac_try" in |
|
|
7161 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7162 | *) ac_try_echo=$ac_try;; |
|
|
7163 | esac |
|
|
7164 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7165 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7166 | ac_status=$? |
|
|
7167 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7168 | rm -f conftest.er1 |
|
|
7169 | cat conftest.err >&5 |
|
|
7170 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7171 | (exit $ac_status); } && { |
|
|
7172 | test -z "$ac_cxx_werror_flag" || |
|
|
7173 | test ! -s conftest.err |
|
|
7174 | } && test -s conftest.$ac_objext; then |
|
|
7175 | eval "$as_ac_Header=yes" |
|
|
7176 | else |
|
|
7177 | echo "$as_me: failed program was:" >&5 |
|
|
7178 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7179 | |
|
|
7180 | eval "$as_ac_Header=no" |
|
|
7181 | fi |
|
|
7182 | |
|
|
7183 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7184 | fi |
|
|
7185 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
7186 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
7187 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
7188 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
7189 | cat >>confdefs.h <<_ACEOF |
|
|
7190 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
7191 | _ACEOF |
|
|
7192 | |
|
|
7193 | fi |
|
|
7194 | |
|
|
7195 | done |
|
|
7196 | |
|
|
7197 | |
|
|
7198 | |
|
|
7199 | |
|
|
7200 | |
|
|
7201 | |
|
|
7202 | |
|
|
7203 | |
|
|
7204 | |
|
|
7205 | |
|
|
7206 | |
|
|
7207 | |
7605 | |
7208 | |
7606 | |
7209 | |
7607 | |
7210 | |
7608 | |
7211 | |
7609 | |
7212 | |
7610 | |
7213 | |
7611 | |
7214 | |
7612 | |
7215 | for ac_header in \ |
7613 | for ac_header in \ |
7216 | assert.h \ |
|
|
7217 | fcntl.h \ |
|
|
7218 | stdarg.h \ |
|
|
7219 | stdlib.h \ |
|
|
7220 | string.h \ |
|
|
7221 | termios.h \ |
|
|
7222 | unistd.h \ |
|
|
7223 | sys/byteorder.h \ |
7614 | sys/byteorder.h \ |
7224 | sys/ioctl.h \ |
7615 | sys/ioctl.h \ |
7225 | sys/select.h \ |
|
|
7226 | sys/sockio.h \ |
7616 | sys/sockio.h \ |
7227 | sys/strredir.h \ |
7617 | sys/strredir.h \ |
7228 | sys/time.h \ |
|
|
7229 | stdint.h \ |
7618 | stdint.h \ |
7230 | wchar.h \ |
7619 | wchar.h \ |
7231 | cwchar \ |
7620 | cwchar \ |
7232 | clocale \ |
|
|
7233 | |
7621 | |
7234 | do |
7622 | do |
7235 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7623 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7236 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7624 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7237 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7625 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7368 | fi |
7756 | fi |
7369 | |
7757 | |
7370 | done |
7758 | done |
7371 | |
7759 | |
7372 | |
7760 | |
7373 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7374 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
|
|
7375 | if test "${ac_cv_header_time+set}" = set; then |
|
|
7376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7377 | else |
|
|
7378 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7379 | /* confdefs.h. */ |
|
|
7380 | _ACEOF |
|
|
7381 | cat confdefs.h >>conftest.$ac_ext |
|
|
7382 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7383 | /* end confdefs.h. */ |
|
|
7384 | #include <sys/types.h> |
|
|
7385 | #include <sys/time.h> |
|
|
7386 | #include <time.h> |
|
|
7387 | |
|
|
7388 | int |
|
|
7389 | main () |
|
|
7390 | { |
|
|
7391 | if ((struct tm *) 0) |
|
|
7392 | return 0; |
|
|
7393 | ; |
|
|
7394 | return 0; |
|
|
7395 | } |
|
|
7396 | _ACEOF |
|
|
7397 | rm -f conftest.$ac_objext |
|
|
7398 | if { (ac_try="$ac_compile" |
|
|
7399 | case "(($ac_try" in |
|
|
7400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7401 | *) ac_try_echo=$ac_try;; |
|
|
7402 | esac |
|
|
7403 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7404 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7405 | ac_status=$? |
|
|
7406 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7407 | rm -f conftest.er1 |
|
|
7408 | cat conftest.err >&5 |
|
|
7409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7410 | (exit $ac_status); } && { |
|
|
7411 | test -z "$ac_cxx_werror_flag" || |
|
|
7412 | test ! -s conftest.err |
|
|
7413 | } && test -s conftest.$ac_objext; then |
|
|
7414 | ac_cv_header_time=yes |
|
|
7415 | else |
|
|
7416 | echo "$as_me: failed program was:" >&5 |
|
|
7417 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7418 | |
|
|
7419 | ac_cv_header_time=no |
|
|
7420 | fi |
|
|
7421 | |
|
|
7422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7423 | fi |
|
|
7424 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
7425 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
|
|
7426 | if test $ac_cv_header_time = yes; then |
|
|
7427 | |
|
|
7428 | cat >>confdefs.h <<\_ACEOF |
|
|
7429 | #define TIME_WITH_SYS_TIME 1 |
|
|
7430 | _ACEOF |
|
|
7431 | |
|
|
7432 | fi |
|
|
7433 | |
|
|
7434 | |
|
|
7435 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
|
|
7436 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
|
|
7437 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
|
|
7438 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7439 | else |
|
|
7440 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7441 | /* confdefs.h. */ |
|
|
7442 | _ACEOF |
|
|
7443 | cat confdefs.h >>conftest.$ac_ext |
|
|
7444 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7445 | /* end confdefs.h. */ |
|
|
7446 | #include <stdio.h> |
|
|
7447 | #include <sys/ioctl.h> |
|
|
7448 | #ifdef HAVE_TERMIOS_H |
|
|
7449 | #include <termios.h> |
|
|
7450 | #endif |
|
|
7451 | int |
|
|
7452 | main () |
|
|
7453 | { |
|
|
7454 | int a = ECHO; |
|
|
7455 | ; |
|
|
7456 | return 0; |
|
|
7457 | } |
|
|
7458 | _ACEOF |
|
|
7459 | rm -f conftest.$ac_objext |
|
|
7460 | if { (ac_try="$ac_compile" |
|
|
7461 | case "(($ac_try" in |
|
|
7462 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7463 | *) ac_try_echo=$ac_try;; |
|
|
7464 | esac |
|
|
7465 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7466 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7467 | ac_status=$? |
|
|
7468 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7469 | rm -f conftest.er1 |
|
|
7470 | cat conftest.err >&5 |
|
|
7471 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7472 | (exit $ac_status); } && { |
|
|
7473 | test -z "$ac_cxx_werror_flag" || |
|
|
7474 | test ! -s conftest.err |
|
|
7475 | } && test -s conftest.$ac_objext; then |
|
|
7476 | rxvt_cv_header_sysioctl=yes |
|
|
7477 | else |
|
|
7478 | echo "$as_me: failed program was:" >&5 |
|
|
7479 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7480 | |
|
|
7481 | rxvt_cv_header_sysioctl=no |
|
|
7482 | fi |
|
|
7483 | |
|
|
7484 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7485 | fi |
|
|
7486 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
|
|
7487 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
|
|
7488 | |
|
|
7489 | if test -n "$GCC"; then |
|
|
7490 | LDARG="-Wl," |
|
|
7491 | else |
|
|
7492 | LDARG="" |
|
|
7493 | fi |
|
|
7494 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-rpath '$LDARG'\1/g' |
|
|
7495 | |
|
|
7496 | ac_save_CFLAGS=$CFLAGS |
|
|
7497 | ac_save_LIBS=$LIBS |
|
|
7498 | CFLAGS="$CFLAGS $X_CFLAGS" |
|
|
7499 | LIBS=`echo "$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7500 | { echo "$as_me:$LINENO: checking for -rpath dynamic library path recording" >&5 |
|
|
7501 | echo $ECHO_N "checking for -rpath dynamic library path recording... $ECHO_C" >&6; } |
|
|
7502 | if test "${rxvt_cv_rpath+set}" = set; then |
|
|
7503 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7504 | else |
|
|
7505 | if test "$cross_compiling" = yes; then |
|
|
7506 | { echo "$as_me:$LINENO: WARNING: You may need to check the LIBS line" >&5 |
|
|
7507 | echo "$as_me: WARNING: You may need to check the LIBS line" >&2;} |
|
|
7508 | else |
|
|
7509 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7510 | /* confdefs.h. */ |
|
|
7511 | _ACEOF |
|
|
7512 | cat confdefs.h >>conftest.$ac_ext |
|
|
7513 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7514 | /* end confdefs.h. */ |
|
|
7515 | #include <X11/Xlib.h> |
|
|
7516 | #include <stdlib.h> |
|
|
7517 | main() |
|
|
7518 | { |
|
|
7519 | exit(0); |
|
|
7520 | (void) XOpenDisplay("foobar"); |
|
|
7521 | } |
|
|
7522 | _ACEOF |
|
|
7523 | rm -f conftest$ac_exeext |
|
|
7524 | if { (ac_try="$ac_link" |
|
|
7525 | case "(($ac_try" in |
|
|
7526 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7527 | *) ac_try_echo=$ac_try;; |
|
|
7528 | esac |
|
|
7529 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7530 | (eval "$ac_link") 2>&5 |
|
|
7531 | ac_status=$? |
|
|
7532 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7533 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7534 | { (case "(($ac_try" in |
|
|
7535 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7536 | *) ac_try_echo=$ac_try;; |
|
|
7537 | esac |
|
|
7538 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7539 | (eval "$ac_try") 2>&5 |
|
|
7540 | ac_status=$? |
|
|
7541 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7542 | (exit $ac_status); }; }; then |
|
|
7543 | rxvt_cv_rpath=yes |
|
|
7544 | else |
|
|
7545 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7546 | echo "$as_me: failed program was:" >&5 |
|
|
7547 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7548 | |
|
|
7549 | ( exit $ac_status ) |
|
|
7550 | rxvt_cv_rpath=no |
|
|
7551 | fi |
|
|
7552 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7553 | fi |
|
|
7554 | |
|
|
7555 | |
|
|
7556 | fi |
|
|
7557 | { echo "$as_me:$LINENO: result: $rxvt_cv_rpath" >&5 |
|
|
7558 | echo "${ECHO_T}$rxvt_cv_rpath" >&6; } |
|
|
7559 | if test x$rxvt_cv_rpath != xyes; then |
|
|
7560 | R_TRANSLATE='s/-L\([^ ]*\)/-L\1 '$LDARG'-R\1/g' |
|
|
7561 | LIBS=`echo "$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" | sed "$R_TRANSLATE"` |
|
|
7562 | { echo "$as_me:$LINENO: checking for -R dynamic library path recording" >&5 |
|
|
7563 | echo $ECHO_N "checking for -R dynamic library path recording... $ECHO_C" >&6; } |
|
|
7564 | if test "${rxvt_cv_R+set}" = set; then |
|
|
7565 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7566 | else |
|
|
7567 | if test "$cross_compiling" = yes; then |
|
|
7568 | rxvt_cv_R=no |
|
|
7569 | else |
|
|
7570 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7571 | /* confdefs.h. */ |
|
|
7572 | _ACEOF |
|
|
7573 | cat confdefs.h >>conftest.$ac_ext |
|
|
7574 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7575 | /* end confdefs.h. */ |
|
|
7576 | #include <X11/Xlib.h> |
|
|
7577 | #include <stdlib.h> |
|
|
7578 | main() |
|
|
7579 | { |
|
|
7580 | exit(0); |
|
|
7581 | (void) XOpenDisplay("foobar"); |
|
|
7582 | } |
|
|
7583 | _ACEOF |
|
|
7584 | rm -f conftest$ac_exeext |
|
|
7585 | if { (ac_try="$ac_link" |
|
|
7586 | case "(($ac_try" in |
|
|
7587 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7588 | *) ac_try_echo=$ac_try;; |
|
|
7589 | esac |
|
|
7590 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7591 | (eval "$ac_link") 2>&5 |
|
|
7592 | ac_status=$? |
|
|
7593 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7594 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
7595 | { (case "(($ac_try" in |
|
|
7596 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7597 | *) ac_try_echo=$ac_try;; |
|
|
7598 | esac |
|
|
7599 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7600 | (eval "$ac_try") 2>&5 |
|
|
7601 | ac_status=$? |
|
|
7602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7603 | (exit $ac_status); }; }; then |
|
|
7604 | rxvt_cv_R=yes |
|
|
7605 | else |
|
|
7606 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
7607 | echo "$as_me: failed program was:" >&5 |
|
|
7608 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7609 | |
|
|
7610 | ( exit $ac_status ) |
|
|
7611 | rxvt_cv_R=no |
|
|
7612 | fi |
|
|
7613 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
7614 | fi |
|
|
7615 | |
|
|
7616 | |
|
|
7617 | fi |
|
|
7618 | { echo "$as_me:$LINENO: result: $rxvt_cv_R" >&5 |
|
|
7619 | echo "${ECHO_T}$rxvt_cv_R" >&6; } |
|
|
7620 | if test x$rxvt_cv_R != xyes; then |
|
|
7621 | LIBS="$ac_save_LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
|
|
7622 | fi |
|
|
7623 | fi |
|
|
7624 | |
|
|
7625 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7761 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7626 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7762 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7627 | if test "${rxvt_cv_xpointer+set}" = set; then |
7763 | if test "${rxvt_cv_xpointer+set}" = set; then |
7628 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7629 | else |
7765 | else |
… | |
… | |
7676 | cat >>confdefs.h <<\_ACEOF |
7812 | cat >>confdefs.h <<\_ACEOF |
7677 | #define HAVE_XPOINTER 1 |
7813 | #define HAVE_XPOINTER 1 |
7678 | _ACEOF |
7814 | _ACEOF |
7679 | |
7815 | |
7680 | fi |
7816 | fi |
7681 | LIBS=$ac_save_LIBS |
|
|
7682 | CFLAGS=$ac_save_CFLAGS |
|
|
7683 | |
7817 | |
7684 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7818 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7685 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7819 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7686 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7820 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7687 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7821 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7742 | cat >>confdefs.h <<\_ACEOF |
7876 | cat >>confdefs.h <<\_ACEOF |
7743 | #define XLIB_ILLEGAL_ACCESS 1 |
7877 | #define XLIB_ILLEGAL_ACCESS 1 |
7744 | _ACEOF |
7878 | _ACEOF |
7745 | |
7879 | |
7746 | fi |
7880 | fi |
7747 | |
|
|
7748 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
|
7749 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
|
|
7750 | if test "${ac_cv_c_const+set}" = set; then |
|
|
7751 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7752 | else |
|
|
7753 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7754 | /* confdefs.h. */ |
|
|
7755 | _ACEOF |
|
|
7756 | cat confdefs.h >>conftest.$ac_ext |
|
|
7757 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7758 | /* end confdefs.h. */ |
|
|
7759 | |
|
|
7760 | int |
|
|
7761 | main () |
|
|
7762 | { |
|
|
7763 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
7764 | #ifndef __cplusplus |
|
|
7765 | /* Ultrix mips cc rejects this. */ |
|
|
7766 | typedef int charset[2]; |
|
|
7767 | const charset cs; |
|
|
7768 | /* SunOS 4.1.1 cc rejects this. */ |
|
|
7769 | char const *const *pcpcc; |
|
|
7770 | char **ppc; |
|
|
7771 | /* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
7772 | struct point {int x, y;}; |
|
|
7773 | static struct point const zero = {0,0}; |
|
|
7774 | /* AIX XL C 1.02.0.0 rejects this. |
|
|
7775 | It does not let you subtract one const X* pointer from another in |
|
|
7776 | an arm of an if-expression whose if-part is not a constant |
|
|
7777 | expression */ |
|
|
7778 | const char *g = "string"; |
|
|
7779 | pcpcc = &g + (g ? g-g : 0); |
|
|
7780 | /* HPUX 7.0 cc rejects these. */ |
|
|
7781 | ++pcpcc; |
|
|
7782 | ppc = (char**) pcpcc; |
|
|
7783 | pcpcc = (char const *const *) ppc; |
|
|
7784 | { /* SCO 3.2v4 cc rejects this. */ |
|
|
7785 | char *t; |
|
|
7786 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
7787 | |
|
|
7788 | *t++ = 0; |
|
|
7789 | if (s) return 0; |
|
|
7790 | } |
|
|
7791 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
7792 | int x[] = {25, 17}; |
|
|
7793 | const int *foo = &x[0]; |
|
|
7794 | ++foo; |
|
|
7795 | } |
|
|
7796 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
7797 | typedef const int *iptr; |
|
|
7798 | iptr p = 0; |
|
|
7799 | ++p; |
|
|
7800 | } |
|
|
7801 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
7802 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
7803 | struct s { int j; const int *ap[3]; }; |
|
|
7804 | struct s *b; b->j = 5; |
|
|
7805 | } |
|
|
7806 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
7807 | const int foo = 10; |
|
|
7808 | if (!foo) return 0; |
|
|
7809 | } |
|
|
7810 | return !cs[0] && !zero.x; |
|
|
7811 | #endif |
|
|
7812 | |
|
|
7813 | ; |
|
|
7814 | return 0; |
|
|
7815 | } |
|
|
7816 | _ACEOF |
|
|
7817 | rm -f conftest.$ac_objext |
|
|
7818 | if { (ac_try="$ac_compile" |
|
|
7819 | case "(($ac_try" in |
|
|
7820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7821 | *) ac_try_echo=$ac_try;; |
|
|
7822 | esac |
|
|
7823 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7824 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7825 | ac_status=$? |
|
|
7826 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7827 | rm -f conftest.er1 |
|
|
7828 | cat conftest.err >&5 |
|
|
7829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7830 | (exit $ac_status); } && { |
|
|
7831 | test -z "$ac_cxx_werror_flag" || |
|
|
7832 | test ! -s conftest.err |
|
|
7833 | } && test -s conftest.$ac_objext; then |
|
|
7834 | ac_cv_c_const=yes |
|
|
7835 | else |
|
|
7836 | echo "$as_me: failed program was:" >&5 |
|
|
7837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7838 | |
|
|
7839 | ac_cv_c_const=no |
|
|
7840 | fi |
|
|
7841 | |
|
|
7842 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7843 | fi |
|
|
7844 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
|
7845 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
|
|
7846 | if test $ac_cv_c_const = no; then |
|
|
7847 | |
|
|
7848 | cat >>confdefs.h <<\_ACEOF |
|
|
7849 | #define const |
|
|
7850 | _ACEOF |
|
|
7851 | |
|
|
7852 | fi |
|
|
7853 | |
|
|
7854 | { echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
7855 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
|
|
7856 | if test "${ac_cv_c_inline+set}" = set; then |
|
|
7857 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7858 | else |
|
|
7859 | ac_cv_c_inline=no |
|
|
7860 | for ac_kw in inline __inline__ __inline; do |
|
|
7861 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7862 | /* confdefs.h. */ |
|
|
7863 | _ACEOF |
|
|
7864 | cat confdefs.h >>conftest.$ac_ext |
|
|
7865 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7866 | /* end confdefs.h. */ |
|
|
7867 | #ifndef __cplusplus |
|
|
7868 | typedef int foo_t; |
|
|
7869 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
7870 | $ac_kw foo_t foo () {return 0; } |
|
|
7871 | #endif |
|
|
7872 | |
|
|
7873 | _ACEOF |
|
|
7874 | rm -f conftest.$ac_objext |
|
|
7875 | if { (ac_try="$ac_compile" |
|
|
7876 | case "(($ac_try" in |
|
|
7877 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7878 | *) ac_try_echo=$ac_try;; |
|
|
7879 | esac |
|
|
7880 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7881 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7882 | ac_status=$? |
|
|
7883 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7884 | rm -f conftest.er1 |
|
|
7885 | cat conftest.err >&5 |
|
|
7886 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7887 | (exit $ac_status); } && { |
|
|
7888 | test -z "$ac_cxx_werror_flag" || |
|
|
7889 | test ! -s conftest.err |
|
|
7890 | } && test -s conftest.$ac_objext; then |
|
|
7891 | ac_cv_c_inline=$ac_kw |
|
|
7892 | else |
|
|
7893 | echo "$as_me: failed program was:" >&5 |
|
|
7894 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7895 | |
|
|
7896 | |
|
|
7897 | fi |
|
|
7898 | |
|
|
7899 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7900 | test "$ac_cv_c_inline" != no && break |
|
|
7901 | done |
|
|
7902 | |
|
|
7903 | fi |
|
|
7904 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
7905 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
|
|
7906 | |
|
|
7907 | |
|
|
7908 | case $ac_cv_c_inline in |
|
|
7909 | inline | yes) ;; |
|
|
7910 | *) |
|
|
7911 | case $ac_cv_c_inline in |
|
|
7912 | no) ac_val=;; |
|
|
7913 | *) ac_val=$ac_cv_c_inline;; |
|
|
7914 | esac |
|
|
7915 | cat >>confdefs.h <<_ACEOF |
|
|
7916 | #ifndef __cplusplus |
|
|
7917 | #define inline $ac_val |
|
|
7918 | #endif |
|
|
7919 | _ACEOF |
|
|
7920 | ;; |
|
|
7921 | esac |
|
|
7922 | |
|
|
7923 | |
|
|
7924 | |
7881 | |
7925 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7882 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7926 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7883 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7927 | if test "${ac_cv_type_mode_t+set}" = set; then |
7884 | if test "${ac_cv_type_mode_t+set}" = set; then |
7928 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7885 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
8085 | _ACEOF |
8042 | _ACEOF |
8086 | |
8043 | |
8087 | fi |
8044 | fi |
8088 | |
8045 | |
8089 | |
8046 | |
8090 | { echo "$as_me:$LINENO: checking for short" >&5 |
8047 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
8091 | echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
8048 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
8092 | if test "${ac_cv_type_short+set}" = set; then |
8049 | if test "${ac_cv_c_int16_t+set}" = set; then |
8093 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8094 | else |
8051 | else |
|
|
8052 | ac_cv_c_int16_t=no |
|
|
8053 | for ac_type in 'int16_t' 'int' 'long int' \ |
|
|
8054 | 'long long int' 'short int' 'signed char'; do |
8095 | cat >conftest.$ac_ext <<_ACEOF |
8055 | cat >conftest.$ac_ext <<_ACEOF |
8096 | /* confdefs.h. */ |
8056 | /* confdefs.h. */ |
8097 | _ACEOF |
8057 | _ACEOF |
8098 | cat confdefs.h >>conftest.$ac_ext |
8058 | cat confdefs.h >>conftest.$ac_ext |
8099 | cat >>conftest.$ac_ext <<_ACEOF |
8059 | cat >>conftest.$ac_ext <<_ACEOF |
8100 | /* end confdefs.h. */ |
8060 | /* end confdefs.h. */ |
8101 | $ac_includes_default |
8061 | $ac_includes_default |
8102 | typedef short ac__type_new_; |
|
|
8103 | int |
8062 | int |
8104 | main () |
8063 | main () |
8105 | { |
8064 | { |
8106 | if ((ac__type_new_ *) 0) |
8065 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; |
8107 | return 0; |
8066 | test_array [0] = 0 |
8108 | if (sizeof (ac__type_new_)) |
8067 | |
8109 | return 0; |
|
|
8110 | ; |
8068 | ; |
8111 | return 0; |
8069 | return 0; |
8112 | } |
8070 | } |
8113 | _ACEOF |
8071 | _ACEOF |
8114 | rm -f conftest.$ac_objext |
8072 | rm -f conftest.$ac_objext |
… | |
… | |
8126 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8127 | (exit $ac_status); } && { |
8085 | (exit $ac_status); } && { |
8128 | test -z "$ac_cxx_werror_flag" || |
8086 | test -z "$ac_cxx_werror_flag" || |
8129 | test ! -s conftest.err |
8087 | test ! -s conftest.err |
8130 | } && test -s conftest.$ac_objext; then |
8088 | } && test -s conftest.$ac_objext; then |
8131 | ac_cv_type_short=yes |
|
|
8132 | else |
|
|
8133 | echo "$as_me: failed program was:" >&5 |
|
|
8134 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8135 | |
|
|
8136 | ac_cv_type_short=no |
|
|
8137 | fi |
|
|
8138 | |
|
|
8139 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8140 | fi |
|
|
8141 | { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
|
|
8142 | echo "${ECHO_T}$ac_cv_type_short" >&6; } |
|
|
8143 | |
|
|
8144 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8145 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8146 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8147 | # This bug is HP SR number 8606223364. |
|
|
8148 | { echo "$as_me:$LINENO: checking size of short" >&5 |
|
|
8149 | echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
|
|
8150 | if test "${ac_cv_sizeof_short+set}" = set; then |
|
|
8151 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8152 | else |
|
|
8153 | if test "$cross_compiling" = yes; then |
|
|
8154 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8155 | cat >conftest.$ac_ext <<_ACEOF |
8089 | cat >conftest.$ac_ext <<_ACEOF |
8156 | /* confdefs.h. */ |
8090 | /* confdefs.h. */ |
8157 | _ACEOF |
8091 | _ACEOF |
8158 | cat confdefs.h >>conftest.$ac_ext |
8092 | cat confdefs.h >>conftest.$ac_ext |
8159 | cat >>conftest.$ac_ext <<_ACEOF |
8093 | cat >>conftest.$ac_ext <<_ACEOF |
8160 | /* end confdefs.h. */ |
8094 | /* end confdefs.h. */ |
8161 | $ac_includes_default |
8095 | $ac_includes_default |
8162 | typedef short ac__type_sizeof_; |
|
|
8163 | int |
8096 | int |
8164 | main () |
8097 | main () |
8165 | { |
8098 | { |
8166 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
8099 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) |
|
|
8100 | < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; |
8167 | test_array [0] = 0 |
8101 | test_array [0] = 0 |
8168 | |
8102 | |
8169 | ; |
8103 | ; |
8170 | return 0; |
8104 | return 0; |
8171 | } |
8105 | } |
… | |
… | |
8185 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8186 | (exit $ac_status); } && { |
8120 | (exit $ac_status); } && { |
8187 | test -z "$ac_cxx_werror_flag" || |
8121 | test -z "$ac_cxx_werror_flag" || |
8188 | test ! -s conftest.err |
8122 | test ! -s conftest.err |
8189 | } && test -s conftest.$ac_objext; then |
8123 | } && test -s conftest.$ac_objext; then |
8190 | ac_lo=0 ac_mid=0 |
8124 | : |
8191 | while :; do |
8125 | else |
|
|
8126 | echo "$as_me: failed program was:" >&5 |
|
|
8127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8128 | |
|
|
8129 | case $ac_type in |
|
|
8130 | int16_t) ac_cv_c_int16_t=yes ;; |
|
|
8131 | *) ac_cv_c_int16_t=$ac_type ;; |
|
|
8132 | esac |
|
|
8133 | |
|
|
8134 | fi |
|
|
8135 | |
|
|
8136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8137 | else |
|
|
8138 | echo "$as_me: failed program was:" >&5 |
|
|
8139 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8140 | |
|
|
8141 | |
|
|
8142 | fi |
|
|
8143 | |
|
|
8144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8145 | test "$ac_cv_c_int16_t" != no && break |
|
|
8146 | done |
|
|
8147 | fi |
|
|
8148 | { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 |
|
|
8149 | echo "${ECHO_T}$ac_cv_c_int16_t" >&6; } |
|
|
8150 | case $ac_cv_c_int16_t in #( |
|
|
8151 | no|yes) ;; #( |
|
|
8152 | *) |
|
|
8153 | |
|
|
8154 | cat >>confdefs.h <<_ACEOF |
|
|
8155 | #define int16_t $ac_cv_c_int16_t |
|
|
8156 | _ACEOF |
|
|
8157 | ;; |
|
|
8158 | esac |
|
|
8159 | |
|
|
8160 | |
|
|
8161 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
8162 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
8163 | if test "${ac_cv_c_uint16_t+set}" = set; then |
|
|
8164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8165 | else |
|
|
8166 | ac_cv_c_uint16_t=no |
|
|
8167 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
|
|
8168 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8192 | cat >conftest.$ac_ext <<_ACEOF |
8169 | cat >conftest.$ac_ext <<_ACEOF |
8193 | /* confdefs.h. */ |
8170 | /* confdefs.h. */ |
8194 | _ACEOF |
8171 | _ACEOF |
8195 | cat confdefs.h >>conftest.$ac_ext |
8172 | cat confdefs.h >>conftest.$ac_ext |
8196 | cat >>conftest.$ac_ext <<_ACEOF |
8173 | cat >>conftest.$ac_ext <<_ACEOF |
8197 | /* end confdefs.h. */ |
8174 | /* end confdefs.h. */ |
8198 | $ac_includes_default |
8175 | $ac_includes_default |
8199 | typedef short ac__type_sizeof_; |
|
|
8200 | int |
8176 | int |
8201 | main () |
8177 | main () |
8202 | { |
8178 | { |
8203 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8179 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
8204 | test_array [0] = 0 |
8180 | test_array [0] = 0 |
8205 | |
8181 | |
8206 | ; |
8182 | ; |
8207 | return 0; |
8183 | return 0; |
8208 | } |
8184 | } |
… | |
… | |
8222 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8223 | (exit $ac_status); } && { |
8199 | (exit $ac_status); } && { |
8224 | test -z "$ac_cxx_werror_flag" || |
8200 | test -z "$ac_cxx_werror_flag" || |
8225 | test ! -s conftest.err |
8201 | test ! -s conftest.err |
8226 | } && test -s conftest.$ac_objext; then |
8202 | } && test -s conftest.$ac_objext; then |
8227 | ac_hi=$ac_mid; break |
8203 | case $ac_type in |
|
|
8204 | uint16_t) ac_cv_c_uint16_t=yes ;; |
|
|
8205 | *) ac_cv_c_uint16_t=$ac_type ;; |
|
|
8206 | esac |
|
|
8207 | |
8228 | else |
8208 | else |
8229 | echo "$as_me: failed program was:" >&5 |
8209 | echo "$as_me: failed program was:" >&5 |
8230 | sed 's/^/| /' conftest.$ac_ext >&5 |
8210 | sed 's/^/| /' conftest.$ac_ext >&5 |
8231 | |
8211 | |
8232 | ac_lo=`expr $ac_mid + 1` |
8212 | |
8233 | if test $ac_lo -le $ac_mid; then |
|
|
8234 | ac_lo= ac_hi= |
|
|
8235 | break |
|
|
8236 | fi |
|
|
8237 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8238 | fi |
8213 | fi |
8239 | |
8214 | |
8240 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8216 | test "$ac_cv_c_uint16_t" != no && break |
8241 | done |
8217 | done |
8242 | else |
8218 | fi |
8243 | echo "$as_me: failed program was:" >&5 |
8219 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
8244 | sed 's/^/| /' conftest.$ac_ext >&5 |
8220 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } |
|
|
8221 | case $ac_cv_c_uint16_t in #( |
|
|
8222 | no|yes) ;; #( |
|
|
8223 | *) |
8245 | |
8224 | |
|
|
8225 | |
|
|
8226 | cat >>confdefs.h <<_ACEOF |
|
|
8227 | #define uint16_t $ac_cv_c_uint16_t |
|
|
8228 | _ACEOF |
|
|
8229 | ;; |
|
|
8230 | esac |
|
|
8231 | |
|
|
8232 | |
|
|
8233 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
8234 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
8235 | if test "${ac_cv_c_int32_t+set}" = set; then |
|
|
8236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8237 | else |
|
|
8238 | ac_cv_c_int32_t=no |
|
|
8239 | for ac_type in 'int32_t' 'int' 'long int' \ |
|
|
8240 | 'long long int' 'short int' 'signed char'; do |
8246 | cat >conftest.$ac_ext <<_ACEOF |
8241 | cat >conftest.$ac_ext <<_ACEOF |
8247 | /* confdefs.h. */ |
8242 | /* confdefs.h. */ |
8248 | _ACEOF |
8243 | _ACEOF |
8249 | cat confdefs.h >>conftest.$ac_ext |
8244 | cat confdefs.h >>conftest.$ac_ext |
8250 | cat >>conftest.$ac_ext <<_ACEOF |
8245 | cat >>conftest.$ac_ext <<_ACEOF |
8251 | /* end confdefs.h. */ |
8246 | /* end confdefs.h. */ |
8252 | $ac_includes_default |
8247 | $ac_includes_default |
8253 | typedef short ac__type_sizeof_; |
|
|
8254 | int |
8248 | int |
8255 | main () |
8249 | main () |
8256 | { |
8250 | { |
8257 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8251 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; |
8258 | test_array [0] = 0 |
8252 | test_array [0] = 0 |
8259 | |
8253 | |
8260 | ; |
8254 | ; |
8261 | return 0; |
8255 | return 0; |
8262 | } |
8256 | } |
… | |
… | |
8276 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8277 | (exit $ac_status); } && { |
8271 | (exit $ac_status); } && { |
8278 | test -z "$ac_cxx_werror_flag" || |
8272 | test -z "$ac_cxx_werror_flag" || |
8279 | test ! -s conftest.err |
8273 | test ! -s conftest.err |
8280 | } && test -s conftest.$ac_objext; then |
8274 | } && test -s conftest.$ac_objext; then |
8281 | ac_hi=-1 ac_mid=-1 |
|
|
8282 | while :; do |
|
|
8283 | cat >conftest.$ac_ext <<_ACEOF |
8275 | cat >conftest.$ac_ext <<_ACEOF |
8284 | /* confdefs.h. */ |
8276 | /* confdefs.h. */ |
8285 | _ACEOF |
8277 | _ACEOF |
8286 | cat confdefs.h >>conftest.$ac_ext |
8278 | cat confdefs.h >>conftest.$ac_ext |
8287 | cat >>conftest.$ac_ext <<_ACEOF |
8279 | cat >>conftest.$ac_ext <<_ACEOF |
8288 | /* end confdefs.h. */ |
8280 | /* end confdefs.h. */ |
8289 | $ac_includes_default |
8281 | $ac_includes_default |
8290 | typedef short ac__type_sizeof_; |
|
|
8291 | int |
8282 | int |
8292 | main () |
8283 | main () |
8293 | { |
8284 | { |
8294 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8285 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) |
|
|
8286 | < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; |
8295 | test_array [0] = 0 |
8287 | test_array [0] = 0 |
8296 | |
8288 | |
8297 | ; |
8289 | ; |
8298 | return 0; |
8290 | return 0; |
8299 | } |
8291 | } |
… | |
… | |
8313 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8314 | (exit $ac_status); } && { |
8306 | (exit $ac_status); } && { |
8315 | test -z "$ac_cxx_werror_flag" || |
8307 | test -z "$ac_cxx_werror_flag" || |
8316 | test ! -s conftest.err |
8308 | test ! -s conftest.err |
8317 | } && test -s conftest.$ac_objext; then |
8309 | } && test -s conftest.$ac_objext; then |
8318 | ac_lo=$ac_mid; break |
8310 | : |
8319 | else |
8311 | else |
8320 | echo "$as_me: failed program was:" >&5 |
8312 | echo "$as_me: failed program was:" >&5 |
8321 | sed 's/^/| /' conftest.$ac_ext >&5 |
8313 | sed 's/^/| /' conftest.$ac_ext >&5 |
8322 | |
8314 | |
8323 | ac_hi=`expr '(' $ac_mid ')' - 1` |
8315 | case $ac_type in |
8324 | if test $ac_mid -le $ac_hi; then |
8316 | int32_t) ac_cv_c_int32_t=yes ;; |
8325 | ac_lo= ac_hi= |
8317 | *) ac_cv_c_int32_t=$ac_type ;; |
8326 | break |
8318 | esac |
8327 | fi |
8319 | |
8328 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8329 | fi |
8320 | fi |
8330 | |
8321 | |
8331 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8322 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8332 | done |
|
|
8333 | else |
8323 | else |
8334 | echo "$as_me: failed program was:" >&5 |
8324 | echo "$as_me: failed program was:" >&5 |
8335 | sed 's/^/| /' conftest.$ac_ext >&5 |
8325 | sed 's/^/| /' conftest.$ac_ext >&5 |
8336 | |
8326 | |
8337 | ac_lo= ac_hi= |
8327 | |
8338 | fi |
8328 | fi |
8339 | |
8329 | |
8340 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8330 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8331 | test "$ac_cv_c_int32_t" != no && break |
|
|
8332 | done |
8341 | fi |
8333 | fi |
|
|
8334 | { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 |
|
|
8335 | echo "${ECHO_T}$ac_cv_c_int32_t" >&6; } |
|
|
8336 | case $ac_cv_c_int32_t in #( |
|
|
8337 | no|yes) ;; #( |
|
|
8338 | *) |
8342 | |
8339 | |
8343 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8340 | cat >>confdefs.h <<_ACEOF |
8344 | # Binary search between lo and hi bounds. |
8341 | #define int32_t $ac_cv_c_int32_t |
8345 | while test "x$ac_lo" != "x$ac_hi"; do |
8342 | _ACEOF |
8346 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8343 | ;; |
|
|
8344 | esac |
|
|
8345 | |
|
|
8346 | |
|
|
8347 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
8348 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
8349 | if test "${ac_cv_c_uint32_t+set}" = set; then |
|
|
8350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8351 | else |
|
|
8352 | ac_cv_c_uint32_t=no |
|
|
8353 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
|
|
8354 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8347 | cat >conftest.$ac_ext <<_ACEOF |
8355 | cat >conftest.$ac_ext <<_ACEOF |
8348 | /* confdefs.h. */ |
8356 | /* confdefs.h. */ |
8349 | _ACEOF |
8357 | _ACEOF |
8350 | cat confdefs.h >>conftest.$ac_ext |
8358 | cat confdefs.h >>conftest.$ac_ext |
8351 | cat >>conftest.$ac_ext <<_ACEOF |
8359 | cat >>conftest.$ac_ext <<_ACEOF |
8352 | /* end confdefs.h. */ |
8360 | /* end confdefs.h. */ |
8353 | $ac_includes_default |
8361 | $ac_includes_default |
8354 | typedef short ac__type_sizeof_; |
|
|
8355 | int |
8362 | int |
8356 | main () |
8363 | main () |
8357 | { |
8364 | { |
8358 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8365 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
8359 | test_array [0] = 0 |
8366 | test_array [0] = 0 |
8360 | |
8367 | |
8361 | ; |
8368 | ; |
8362 | return 0; |
8369 | return 0; |
8363 | } |
8370 | } |
… | |
… | |
8377 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8378 | (exit $ac_status); } && { |
8385 | (exit $ac_status); } && { |
8379 | test -z "$ac_cxx_werror_flag" || |
8386 | test -z "$ac_cxx_werror_flag" || |
8380 | test ! -s conftest.err |
8387 | test ! -s conftest.err |
8381 | } && test -s conftest.$ac_objext; then |
8388 | } && test -s conftest.$ac_objext; then |
8382 | ac_hi=$ac_mid |
8389 | case $ac_type in |
|
|
8390 | uint32_t) ac_cv_c_uint32_t=yes ;; |
|
|
8391 | *) ac_cv_c_uint32_t=$ac_type ;; |
|
|
8392 | esac |
|
|
8393 | |
8383 | else |
8394 | else |
8384 | echo "$as_me: failed program was:" >&5 |
8395 | echo "$as_me: failed program was:" >&5 |
8385 | sed 's/^/| /' conftest.$ac_ext >&5 |
8396 | sed 's/^/| /' conftest.$ac_ext >&5 |
8386 | |
8397 | |
8387 | ac_lo=`expr '(' $ac_mid ')' + 1` |
8398 | |
8388 | fi |
8399 | fi |
8389 | |
8400 | |
8390 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8401 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8391 | done |
8402 | test "$ac_cv_c_uint32_t" != no && break |
8392 | case $ac_lo in |
8403 | done |
8393 | ?*) ac_cv_sizeof_short=$ac_lo;; |
|
|
8394 | '') if test "$ac_cv_type_short" = yes; then |
|
|
8395 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8396 | See \`config.log' for more details." >&5 |
|
|
8397 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8398 | See \`config.log' for more details." >&2;} |
|
|
8399 | { (exit 77); exit 77; }; } |
|
|
8400 | else |
|
|
8401 | ac_cv_sizeof_short=0 |
|
|
8402 | fi ;; |
|
|
8403 | esac |
|
|
8404 | else |
|
|
8405 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8406 | /* confdefs.h. */ |
|
|
8407 | _ACEOF |
|
|
8408 | cat confdefs.h >>conftest.$ac_ext |
|
|
8409 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8410 | /* end confdefs.h. */ |
|
|
8411 | $ac_includes_default |
|
|
8412 | typedef short ac__type_sizeof_; |
|
|
8413 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8414 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8415 | #include <stdio.h> |
|
|
8416 | #include <stdlib.h> |
|
|
8417 | int |
|
|
8418 | main () |
|
|
8419 | { |
|
|
8420 | |
|
|
8421 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8422 | if (! f) |
|
|
8423 | return 1; |
|
|
8424 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8425 | { |
|
|
8426 | long int i = longval (); |
|
|
8427 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8428 | return 1; |
|
|
8429 | fprintf (f, "%ld\n", i); |
|
|
8430 | } |
|
|
8431 | else |
|
|
8432 | { |
|
|
8433 | unsigned long int i = ulongval (); |
|
|
8434 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8435 | return 1; |
|
|
8436 | fprintf (f, "%lu\n", i); |
|
|
8437 | } |
|
|
8438 | return ferror (f) || fclose (f) != 0; |
|
|
8439 | |
|
|
8440 | ; |
|
|
8441 | return 0; |
|
|
8442 | } |
|
|
8443 | _ACEOF |
|
|
8444 | rm -f conftest$ac_exeext |
|
|
8445 | if { (ac_try="$ac_link" |
|
|
8446 | case "(($ac_try" in |
|
|
8447 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8448 | *) ac_try_echo=$ac_try;; |
|
|
8449 | esac |
|
|
8450 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8451 | (eval "$ac_link") 2>&5 |
|
|
8452 | ac_status=$? |
|
|
8453 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8454 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8455 | { (case "(($ac_try" in |
|
|
8456 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8457 | *) ac_try_echo=$ac_try;; |
|
|
8458 | esac |
|
|
8459 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8460 | (eval "$ac_try") 2>&5 |
|
|
8461 | ac_status=$? |
|
|
8462 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8463 | (exit $ac_status); }; }; then |
|
|
8464 | ac_cv_sizeof_short=`cat conftest.val` |
|
|
8465 | else |
|
|
8466 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8467 | echo "$as_me: failed program was:" >&5 |
|
|
8468 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8469 | |
|
|
8470 | ( exit $ac_status ) |
|
|
8471 | if test "$ac_cv_type_short" = yes; then |
|
|
8472 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8473 | See \`config.log' for more details." >&5 |
|
|
8474 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8475 | See \`config.log' for more details." >&2;} |
|
|
8476 | { (exit 77); exit 77; }; } |
|
|
8477 | else |
|
|
8478 | ac_cv_sizeof_short=0 |
|
|
8479 | fi |
|
|
8480 | fi |
8404 | fi |
8481 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8482 | fi |
|
|
8483 | rm -f conftest.val |
|
|
8484 | fi |
|
|
8485 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
8405 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
8486 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
8406 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } |
|
|
8407 | case $ac_cv_c_uint32_t in #( |
|
|
8408 | no|yes) ;; #( |
|
|
8409 | *) |
8487 | |
8410 | |
|
|
8411 | cat >>confdefs.h <<\_ACEOF |
|
|
8412 | #define _UINT32_T 1 |
|
|
8413 | _ACEOF |
8488 | |
8414 | |
8489 | |
8415 | |
8490 | cat >>confdefs.h <<_ACEOF |
8416 | cat >>confdefs.h <<_ACEOF |
8491 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
8417 | #define uint32_t $ac_cv_c_uint32_t |
8492 | _ACEOF |
8418 | _ACEOF |
8493 | |
8419 | ;; |
8494 | |
|
|
8495 | { echo "$as_me:$LINENO: checking for int" >&5 |
|
|
8496 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
|
|
8497 | if test "${ac_cv_type_int+set}" = set; then |
|
|
8498 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8499 | else |
|
|
8500 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8501 | /* confdefs.h. */ |
|
|
8502 | _ACEOF |
|
|
8503 | cat confdefs.h >>conftest.$ac_ext |
|
|
8504 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8505 | /* end confdefs.h. */ |
|
|
8506 | $ac_includes_default |
|
|
8507 | typedef int ac__type_new_; |
|
|
8508 | int |
|
|
8509 | main () |
|
|
8510 | { |
|
|
8511 | if ((ac__type_new_ *) 0) |
|
|
8512 | return 0; |
|
|
8513 | if (sizeof (ac__type_new_)) |
|
|
8514 | return 0; |
|
|
8515 | ; |
|
|
8516 | return 0; |
|
|
8517 | } |
|
|
8518 | _ACEOF |
|
|
8519 | rm -f conftest.$ac_objext |
|
|
8520 | if { (ac_try="$ac_compile" |
|
|
8521 | case "(($ac_try" in |
|
|
8522 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8523 | *) ac_try_echo=$ac_try;; |
|
|
8524 | esac |
8420 | esac |
8525 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8526 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8527 | ac_status=$? |
|
|
8528 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8529 | rm -f conftest.er1 |
|
|
8530 | cat conftest.err >&5 |
|
|
8531 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8532 | (exit $ac_status); } && { |
|
|
8533 | test -z "$ac_cxx_werror_flag" || |
|
|
8534 | test ! -s conftest.err |
|
|
8535 | } && test -s conftest.$ac_objext; then |
|
|
8536 | ac_cv_type_int=yes |
|
|
8537 | else |
|
|
8538 | echo "$as_me: failed program was:" >&5 |
|
|
8539 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8540 | |
8421 | |
8541 | ac_cv_type_int=no |
|
|
8542 | fi |
|
|
8543 | |
8422 | |
8544 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8545 | fi |
|
|
8546 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
|
|
8547 | echo "${ECHO_T}$ac_cv_type_int" >&6; } |
|
|
8548 | |
8423 | |
8549 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8550 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8551 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8552 | # This bug is HP SR number 8606223364. |
|
|
8553 | { echo "$as_me:$LINENO: checking size of int" >&5 |
|
|
8554 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
|
|
8555 | if test "${ac_cv_sizeof_int+set}" = set; then |
|
|
8556 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8557 | else |
|
|
8558 | if test "$cross_compiling" = yes; then |
|
|
8559 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8560 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8561 | /* confdefs.h. */ |
|
|
8562 | _ACEOF |
|
|
8563 | cat confdefs.h >>conftest.$ac_ext |
|
|
8564 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8565 | /* end confdefs.h. */ |
|
|
8566 | $ac_includes_default |
|
|
8567 | typedef int ac__type_sizeof_; |
|
|
8568 | int |
|
|
8569 | main () |
|
|
8570 | { |
|
|
8571 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8572 | test_array [0] = 0 |
|
|
8573 | |
|
|
8574 | ; |
|
|
8575 | return 0; |
|
|
8576 | } |
|
|
8577 | _ACEOF |
|
|
8578 | rm -f conftest.$ac_objext |
|
|
8579 | if { (ac_try="$ac_compile" |
|
|
8580 | case "(($ac_try" in |
|
|
8581 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8582 | *) ac_try_echo=$ac_try;; |
|
|
8583 | esac |
|
|
8584 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8585 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8586 | ac_status=$? |
|
|
8587 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8588 | rm -f conftest.er1 |
|
|
8589 | cat conftest.err >&5 |
|
|
8590 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8591 | (exit $ac_status); } && { |
|
|
8592 | test -z "$ac_cxx_werror_flag" || |
|
|
8593 | test ! -s conftest.err |
|
|
8594 | } && test -s conftest.$ac_objext; then |
|
|
8595 | ac_lo=0 ac_mid=0 |
|
|
8596 | while :; do |
|
|
8597 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8598 | /* confdefs.h. */ |
|
|
8599 | _ACEOF |
|
|
8600 | cat confdefs.h >>conftest.$ac_ext |
|
|
8601 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8602 | /* end confdefs.h. */ |
|
|
8603 | $ac_includes_default |
|
|
8604 | typedef int ac__type_sizeof_; |
|
|
8605 | int |
|
|
8606 | main () |
|
|
8607 | { |
|
|
8608 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8609 | test_array [0] = 0 |
|
|
8610 | |
|
|
8611 | ; |
|
|
8612 | return 0; |
|
|
8613 | } |
|
|
8614 | _ACEOF |
|
|
8615 | rm -f conftest.$ac_objext |
|
|
8616 | if { (ac_try="$ac_compile" |
|
|
8617 | case "(($ac_try" in |
|
|
8618 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8619 | *) ac_try_echo=$ac_try;; |
|
|
8620 | esac |
|
|
8621 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8622 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8623 | ac_status=$? |
|
|
8624 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8625 | rm -f conftest.er1 |
|
|
8626 | cat conftest.err >&5 |
|
|
8627 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8628 | (exit $ac_status); } && { |
|
|
8629 | test -z "$ac_cxx_werror_flag" || |
|
|
8630 | test ! -s conftest.err |
|
|
8631 | } && test -s conftest.$ac_objext; then |
|
|
8632 | ac_hi=$ac_mid; break |
|
|
8633 | else |
|
|
8634 | echo "$as_me: failed program was:" >&5 |
|
|
8635 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8636 | |
|
|
8637 | ac_lo=`expr $ac_mid + 1` |
|
|
8638 | if test $ac_lo -le $ac_mid; then |
|
|
8639 | ac_lo= ac_hi= |
|
|
8640 | break |
|
|
8641 | fi |
|
|
8642 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8643 | fi |
|
|
8644 | |
|
|
8645 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8646 | done |
|
|
8647 | else |
|
|
8648 | echo "$as_me: failed program was:" >&5 |
|
|
8649 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8650 | |
|
|
8651 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8652 | /* confdefs.h. */ |
|
|
8653 | _ACEOF |
|
|
8654 | cat confdefs.h >>conftest.$ac_ext |
|
|
8655 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8656 | /* end confdefs.h. */ |
|
|
8657 | $ac_includes_default |
|
|
8658 | typedef int ac__type_sizeof_; |
|
|
8659 | int |
|
|
8660 | main () |
|
|
8661 | { |
|
|
8662 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
8663 | test_array [0] = 0 |
|
|
8664 | |
|
|
8665 | ; |
|
|
8666 | return 0; |
|
|
8667 | } |
|
|
8668 | _ACEOF |
|
|
8669 | rm -f conftest.$ac_objext |
|
|
8670 | if { (ac_try="$ac_compile" |
|
|
8671 | case "(($ac_try" in |
|
|
8672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8673 | *) ac_try_echo=$ac_try;; |
|
|
8674 | esac |
|
|
8675 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8676 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8677 | ac_status=$? |
|
|
8678 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8679 | rm -f conftest.er1 |
|
|
8680 | cat conftest.err >&5 |
|
|
8681 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8682 | (exit $ac_status); } && { |
|
|
8683 | test -z "$ac_cxx_werror_flag" || |
|
|
8684 | test ! -s conftest.err |
|
|
8685 | } && test -s conftest.$ac_objext; then |
|
|
8686 | ac_hi=-1 ac_mid=-1 |
|
|
8687 | while :; do |
|
|
8688 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8689 | /* confdefs.h. */ |
|
|
8690 | _ACEOF |
|
|
8691 | cat confdefs.h >>conftest.$ac_ext |
|
|
8692 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8693 | /* end confdefs.h. */ |
|
|
8694 | $ac_includes_default |
|
|
8695 | typedef int ac__type_sizeof_; |
|
|
8696 | int |
|
|
8697 | main () |
|
|
8698 | { |
|
|
8699 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
8700 | test_array [0] = 0 |
|
|
8701 | |
|
|
8702 | ; |
|
|
8703 | return 0; |
|
|
8704 | } |
|
|
8705 | _ACEOF |
|
|
8706 | rm -f conftest.$ac_objext |
|
|
8707 | if { (ac_try="$ac_compile" |
|
|
8708 | case "(($ac_try" in |
|
|
8709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8710 | *) ac_try_echo=$ac_try;; |
|
|
8711 | esac |
|
|
8712 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8713 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8714 | ac_status=$? |
|
|
8715 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8716 | rm -f conftest.er1 |
|
|
8717 | cat conftest.err >&5 |
|
|
8718 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8719 | (exit $ac_status); } && { |
|
|
8720 | test -z "$ac_cxx_werror_flag" || |
|
|
8721 | test ! -s conftest.err |
|
|
8722 | } && test -s conftest.$ac_objext; then |
|
|
8723 | ac_lo=$ac_mid; break |
|
|
8724 | else |
|
|
8725 | echo "$as_me: failed program was:" >&5 |
|
|
8726 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8727 | |
|
|
8728 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
8729 | if test $ac_mid -le $ac_hi; then |
|
|
8730 | ac_lo= ac_hi= |
|
|
8731 | break |
|
|
8732 | fi |
|
|
8733 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8734 | fi |
|
|
8735 | |
|
|
8736 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8737 | done |
|
|
8738 | else |
|
|
8739 | echo "$as_me: failed program was:" >&5 |
|
|
8740 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8741 | |
|
|
8742 | ac_lo= ac_hi= |
|
|
8743 | fi |
|
|
8744 | |
|
|
8745 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8746 | fi |
|
|
8747 | |
|
|
8748 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8749 | # Binary search between lo and hi bounds. |
|
|
8750 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
8751 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
8752 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8753 | /* confdefs.h. */ |
|
|
8754 | _ACEOF |
|
|
8755 | cat confdefs.h >>conftest.$ac_ext |
|
|
8756 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8757 | /* end confdefs.h. */ |
|
|
8758 | $ac_includes_default |
|
|
8759 | typedef int ac__type_sizeof_; |
|
|
8760 | int |
|
|
8761 | main () |
|
|
8762 | { |
|
|
8763 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8764 | test_array [0] = 0 |
|
|
8765 | |
|
|
8766 | ; |
|
|
8767 | return 0; |
|
|
8768 | } |
|
|
8769 | _ACEOF |
|
|
8770 | rm -f conftest.$ac_objext |
|
|
8771 | if { (ac_try="$ac_compile" |
|
|
8772 | case "(($ac_try" in |
|
|
8773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8774 | *) ac_try_echo=$ac_try;; |
|
|
8775 | esac |
|
|
8776 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8777 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8778 | ac_status=$? |
|
|
8779 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8780 | rm -f conftest.er1 |
|
|
8781 | cat conftest.err >&5 |
|
|
8782 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8783 | (exit $ac_status); } && { |
|
|
8784 | test -z "$ac_cxx_werror_flag" || |
|
|
8785 | test ! -s conftest.err |
|
|
8786 | } && test -s conftest.$ac_objext; then |
|
|
8787 | ac_hi=$ac_mid |
|
|
8788 | else |
|
|
8789 | echo "$as_me: failed program was:" >&5 |
|
|
8790 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8791 | |
|
|
8792 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
8793 | fi |
|
|
8794 | |
|
|
8795 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8796 | done |
|
|
8797 | case $ac_lo in |
|
|
8798 | ?*) ac_cv_sizeof_int=$ac_lo;; |
|
|
8799 | '') if test "$ac_cv_type_int" = yes; then |
|
|
8800 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8801 | See \`config.log' for more details." >&5 |
|
|
8802 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8803 | See \`config.log' for more details." >&2;} |
|
|
8804 | { (exit 77); exit 77; }; } |
|
|
8805 | else |
|
|
8806 | ac_cv_sizeof_int=0 |
|
|
8807 | fi ;; |
|
|
8808 | esac |
|
|
8809 | else |
|
|
8810 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8811 | /* confdefs.h. */ |
|
|
8812 | _ACEOF |
|
|
8813 | cat confdefs.h >>conftest.$ac_ext |
|
|
8814 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8815 | /* end confdefs.h. */ |
|
|
8816 | $ac_includes_default |
|
|
8817 | typedef int ac__type_sizeof_; |
|
|
8818 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8819 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8820 | #include <stdio.h> |
|
|
8821 | #include <stdlib.h> |
|
|
8822 | int |
|
|
8823 | main () |
|
|
8824 | { |
|
|
8825 | |
|
|
8826 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8827 | if (! f) |
|
|
8828 | return 1; |
|
|
8829 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8830 | { |
|
|
8831 | long int i = longval (); |
|
|
8832 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8833 | return 1; |
|
|
8834 | fprintf (f, "%ld\n", i); |
|
|
8835 | } |
|
|
8836 | else |
|
|
8837 | { |
|
|
8838 | unsigned long int i = ulongval (); |
|
|
8839 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8840 | return 1; |
|
|
8841 | fprintf (f, "%lu\n", i); |
|
|
8842 | } |
|
|
8843 | return ferror (f) || fclose (f) != 0; |
|
|
8844 | |
|
|
8845 | ; |
|
|
8846 | return 0; |
|
|
8847 | } |
|
|
8848 | _ACEOF |
|
|
8849 | rm -f conftest$ac_exeext |
|
|
8850 | if { (ac_try="$ac_link" |
|
|
8851 | case "(($ac_try" in |
|
|
8852 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8853 | *) ac_try_echo=$ac_try;; |
|
|
8854 | esac |
|
|
8855 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8856 | (eval "$ac_link") 2>&5 |
|
|
8857 | ac_status=$? |
|
|
8858 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8859 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8860 | { (case "(($ac_try" in |
|
|
8861 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8862 | *) ac_try_echo=$ac_try;; |
|
|
8863 | esac |
|
|
8864 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8865 | (eval "$ac_try") 2>&5 |
|
|
8866 | ac_status=$? |
|
|
8867 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8868 | (exit $ac_status); }; }; then |
|
|
8869 | ac_cv_sizeof_int=`cat conftest.val` |
|
|
8870 | else |
|
|
8871 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8872 | echo "$as_me: failed program was:" >&5 |
|
|
8873 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8874 | |
|
|
8875 | ( exit $ac_status ) |
|
|
8876 | if test "$ac_cv_type_int" = yes; then |
|
|
8877 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8878 | See \`config.log' for more details." >&5 |
|
|
8879 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8880 | See \`config.log' for more details." >&2;} |
|
|
8881 | { (exit 77); exit 77; }; } |
|
|
8882 | else |
|
|
8883 | ac_cv_sizeof_int=0 |
|
|
8884 | fi |
|
|
8885 | fi |
|
|
8886 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8887 | fi |
|
|
8888 | rm -f conftest.val |
|
|
8889 | fi |
|
|
8890 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
|
|
8891 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
|
|
8892 | |
|
|
8893 | |
|
|
8894 | |
|
|
8895 | cat >>confdefs.h <<_ACEOF |
|
|
8896 | #define SIZEOF_INT $ac_cv_sizeof_int |
|
|
8897 | _ACEOF |
|
|
8898 | |
|
|
8899 | |
|
|
8900 | { echo "$as_me:$LINENO: checking for long long" >&5 |
|
|
8901 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
|
|
8902 | if test "${ac_cv_type_long_long+set}" = set; then |
|
|
8903 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8904 | else |
|
|
8905 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8906 | /* confdefs.h. */ |
|
|
8907 | _ACEOF |
|
|
8908 | cat confdefs.h >>conftest.$ac_ext |
|
|
8909 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8910 | /* end confdefs.h. */ |
|
|
8911 | $ac_includes_default |
|
|
8912 | typedef long long ac__type_new_; |
|
|
8913 | int |
|
|
8914 | main () |
|
|
8915 | { |
|
|
8916 | if ((ac__type_new_ *) 0) |
|
|
8917 | return 0; |
|
|
8918 | if (sizeof (ac__type_new_)) |
|
|
8919 | return 0; |
|
|
8920 | ; |
|
|
8921 | return 0; |
|
|
8922 | } |
|
|
8923 | _ACEOF |
|
|
8924 | rm -f conftest.$ac_objext |
|
|
8925 | if { (ac_try="$ac_compile" |
|
|
8926 | case "(($ac_try" in |
|
|
8927 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8928 | *) ac_try_echo=$ac_try;; |
|
|
8929 | esac |
|
|
8930 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8931 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8932 | ac_status=$? |
|
|
8933 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8934 | rm -f conftest.er1 |
|
|
8935 | cat conftest.err >&5 |
|
|
8936 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8937 | (exit $ac_status); } && { |
|
|
8938 | test -z "$ac_cxx_werror_flag" || |
|
|
8939 | test ! -s conftest.err |
|
|
8940 | } && test -s conftest.$ac_objext; then |
|
|
8941 | ac_cv_type_long_long=yes |
|
|
8942 | else |
|
|
8943 | echo "$as_me: failed program was:" >&5 |
|
|
8944 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8945 | |
|
|
8946 | ac_cv_type_long_long=no |
|
|
8947 | fi |
|
|
8948 | |
|
|
8949 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8950 | fi |
|
|
8951 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
|
|
8952 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
|
|
8953 | |
|
|
8954 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8955 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8956 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8957 | # This bug is HP SR number 8606223364. |
|
|
8958 | { echo "$as_me:$LINENO: checking size of long long" >&5 |
|
|
8959 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
|
|
8960 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
|
|
8961 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8962 | else |
|
|
8963 | if test "$cross_compiling" = yes; then |
|
|
8964 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8965 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8966 | /* confdefs.h. */ |
|
|
8967 | _ACEOF |
|
|
8968 | cat confdefs.h >>conftest.$ac_ext |
|
|
8969 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8970 | /* end confdefs.h. */ |
|
|
8971 | $ac_includes_default |
|
|
8972 | typedef long long ac__type_sizeof_; |
|
|
8973 | int |
|
|
8974 | main () |
|
|
8975 | { |
|
|
8976 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8977 | test_array [0] = 0 |
|
|
8978 | |
|
|
8979 | ; |
|
|
8980 | return 0; |
|
|
8981 | } |
|
|
8982 | _ACEOF |
|
|
8983 | rm -f conftest.$ac_objext |
|
|
8984 | if { (ac_try="$ac_compile" |
|
|
8985 | case "(($ac_try" in |
|
|
8986 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8987 | *) ac_try_echo=$ac_try;; |
|
|
8988 | esac |
|
|
8989 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8990 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8991 | ac_status=$? |
|
|
8992 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8993 | rm -f conftest.er1 |
|
|
8994 | cat conftest.err >&5 |
|
|
8995 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8996 | (exit $ac_status); } && { |
|
|
8997 | test -z "$ac_cxx_werror_flag" || |
|
|
8998 | test ! -s conftest.err |
|
|
8999 | } && test -s conftest.$ac_objext; then |
|
|
9000 | ac_lo=0 ac_mid=0 |
|
|
9001 | while :; do |
|
|
9002 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9003 | /* confdefs.h. */ |
|
|
9004 | _ACEOF |
|
|
9005 | cat confdefs.h >>conftest.$ac_ext |
|
|
9006 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9007 | /* end confdefs.h. */ |
|
|
9008 | $ac_includes_default |
|
|
9009 | typedef long long ac__type_sizeof_; |
|
|
9010 | int |
|
|
9011 | main () |
|
|
9012 | { |
|
|
9013 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9014 | test_array [0] = 0 |
|
|
9015 | |
|
|
9016 | ; |
|
|
9017 | return 0; |
|
|
9018 | } |
|
|
9019 | _ACEOF |
|
|
9020 | rm -f conftest.$ac_objext |
|
|
9021 | if { (ac_try="$ac_compile" |
|
|
9022 | case "(($ac_try" in |
|
|
9023 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9024 | *) ac_try_echo=$ac_try;; |
|
|
9025 | esac |
|
|
9026 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9027 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9028 | ac_status=$? |
|
|
9029 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9030 | rm -f conftest.er1 |
|
|
9031 | cat conftest.err >&5 |
|
|
9032 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9033 | (exit $ac_status); } && { |
|
|
9034 | test -z "$ac_cxx_werror_flag" || |
|
|
9035 | test ! -s conftest.err |
|
|
9036 | } && test -s conftest.$ac_objext; then |
|
|
9037 | ac_hi=$ac_mid; break |
|
|
9038 | else |
|
|
9039 | echo "$as_me: failed program was:" >&5 |
|
|
9040 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9041 | |
|
|
9042 | ac_lo=`expr $ac_mid + 1` |
|
|
9043 | if test $ac_lo -le $ac_mid; then |
|
|
9044 | ac_lo= ac_hi= |
|
|
9045 | break |
|
|
9046 | fi |
|
|
9047 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9048 | fi |
|
|
9049 | |
|
|
9050 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9051 | done |
|
|
9052 | else |
|
|
9053 | echo "$as_me: failed program was:" >&5 |
|
|
9054 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9055 | |
|
|
9056 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9057 | /* confdefs.h. */ |
|
|
9058 | _ACEOF |
|
|
9059 | cat confdefs.h >>conftest.$ac_ext |
|
|
9060 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9061 | /* end confdefs.h. */ |
|
|
9062 | $ac_includes_default |
|
|
9063 | typedef long long ac__type_sizeof_; |
|
|
9064 | int |
|
|
9065 | main () |
|
|
9066 | { |
|
|
9067 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9068 | test_array [0] = 0 |
|
|
9069 | |
|
|
9070 | ; |
|
|
9071 | return 0; |
|
|
9072 | } |
|
|
9073 | _ACEOF |
|
|
9074 | rm -f conftest.$ac_objext |
|
|
9075 | if { (ac_try="$ac_compile" |
|
|
9076 | case "(($ac_try" in |
|
|
9077 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9078 | *) ac_try_echo=$ac_try;; |
|
|
9079 | esac |
|
|
9080 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9081 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9082 | ac_status=$? |
|
|
9083 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9084 | rm -f conftest.er1 |
|
|
9085 | cat conftest.err >&5 |
|
|
9086 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9087 | (exit $ac_status); } && { |
|
|
9088 | test -z "$ac_cxx_werror_flag" || |
|
|
9089 | test ! -s conftest.err |
|
|
9090 | } && test -s conftest.$ac_objext; then |
|
|
9091 | ac_hi=-1 ac_mid=-1 |
|
|
9092 | while :; do |
|
|
9093 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9094 | /* confdefs.h. */ |
|
|
9095 | _ACEOF |
|
|
9096 | cat confdefs.h >>conftest.$ac_ext |
|
|
9097 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9098 | /* end confdefs.h. */ |
|
|
9099 | $ac_includes_default |
|
|
9100 | typedef long long ac__type_sizeof_; |
|
|
9101 | int |
|
|
9102 | main () |
|
|
9103 | { |
|
|
9104 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9105 | test_array [0] = 0 |
|
|
9106 | |
|
|
9107 | ; |
|
|
9108 | return 0; |
|
|
9109 | } |
|
|
9110 | _ACEOF |
|
|
9111 | rm -f conftest.$ac_objext |
|
|
9112 | if { (ac_try="$ac_compile" |
|
|
9113 | case "(($ac_try" in |
|
|
9114 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9115 | *) ac_try_echo=$ac_try;; |
|
|
9116 | esac |
|
|
9117 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9118 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9119 | ac_status=$? |
|
|
9120 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9121 | rm -f conftest.er1 |
|
|
9122 | cat conftest.err >&5 |
|
|
9123 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9124 | (exit $ac_status); } && { |
|
|
9125 | test -z "$ac_cxx_werror_flag" || |
|
|
9126 | test ! -s conftest.err |
|
|
9127 | } && test -s conftest.$ac_objext; then |
|
|
9128 | ac_lo=$ac_mid; break |
|
|
9129 | else |
|
|
9130 | echo "$as_me: failed program was:" >&5 |
|
|
9131 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9132 | |
|
|
9133 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9134 | if test $ac_mid -le $ac_hi; then |
|
|
9135 | ac_lo= ac_hi= |
|
|
9136 | break |
|
|
9137 | fi |
|
|
9138 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9139 | fi |
|
|
9140 | |
|
|
9141 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9142 | done |
|
|
9143 | else |
|
|
9144 | echo "$as_me: failed program was:" >&5 |
|
|
9145 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9146 | |
|
|
9147 | ac_lo= ac_hi= |
|
|
9148 | fi |
|
|
9149 | |
|
|
9150 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9151 | fi |
|
|
9152 | |
|
|
9153 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9154 | # Binary search between lo and hi bounds. |
|
|
9155 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9156 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9157 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9158 | /* confdefs.h. */ |
|
|
9159 | _ACEOF |
|
|
9160 | cat confdefs.h >>conftest.$ac_ext |
|
|
9161 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9162 | /* end confdefs.h. */ |
|
|
9163 | $ac_includes_default |
|
|
9164 | typedef long long ac__type_sizeof_; |
|
|
9165 | int |
|
|
9166 | main () |
|
|
9167 | { |
|
|
9168 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9169 | test_array [0] = 0 |
|
|
9170 | |
|
|
9171 | ; |
|
|
9172 | return 0; |
|
|
9173 | } |
|
|
9174 | _ACEOF |
|
|
9175 | rm -f conftest.$ac_objext |
|
|
9176 | if { (ac_try="$ac_compile" |
|
|
9177 | case "(($ac_try" in |
|
|
9178 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9179 | *) ac_try_echo=$ac_try;; |
|
|
9180 | esac |
|
|
9181 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9182 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9183 | ac_status=$? |
|
|
9184 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9185 | rm -f conftest.er1 |
|
|
9186 | cat conftest.err >&5 |
|
|
9187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9188 | (exit $ac_status); } && { |
|
|
9189 | test -z "$ac_cxx_werror_flag" || |
|
|
9190 | test ! -s conftest.err |
|
|
9191 | } && test -s conftest.$ac_objext; then |
|
|
9192 | ac_hi=$ac_mid |
|
|
9193 | else |
|
|
9194 | echo "$as_me: failed program was:" >&5 |
|
|
9195 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9196 | |
|
|
9197 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9198 | fi |
|
|
9199 | |
|
|
9200 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9201 | done |
|
|
9202 | case $ac_lo in |
|
|
9203 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
|
|
9204 | '') if test "$ac_cv_type_long_long" = yes; then |
|
|
9205 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9206 | See \`config.log' for more details." >&5 |
|
|
9207 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9208 | See \`config.log' for more details." >&2;} |
|
|
9209 | { (exit 77); exit 77; }; } |
|
|
9210 | else |
|
|
9211 | ac_cv_sizeof_long_long=0 |
|
|
9212 | fi ;; |
|
|
9213 | esac |
|
|
9214 | else |
|
|
9215 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9216 | /* confdefs.h. */ |
|
|
9217 | _ACEOF |
|
|
9218 | cat confdefs.h >>conftest.$ac_ext |
|
|
9219 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9220 | /* end confdefs.h. */ |
|
|
9221 | $ac_includes_default |
|
|
9222 | typedef long long ac__type_sizeof_; |
|
|
9223 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9224 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9225 | #include <stdio.h> |
|
|
9226 | #include <stdlib.h> |
|
|
9227 | int |
|
|
9228 | main () |
|
|
9229 | { |
|
|
9230 | |
|
|
9231 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9232 | if (! f) |
|
|
9233 | return 1; |
|
|
9234 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9235 | { |
|
|
9236 | long int i = longval (); |
|
|
9237 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9238 | return 1; |
|
|
9239 | fprintf (f, "%ld\n", i); |
|
|
9240 | } |
|
|
9241 | else |
|
|
9242 | { |
|
|
9243 | unsigned long int i = ulongval (); |
|
|
9244 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9245 | return 1; |
|
|
9246 | fprintf (f, "%lu\n", i); |
|
|
9247 | } |
|
|
9248 | return ferror (f) || fclose (f) != 0; |
|
|
9249 | |
|
|
9250 | ; |
|
|
9251 | return 0; |
|
|
9252 | } |
|
|
9253 | _ACEOF |
|
|
9254 | rm -f conftest$ac_exeext |
|
|
9255 | if { (ac_try="$ac_link" |
|
|
9256 | case "(($ac_try" in |
|
|
9257 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9258 | *) ac_try_echo=$ac_try;; |
|
|
9259 | esac |
|
|
9260 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9261 | (eval "$ac_link") 2>&5 |
|
|
9262 | ac_status=$? |
|
|
9263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9264 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9265 | { (case "(($ac_try" in |
|
|
9266 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9267 | *) ac_try_echo=$ac_try;; |
|
|
9268 | esac |
|
|
9269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9270 | (eval "$ac_try") 2>&5 |
|
|
9271 | ac_status=$? |
|
|
9272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9273 | (exit $ac_status); }; }; then |
|
|
9274 | ac_cv_sizeof_long_long=`cat conftest.val` |
|
|
9275 | else |
|
|
9276 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9277 | echo "$as_me: failed program was:" >&5 |
|
|
9278 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9279 | |
|
|
9280 | ( exit $ac_status ) |
|
|
9281 | if test "$ac_cv_type_long_long" = yes; then |
|
|
9282 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9283 | See \`config.log' for more details." >&5 |
|
|
9284 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9285 | See \`config.log' for more details." >&2;} |
|
|
9286 | { (exit 77); exit 77; }; } |
|
|
9287 | else |
|
|
9288 | ac_cv_sizeof_long_long=0 |
|
|
9289 | fi |
|
|
9290 | fi |
|
|
9291 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9292 | fi |
|
|
9293 | rm -f conftest.val |
|
|
9294 | fi |
|
|
9295 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
|
|
9296 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
|
|
9297 | |
|
|
9298 | |
|
|
9299 | |
|
|
9300 | cat >>confdefs.h <<_ACEOF |
|
|
9301 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
|
|
9302 | _ACEOF |
|
|
9303 | |
|
|
9304 | |
|
|
9305 | { echo "$as_me:$LINENO: checking for int *" >&5 |
|
|
9306 | echo $ECHO_N "checking for int *... $ECHO_C" >&6; } |
|
|
9307 | if test "${ac_cv_type_int_p+set}" = set; then |
|
|
9308 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9309 | else |
|
|
9310 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9311 | /* confdefs.h. */ |
|
|
9312 | _ACEOF |
|
|
9313 | cat confdefs.h >>conftest.$ac_ext |
|
|
9314 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9315 | /* end confdefs.h. */ |
|
|
9316 | $ac_includes_default |
|
|
9317 | typedef int * ac__type_new_; |
|
|
9318 | int |
|
|
9319 | main () |
|
|
9320 | { |
|
|
9321 | if ((ac__type_new_ *) 0) |
|
|
9322 | return 0; |
|
|
9323 | if (sizeof (ac__type_new_)) |
|
|
9324 | return 0; |
|
|
9325 | ; |
|
|
9326 | return 0; |
|
|
9327 | } |
|
|
9328 | _ACEOF |
|
|
9329 | rm -f conftest.$ac_objext |
|
|
9330 | if { (ac_try="$ac_compile" |
|
|
9331 | case "(($ac_try" in |
|
|
9332 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9333 | *) ac_try_echo=$ac_try;; |
|
|
9334 | esac |
|
|
9335 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9336 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9337 | ac_status=$? |
|
|
9338 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9339 | rm -f conftest.er1 |
|
|
9340 | cat conftest.err >&5 |
|
|
9341 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9342 | (exit $ac_status); } && { |
|
|
9343 | test -z "$ac_cxx_werror_flag" || |
|
|
9344 | test ! -s conftest.err |
|
|
9345 | } && test -s conftest.$ac_objext; then |
|
|
9346 | ac_cv_type_int_p=yes |
|
|
9347 | else |
|
|
9348 | echo "$as_me: failed program was:" >&5 |
|
|
9349 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9350 | |
|
|
9351 | ac_cv_type_int_p=no |
|
|
9352 | fi |
|
|
9353 | |
|
|
9354 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9355 | fi |
|
|
9356 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5 |
|
|
9357 | echo "${ECHO_T}$ac_cv_type_int_p" >&6; } |
|
|
9358 | |
|
|
9359 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9360 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9361 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9362 | # This bug is HP SR number 8606223364. |
|
|
9363 | { echo "$as_me:$LINENO: checking size of int *" >&5 |
|
|
9364 | echo $ECHO_N "checking size of int *... $ECHO_C" >&6; } |
|
|
9365 | if test "${ac_cv_sizeof_int_p+set}" = set; then |
|
|
9366 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9367 | else |
|
|
9368 | if test "$cross_compiling" = yes; then |
|
|
9369 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9370 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9371 | /* confdefs.h. */ |
|
|
9372 | _ACEOF |
|
|
9373 | cat confdefs.h >>conftest.$ac_ext |
|
|
9374 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9375 | /* end confdefs.h. */ |
|
|
9376 | $ac_includes_default |
|
|
9377 | typedef int * ac__type_sizeof_; |
|
|
9378 | int |
|
|
9379 | main () |
|
|
9380 | { |
|
|
9381 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9382 | test_array [0] = 0 |
|
|
9383 | |
|
|
9384 | ; |
|
|
9385 | return 0; |
|
|
9386 | } |
|
|
9387 | _ACEOF |
|
|
9388 | rm -f conftest.$ac_objext |
|
|
9389 | if { (ac_try="$ac_compile" |
|
|
9390 | case "(($ac_try" in |
|
|
9391 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9392 | *) ac_try_echo=$ac_try;; |
|
|
9393 | esac |
|
|
9394 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9395 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9396 | ac_status=$? |
|
|
9397 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9398 | rm -f conftest.er1 |
|
|
9399 | cat conftest.err >&5 |
|
|
9400 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9401 | (exit $ac_status); } && { |
|
|
9402 | test -z "$ac_cxx_werror_flag" || |
|
|
9403 | test ! -s conftest.err |
|
|
9404 | } && test -s conftest.$ac_objext; then |
|
|
9405 | ac_lo=0 ac_mid=0 |
|
|
9406 | while :; do |
|
|
9407 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9408 | /* confdefs.h. */ |
|
|
9409 | _ACEOF |
|
|
9410 | cat confdefs.h >>conftest.$ac_ext |
|
|
9411 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9412 | /* end confdefs.h. */ |
|
|
9413 | $ac_includes_default |
|
|
9414 | typedef int * ac__type_sizeof_; |
|
|
9415 | int |
|
|
9416 | main () |
|
|
9417 | { |
|
|
9418 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9419 | test_array [0] = 0 |
|
|
9420 | |
|
|
9421 | ; |
|
|
9422 | return 0; |
|
|
9423 | } |
|
|
9424 | _ACEOF |
|
|
9425 | rm -f conftest.$ac_objext |
|
|
9426 | if { (ac_try="$ac_compile" |
|
|
9427 | case "(($ac_try" in |
|
|
9428 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9429 | *) ac_try_echo=$ac_try;; |
|
|
9430 | esac |
|
|
9431 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9432 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9433 | ac_status=$? |
|
|
9434 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9435 | rm -f conftest.er1 |
|
|
9436 | cat conftest.err >&5 |
|
|
9437 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9438 | (exit $ac_status); } && { |
|
|
9439 | test -z "$ac_cxx_werror_flag" || |
|
|
9440 | test ! -s conftest.err |
|
|
9441 | } && test -s conftest.$ac_objext; then |
|
|
9442 | ac_hi=$ac_mid; break |
|
|
9443 | else |
|
|
9444 | echo "$as_me: failed program was:" >&5 |
|
|
9445 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9446 | |
|
|
9447 | ac_lo=`expr $ac_mid + 1` |
|
|
9448 | if test $ac_lo -le $ac_mid; then |
|
|
9449 | ac_lo= ac_hi= |
|
|
9450 | break |
|
|
9451 | fi |
|
|
9452 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9453 | fi |
|
|
9454 | |
|
|
9455 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9456 | done |
|
|
9457 | else |
|
|
9458 | echo "$as_me: failed program was:" >&5 |
|
|
9459 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9460 | |
|
|
9461 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9462 | /* confdefs.h. */ |
|
|
9463 | _ACEOF |
|
|
9464 | cat confdefs.h >>conftest.$ac_ext |
|
|
9465 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9466 | /* end confdefs.h. */ |
|
|
9467 | $ac_includes_default |
|
|
9468 | typedef int * ac__type_sizeof_; |
|
|
9469 | int |
|
|
9470 | main () |
|
|
9471 | { |
|
|
9472 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9473 | test_array [0] = 0 |
|
|
9474 | |
|
|
9475 | ; |
|
|
9476 | return 0; |
|
|
9477 | } |
|
|
9478 | _ACEOF |
|
|
9479 | rm -f conftest.$ac_objext |
|
|
9480 | if { (ac_try="$ac_compile" |
|
|
9481 | case "(($ac_try" in |
|
|
9482 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9483 | *) ac_try_echo=$ac_try;; |
|
|
9484 | esac |
|
|
9485 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9486 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9487 | ac_status=$? |
|
|
9488 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9489 | rm -f conftest.er1 |
|
|
9490 | cat conftest.err >&5 |
|
|
9491 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9492 | (exit $ac_status); } && { |
|
|
9493 | test -z "$ac_cxx_werror_flag" || |
|
|
9494 | test ! -s conftest.err |
|
|
9495 | } && test -s conftest.$ac_objext; then |
|
|
9496 | ac_hi=-1 ac_mid=-1 |
|
|
9497 | while :; do |
|
|
9498 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9499 | /* confdefs.h. */ |
|
|
9500 | _ACEOF |
|
|
9501 | cat confdefs.h >>conftest.$ac_ext |
|
|
9502 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9503 | /* end confdefs.h. */ |
|
|
9504 | $ac_includes_default |
|
|
9505 | typedef int * ac__type_sizeof_; |
|
|
9506 | int |
|
|
9507 | main () |
|
|
9508 | { |
|
|
9509 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9510 | test_array [0] = 0 |
|
|
9511 | |
|
|
9512 | ; |
|
|
9513 | return 0; |
|
|
9514 | } |
|
|
9515 | _ACEOF |
|
|
9516 | rm -f conftest.$ac_objext |
|
|
9517 | if { (ac_try="$ac_compile" |
|
|
9518 | case "(($ac_try" in |
|
|
9519 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9520 | *) ac_try_echo=$ac_try;; |
|
|
9521 | esac |
|
|
9522 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9523 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9524 | ac_status=$? |
|
|
9525 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9526 | rm -f conftest.er1 |
|
|
9527 | cat conftest.err >&5 |
|
|
9528 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9529 | (exit $ac_status); } && { |
|
|
9530 | test -z "$ac_cxx_werror_flag" || |
|
|
9531 | test ! -s conftest.err |
|
|
9532 | } && test -s conftest.$ac_objext; then |
|
|
9533 | ac_lo=$ac_mid; break |
|
|
9534 | else |
|
|
9535 | echo "$as_me: failed program was:" >&5 |
|
|
9536 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9537 | |
|
|
9538 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9539 | if test $ac_mid -le $ac_hi; then |
|
|
9540 | ac_lo= ac_hi= |
|
|
9541 | break |
|
|
9542 | fi |
|
|
9543 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9544 | fi |
|
|
9545 | |
|
|
9546 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9547 | done |
|
|
9548 | else |
|
|
9549 | echo "$as_me: failed program was:" >&5 |
|
|
9550 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9551 | |
|
|
9552 | ac_lo= ac_hi= |
|
|
9553 | fi |
|
|
9554 | |
|
|
9555 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9556 | fi |
|
|
9557 | |
|
|
9558 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9559 | # Binary search between lo and hi bounds. |
|
|
9560 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9561 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9562 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9563 | /* confdefs.h. */ |
|
|
9564 | _ACEOF |
|
|
9565 | cat confdefs.h >>conftest.$ac_ext |
|
|
9566 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9567 | /* end confdefs.h. */ |
|
|
9568 | $ac_includes_default |
|
|
9569 | typedef int * ac__type_sizeof_; |
|
|
9570 | int |
|
|
9571 | main () |
|
|
9572 | { |
|
|
9573 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9574 | test_array [0] = 0 |
|
|
9575 | |
|
|
9576 | ; |
|
|
9577 | return 0; |
|
|
9578 | } |
|
|
9579 | _ACEOF |
|
|
9580 | rm -f conftest.$ac_objext |
|
|
9581 | if { (ac_try="$ac_compile" |
|
|
9582 | case "(($ac_try" in |
|
|
9583 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9584 | *) ac_try_echo=$ac_try;; |
|
|
9585 | esac |
|
|
9586 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9587 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9588 | ac_status=$? |
|
|
9589 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9590 | rm -f conftest.er1 |
|
|
9591 | cat conftest.err >&5 |
|
|
9592 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9593 | (exit $ac_status); } && { |
|
|
9594 | test -z "$ac_cxx_werror_flag" || |
|
|
9595 | test ! -s conftest.err |
|
|
9596 | } && test -s conftest.$ac_objext; then |
|
|
9597 | ac_hi=$ac_mid |
|
|
9598 | else |
|
|
9599 | echo "$as_me: failed program was:" >&5 |
|
|
9600 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9601 | |
|
|
9602 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9603 | fi |
|
|
9604 | |
|
|
9605 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9606 | done |
|
|
9607 | case $ac_lo in |
|
|
9608 | ?*) ac_cv_sizeof_int_p=$ac_lo;; |
|
|
9609 | '') if test "$ac_cv_type_int_p" = yes; then |
|
|
9610 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9611 | See \`config.log' for more details." >&5 |
|
|
9612 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9613 | See \`config.log' for more details." >&2;} |
|
|
9614 | { (exit 77); exit 77; }; } |
|
|
9615 | else |
|
|
9616 | ac_cv_sizeof_int_p=0 |
|
|
9617 | fi ;; |
|
|
9618 | esac |
|
|
9619 | else |
|
|
9620 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9621 | /* confdefs.h. */ |
|
|
9622 | _ACEOF |
|
|
9623 | cat confdefs.h >>conftest.$ac_ext |
|
|
9624 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9625 | /* end confdefs.h. */ |
|
|
9626 | $ac_includes_default |
|
|
9627 | typedef int * ac__type_sizeof_; |
|
|
9628 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9629 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9630 | #include <stdio.h> |
|
|
9631 | #include <stdlib.h> |
|
|
9632 | int |
|
|
9633 | main () |
|
|
9634 | { |
|
|
9635 | |
|
|
9636 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9637 | if (! f) |
|
|
9638 | return 1; |
|
|
9639 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9640 | { |
|
|
9641 | long int i = longval (); |
|
|
9642 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9643 | return 1; |
|
|
9644 | fprintf (f, "%ld\n", i); |
|
|
9645 | } |
|
|
9646 | else |
|
|
9647 | { |
|
|
9648 | unsigned long int i = ulongval (); |
|
|
9649 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9650 | return 1; |
|
|
9651 | fprintf (f, "%lu\n", i); |
|
|
9652 | } |
|
|
9653 | return ferror (f) || fclose (f) != 0; |
|
|
9654 | |
|
|
9655 | ; |
|
|
9656 | return 0; |
|
|
9657 | } |
|
|
9658 | _ACEOF |
|
|
9659 | rm -f conftest$ac_exeext |
|
|
9660 | if { (ac_try="$ac_link" |
|
|
9661 | case "(($ac_try" in |
|
|
9662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9663 | *) ac_try_echo=$ac_try;; |
|
|
9664 | esac |
|
|
9665 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9666 | (eval "$ac_link") 2>&5 |
|
|
9667 | ac_status=$? |
|
|
9668 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9669 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9670 | { (case "(($ac_try" in |
|
|
9671 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9672 | *) ac_try_echo=$ac_try;; |
|
|
9673 | esac |
|
|
9674 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9675 | (eval "$ac_try") 2>&5 |
|
|
9676 | ac_status=$? |
|
|
9677 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9678 | (exit $ac_status); }; }; then |
|
|
9679 | ac_cv_sizeof_int_p=`cat conftest.val` |
|
|
9680 | else |
|
|
9681 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9682 | echo "$as_me: failed program was:" >&5 |
|
|
9683 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9684 | |
|
|
9685 | ( exit $ac_status ) |
|
|
9686 | if test "$ac_cv_type_int_p" = yes; then |
|
|
9687 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9688 | See \`config.log' for more details." >&5 |
|
|
9689 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9690 | See \`config.log' for more details." >&2;} |
|
|
9691 | { (exit 77); exit 77; }; } |
|
|
9692 | else |
|
|
9693 | ac_cv_sizeof_int_p=0 |
|
|
9694 | fi |
|
|
9695 | fi |
|
|
9696 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9697 | fi |
|
|
9698 | rm -f conftest.val |
|
|
9699 | fi |
|
|
9700 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5 |
|
|
9701 | echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; } |
|
|
9702 | |
|
|
9703 | |
|
|
9704 | |
|
|
9705 | cat >>confdefs.h <<_ACEOF |
|
|
9706 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
|
|
9707 | _ACEOF |
|
|
9708 | |
|
|
9709 | |
|
|
9710 | |
|
|
9711 | |
|
|
9712 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
|
|
9713 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
|
|
9714 | if test "${rxvt_cv_int16_t+set}" = set; then |
|
|
9715 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9716 | else |
|
|
9717 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9718 | /* confdefs.h. */ |
|
|
9719 | _ACEOF |
|
|
9720 | cat confdefs.h >>conftest.$ac_ext |
|
|
9721 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9722 | /* end confdefs.h. */ |
|
|
9723 | #include <stdint.h> |
|
|
9724 | int |
|
|
9725 | main () |
|
|
9726 | { |
|
|
9727 | int16_t dummy; |
|
|
9728 | ; |
|
|
9729 | return 0; |
|
|
9730 | } |
|
|
9731 | _ACEOF |
|
|
9732 | rm -f conftest.$ac_objext |
|
|
9733 | if { (ac_try="$ac_compile" |
|
|
9734 | case "(($ac_try" in |
|
|
9735 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9736 | *) ac_try_echo=$ac_try;; |
|
|
9737 | esac |
|
|
9738 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9739 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9740 | ac_status=$? |
|
|
9741 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9742 | rm -f conftest.er1 |
|
|
9743 | cat conftest.err >&5 |
|
|
9744 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9745 | (exit $ac_status); } && { |
|
|
9746 | test -z "$ac_cxx_werror_flag" || |
|
|
9747 | test ! -s conftest.err |
|
|
9748 | } && test -s conftest.$ac_objext; then |
|
|
9749 | rxvt_cv_int16_t=yes |
|
|
9750 | else |
|
|
9751 | echo "$as_me: failed program was:" >&5 |
|
|
9752 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9753 | |
|
|
9754 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9755 | rxvt_cv_int16_t=" char" |
|
|
9756 | else |
|
|
9757 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9758 | rxvt_cv_int16_t=" short" |
|
|
9759 | else |
|
|
9760 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9761 | rxvt_cv_int16_t=" int" |
|
|
9762 | else |
|
|
9763 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9764 | rxvt_cv_int16_t=" long" |
|
|
9765 | else |
|
|
9766 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9767 | rxvt_cv_int16_t=" long long" |
|
|
9768 | else |
|
|
9769 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
|
|
9770 | fi |
|
|
9771 | fi |
|
|
9772 | fi |
|
|
9773 | fi |
|
|
9774 | fi |
|
|
9775 | fi |
|
|
9776 | |
|
|
9777 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9778 | fi |
|
|
9779 | { echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5 |
|
|
9780 | echo "${ECHO_T}$rxvt_cv_int16_t" >&6; } |
|
|
9781 | if test x"$rxvt_cv_int16_t" != xyes; then |
|
|
9782 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
|
|
9783 | else |
|
|
9784 | if test x"" = x; then |
|
|
9785 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9786 | else |
|
|
9787 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9788 | fi |
|
|
9789 | fi |
|
|
9790 | |
|
|
9791 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
9792 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
9793 | if test "${rxvt_cv_uint16_t+set}" = set; then |
|
|
9794 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9795 | else |
|
|
9796 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9797 | /* confdefs.h. */ |
|
|
9798 | _ACEOF |
|
|
9799 | cat confdefs.h >>conftest.$ac_ext |
|
|
9800 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9801 | /* end confdefs.h. */ |
|
|
9802 | #include <stdint.h> |
|
|
9803 | int |
|
|
9804 | main () |
|
|
9805 | { |
|
|
9806 | uint16_t dummy; |
|
|
9807 | ; |
|
|
9808 | return 0; |
|
|
9809 | } |
|
|
9810 | _ACEOF |
|
|
9811 | rm -f conftest.$ac_objext |
|
|
9812 | if { (ac_try="$ac_compile" |
|
|
9813 | case "(($ac_try" in |
|
|
9814 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9815 | *) ac_try_echo=$ac_try;; |
|
|
9816 | esac |
|
|
9817 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9818 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9819 | ac_status=$? |
|
|
9820 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9821 | rm -f conftest.er1 |
|
|
9822 | cat conftest.err >&5 |
|
|
9823 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9824 | (exit $ac_status); } && { |
|
|
9825 | test -z "$ac_cxx_werror_flag" || |
|
|
9826 | test ! -s conftest.err |
|
|
9827 | } && test -s conftest.$ac_objext; then |
|
|
9828 | rxvt_cv_uint16_t=yes |
|
|
9829 | else |
|
|
9830 | echo "$as_me: failed program was:" >&5 |
|
|
9831 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9832 | |
|
|
9833 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9834 | rxvt_cv_uint16_t="unsigned char" |
|
|
9835 | else |
|
|
9836 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9837 | rxvt_cv_uint16_t="unsigned short" |
|
|
9838 | else |
|
|
9839 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9840 | rxvt_cv_uint16_t="unsigned int" |
|
|
9841 | else |
|
|
9842 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9843 | rxvt_cv_uint16_t="unsigned long" |
|
|
9844 | else |
|
|
9845 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9846 | rxvt_cv_uint16_t="unsigned long long" |
|
|
9847 | else |
|
|
9848 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
|
|
9849 | fi |
|
|
9850 | fi |
|
|
9851 | fi |
|
|
9852 | fi |
|
|
9853 | fi |
|
|
9854 | fi |
|
|
9855 | |
|
|
9856 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9857 | fi |
|
|
9858 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5 |
|
|
9859 | echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; } |
|
|
9860 | if test x"$rxvt_cv_uint16_t" != xyes; then |
|
|
9861 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
|
|
9862 | else |
|
|
9863 | if test x"unsigned" = x; then |
|
|
9864 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
|
|
9865 | else |
|
|
9866 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
|
|
9867 | fi |
|
|
9868 | fi |
|
|
9869 | |
|
|
9870 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
9871 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
9872 | if test "${rxvt_cv_int32_t+set}" = set; then |
|
|
9873 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9874 | else |
|
|
9875 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9876 | /* confdefs.h. */ |
|
|
9877 | _ACEOF |
|
|
9878 | cat confdefs.h >>conftest.$ac_ext |
|
|
9879 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9880 | /* end confdefs.h. */ |
|
|
9881 | #include <stdint.h> |
|
|
9882 | int |
|
|
9883 | main () |
|
|
9884 | { |
|
|
9885 | int32_t dummy; |
|
|
9886 | ; |
|
|
9887 | return 0; |
|
|
9888 | } |
|
|
9889 | _ACEOF |
|
|
9890 | rm -f conftest.$ac_objext |
|
|
9891 | if { (ac_try="$ac_compile" |
|
|
9892 | case "(($ac_try" in |
|
|
9893 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9894 | *) ac_try_echo=$ac_try;; |
|
|
9895 | esac |
|
|
9896 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9897 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9898 | ac_status=$? |
|
|
9899 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9900 | rm -f conftest.er1 |
|
|
9901 | cat conftest.err >&5 |
|
|
9902 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9903 | (exit $ac_status); } && { |
|
|
9904 | test -z "$ac_cxx_werror_flag" || |
|
|
9905 | test ! -s conftest.err |
|
|
9906 | } && test -s conftest.$ac_objext; then |
|
|
9907 | rxvt_cv_int32_t=yes |
|
|
9908 | else |
|
|
9909 | echo "$as_me: failed program was:" >&5 |
|
|
9910 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9911 | |
|
|
9912 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
9913 | rxvt_cv_int32_t=" char" |
|
|
9914 | else |
|
|
9915 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
9916 | rxvt_cv_int32_t=" short" |
|
|
9917 | else |
|
|
9918 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
9919 | rxvt_cv_int32_t=" int" |
|
|
9920 | else |
|
|
9921 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
9922 | rxvt_cv_int32_t=" long" |
|
|
9923 | else |
|
|
9924 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
9925 | rxvt_cv_int32_t=" long long" |
|
|
9926 | else |
|
|
9927 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
|
|
9928 | fi |
|
|
9929 | fi |
|
|
9930 | fi |
|
|
9931 | fi |
|
|
9932 | fi |
|
|
9933 | fi |
|
|
9934 | |
|
|
9935 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9936 | fi |
|
|
9937 | { echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5 |
|
|
9938 | echo "${ECHO_T}$rxvt_cv_int32_t" >&6; } |
|
|
9939 | if test x"$rxvt_cv_int32_t" != xyes; then |
|
|
9940 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
|
|
9941 | else |
|
|
9942 | if test x"" = x; then |
|
|
9943 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
9944 | else |
|
|
9945 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
9946 | fi |
|
|
9947 | fi |
|
|
9948 | |
|
|
9949 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
9950 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
9951 | if test "${rxvt_cv_uint32_t+set}" = set; then |
|
|
9952 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9953 | else |
|
|
9954 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9955 | /* confdefs.h. */ |
|
|
9956 | _ACEOF |
|
|
9957 | cat confdefs.h >>conftest.$ac_ext |
|
|
9958 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9959 | /* end confdefs.h. */ |
|
|
9960 | #include <stdint.h> |
|
|
9961 | int |
|
|
9962 | main () |
|
|
9963 | { |
|
|
9964 | uint32_t dummy; |
|
|
9965 | ; |
|
|
9966 | return 0; |
|
|
9967 | } |
|
|
9968 | _ACEOF |
|
|
9969 | rm -f conftest.$ac_objext |
|
|
9970 | if { (ac_try="$ac_compile" |
|
|
9971 | case "(($ac_try" in |
|
|
9972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9973 | *) ac_try_echo=$ac_try;; |
|
|
9974 | esac |
|
|
9975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9976 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9977 | ac_status=$? |
|
|
9978 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9979 | rm -f conftest.er1 |
|
|
9980 | cat conftest.err >&5 |
|
|
9981 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9982 | (exit $ac_status); } && { |
|
|
9983 | test -z "$ac_cxx_werror_flag" || |
|
|
9984 | test ! -s conftest.err |
|
|
9985 | } && test -s conftest.$ac_objext; then |
|
|
9986 | rxvt_cv_uint32_t=yes |
|
|
9987 | else |
|
|
9988 | echo "$as_me: failed program was:" >&5 |
|
|
9989 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9990 | |
|
|
9991 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
9992 | rxvt_cv_uint32_t="unsigned char" |
|
|
9993 | else |
|
|
9994 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
9995 | rxvt_cv_uint32_t="unsigned short" |
|
|
9996 | else |
|
|
9997 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
9998 | rxvt_cv_uint32_t="unsigned int" |
|
|
9999 | else |
|
|
10000 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
10001 | rxvt_cv_uint32_t="unsigned long" |
|
|
10002 | else |
|
|
10003 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
10004 | rxvt_cv_uint32_t="unsigned long long" |
|
|
10005 | else |
|
|
10006 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
|
|
10007 | fi |
|
|
10008 | fi |
|
|
10009 | fi |
|
|
10010 | fi |
|
|
10011 | fi |
|
|
10012 | fi |
|
|
10013 | |
|
|
10014 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10015 | fi |
|
|
10016 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5 |
|
|
10017 | echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; } |
|
|
10018 | if test x"$rxvt_cv_uint32_t" != xyes; then |
|
|
10019 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
|
|
10020 | else |
|
|
10021 | if test x"unsigned" = x; then |
|
|
10022 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
|
|
10023 | else |
|
|
10024 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
|
|
10025 | fi |
|
|
10026 | fi |
|
|
10027 | |
|
|
10028 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
|
|
10029 | rxvt_intp_define="#define intp_t int64_t" |
|
|
10030 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
|
|
10031 | else |
|
|
10032 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
|
|
10033 | rxvt_intp_define="#define intp_t int32_t" |
|
|
10034 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
|
|
10035 | else |
|
|
10036 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
|
|
10037 | rxvt_intp_define="#define intp_t int16_t" |
|
|
10038 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
|
|
10039 | else |
|
|
10040 | rxvt_intp_define="#error set intp_t" |
|
|
10041 | rxvt_u_intp_define="#error set u_intp_t" |
|
|
10042 | fi |
|
|
10043 | fi |
|
|
10044 | fi |
|
|
10045 | |
|
|
10046 | |
|
|
10047 | |
|
|
10048 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
10049 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
|
|
10050 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
10051 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10052 | else |
|
|
10053 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10054 | /* confdefs.h. */ |
|
|
10055 | _ACEOF |
|
|
10056 | cat confdefs.h >>conftest.$ac_ext |
|
|
10057 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10058 | /* end confdefs.h. */ |
|
|
10059 | #include <sys/types.h> |
|
|
10060 | #include <signal.h> |
|
|
10061 | |
|
|
10062 | int |
|
|
10063 | main () |
|
|
10064 | { |
|
|
10065 | return *(signal (0, 0)) (0) == 1; |
|
|
10066 | ; |
|
|
10067 | return 0; |
|
|
10068 | } |
|
|
10069 | _ACEOF |
|
|
10070 | rm -f conftest.$ac_objext |
|
|
10071 | if { (ac_try="$ac_compile" |
|
|
10072 | case "(($ac_try" in |
|
|
10073 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10074 | *) ac_try_echo=$ac_try;; |
|
|
10075 | esac |
|
|
10076 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10077 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10078 | ac_status=$? |
|
|
10079 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10080 | rm -f conftest.er1 |
|
|
10081 | cat conftest.err >&5 |
|
|
10082 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10083 | (exit $ac_status); } && { |
|
|
10084 | test -z "$ac_cxx_werror_flag" || |
|
|
10085 | test ! -s conftest.err |
|
|
10086 | } && test -s conftest.$ac_objext; then |
|
|
10087 | ac_cv_type_signal=int |
|
|
10088 | else |
|
|
10089 | echo "$as_me: failed program was:" >&5 |
|
|
10090 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10091 | |
|
|
10092 | ac_cv_type_signal=void |
|
|
10093 | fi |
|
|
10094 | |
|
|
10095 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10096 | fi |
|
|
10097 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
10098 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
|
|
10099 | |
|
|
10100 | cat >>confdefs.h <<_ACEOF |
|
|
10101 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
10102 | _ACEOF |
|
|
10103 | |
|
|
10104 | |
|
|
10105 | |
|
|
10106 | |
|
|
10107 | |
|
|
10108 | |
|
|
10109 | for ac_func in \ |
8424 | for ac_func in unsetenv |
10110 | unsetenv \ |
|
|
10111 | setutent \ |
|
|
10112 | on_exit \ |
|
|
10113 | |
|
|
10114 | do |
8425 | do |
10115 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8426 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10116 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8427 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10117 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8428 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10118 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
8429 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
10257 | |
8568 | |
10258 | |
8569 | |
10259 | |
8570 | |
10260 | |
8571 | |
10261 | for ac_func in \ |
8572 | for ac_func in \ |
10262 | ttyslot \ |
|
|
10263 | updwtmp \ |
8573 | updwtmp \ |
10264 | updwtmpx \ |
8574 | updwtmpx \ |
|
|
8575 | updlastlogx \ |
10265 | |
8576 | |
10266 | do |
8577 | do |
10267 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8578 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10268 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8579 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10269 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8580 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
11690 | |
10001 | |
11691 | cat >>confdefs.h <<_ACEOF |
10002 | cat >>confdefs.h <<_ACEOF |
11692 | #define LASTLOG_FILE "$path_lastlog" |
10003 | #define LASTLOG_FILE "$path_lastlog" |
11693 | _ACEOF |
10004 | _ACEOF |
11694 | |
10005 | |
11695 | if test -d "$path_lastlog"; then |
|
|
11696 | |
|
|
11697 | cat >>confdefs.h <<\_ACEOF |
|
|
11698 | #define LASTLOG_IS_DIR 1 |
|
|
11699 | _ACEOF |
|
|
11700 | |
|
|
11701 | fi |
|
|
11702 | fi |
10006 | fi |
11703 | |
10007 | |
11704 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10008 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11705 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
10009 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11706 | if test "${path_lastlogx+set}" = set; then |
10010 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
11788 | |
10092 | |
11789 | fi |
10093 | fi |
11790 | |
10094 | |
11791 | |
10095 | |
11792 | |
10096 | |
11793 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
11794 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
11795 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
11796 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11797 | else |
|
|
11798 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
11799 | do |
|
|
11800 | if test -f "$ttys_file" ; then |
|
|
11801 | rxvt_cv_path_ttytab=$ttys_file |
|
|
11802 | break |
|
|
11803 | fi |
|
|
11804 | done |
|
|
11805 | |
10097 | |
11806 | fi |
|
|
11807 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
11808 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
11809 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
11810 | |
|
|
11811 | cat >>confdefs.h <<_ACEOF |
|
|
11812 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
11813 | _ACEOF |
|
|
11814 | |
|
|
11815 | fi |
|
|
11816 | |
|
|
11817 | |
|
|
11818 | ac_save_LIBS=$LIBS |
10098 | save_LIBS=$LIBS |
11819 | ac_save_CFLAGS=$CFLAGS |
10099 | save_CFLAGS=$CFLAGS |
11820 | CFLAGS="$CFLAGS $X_CFLAGS" |
10100 | CFLAGS="$CFLAGS $X_CFLAGS" |
11821 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
10101 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11822 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
10102 | if test x$support_xim = xyes; then |
11823 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
11824 | fi |
|
|
11825 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
10103 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11826 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
10104 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11827 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
10105 | if test "${rxvt_cv_func_xlocale+set}" = set; then |
11828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10106 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11829 | else |
10107 | else |
11830 | if test "$cross_compiling" = yes; then |
10108 | if test "$cross_compiling" = yes; then |
11831 | : |
10109 | : |
11832 | else |
10110 | else |
11833 | cat >conftest.$ac_ext <<_ACEOF |
10111 | cat >conftest.$ac_ext <<_ACEOF |
11834 | /* confdefs.h. */ |
10112 | /* confdefs.h. */ |
11835 | _ACEOF |
10113 | _ACEOF |
11836 | cat confdefs.h >>conftest.$ac_ext |
10114 | cat confdefs.h >>conftest.$ac_ext |
11837 | cat >>conftest.$ac_ext <<_ACEOF |
10115 | cat >>conftest.$ac_ext <<_ACEOF |
11838 | /* end confdefs.h. */ |
10116 | /* end confdefs.h. */ |
11839 | #include <X11/Xlib.h> |
10117 | #include <X11/Xlib.h> |
11840 | #include <stdlib.h> |
10118 | #include <stdlib.h> |
11841 | main() { |
10119 | main() { |
11842 | char *p; |
10120 | char *p; |
11843 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
10121 | if ((p = XSetLocaleModifiers("@im=none")) != NULL && *p) |
11844 | exit (XSupportsLocale() ? 0 : 1); |
10122 | exit (XSupportsLocale() ? 0 : 1); |
11845 | else |
10123 | else |
11846 | exit (1);} |
10124 | exit (1);} |
11847 | _ACEOF |
10125 | _ACEOF |
11848 | rm -f conftest$ac_exeext |
10126 | rm -f conftest$ac_exeext |
11849 | if { (ac_try="$ac_link" |
10127 | if { (ac_try="$ac_link" |
11850 | case "(($ac_try" in |
10128 | case "(($ac_try" in |
11851 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10129 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
11863 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
10141 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
11864 | (eval "$ac_try") 2>&5 |
10142 | (eval "$ac_try") 2>&5 |
11865 | ac_status=$? |
10143 | ac_status=$? |
11866 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10144 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
11867 | (exit $ac_status); }; }; then |
10145 | (exit $ac_status); }; }; then |
11868 | rxvt_cv_func_xlocale=yes |
10146 | rxvt_cv_func_xlocale=yes |
11869 | else |
10147 | else |
11870 | echo "$as_me: program exited with status $ac_status" >&5 |
10148 | echo "$as_me: program exited with status $ac_status" >&5 |
11871 | echo "$as_me: failed program was:" >&5 |
10149 | echo "$as_me: failed program was:" >&5 |
11872 | sed 's/^/| /' conftest.$ac_ext >&5 |
10150 | sed 's/^/| /' conftest.$ac_ext >&5 |
11873 | |
10151 | |
… | |
… | |
11879 | |
10157 | |
11880 | |
10158 | |
11881 | fi |
10159 | fi |
11882 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
10160 | { echo "$as_me:$LINENO: result: $rxvt_cv_func_xlocale" >&5 |
11883 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
10161 | echo "${ECHO_T}$rxvt_cv_func_xlocale" >&6; } |
11884 | if test x$support_xim = xyes; then |
|
|
11885 | if test x$rxvt_cv_func_xlocale = xyes; then |
10162 | if test x$rxvt_cv_func_xlocale = xyes; then |
11886 | |
10163 | |
11887 | cat >>confdefs.h <<\_ACEOF |
10164 | cat >>confdefs.h <<\_ACEOF |
11888 | #define USE_XIM 1 |
10165 | #define USE_XIM 1 |
11889 | _ACEOF |
10166 | _ACEOF |
11890 | |
10167 | |
|
|
10168 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
10169 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
10170 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
10171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10172 | else |
|
|
10173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10174 | |
|
|
10175 | #include <X11/Xlib.h> |
|
|
10176 | |
|
|
10177 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
10178 | |
|
|
10179 | void f() { |
|
|
10180 | XIMCallback cb; |
|
|
10181 | cb.callback = im_destroy_cb; |
|
|
10182 | } |
|
|
10183 | |
|
|
10184 | _ACEOF |
|
|
10185 | rm -f conftest.$ac_objext |
|
|
10186 | if { (ac_try="$ac_compile" |
|
|
10187 | case "(($ac_try" in |
|
|
10188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10189 | *) ac_try_echo=$ac_try;; |
|
|
10190 | esac |
|
|
10191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10192 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10193 | ac_status=$? |
|
|
10194 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10195 | rm -f conftest.er1 |
|
|
10196 | cat conftest.err >&5 |
|
|
10197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10198 | (exit $ac_status); } && { |
|
|
10199 | test -z "$ac_cxx_werror_flag" || |
|
|
10200 | test ! -s conftest.err |
|
|
10201 | } && test -s conftest.$ac_objext; then |
|
|
10202 | rxvt_broken_ximcb=yes |
|
|
10203 | else |
|
|
10204 | echo "$as_me: failed program was:" >&5 |
|
|
10205 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10206 | |
|
|
10207 | rxvt_broken_ximcb=no |
|
|
10208 | fi |
|
|
10209 | |
|
|
10210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10211 | fi |
|
|
10212 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
10213 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
10214 | |
|
|
10215 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
10216 | |
|
|
10217 | cat >>confdefs.h <<\_ACEOF |
|
|
10218 | #define XIMCB_PROTO_BROKEN 1 |
|
|
10219 | _ACEOF |
|
|
10220 | |
|
|
10221 | fi |
11891 | fi |
10222 | fi |
11892 | fi |
10223 | fi |
11893 | |
10224 | |
11894 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
10225 | { echo "$as_me:$LINENO: checking for working X setlocale" >&5 |
11895 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
10226 | echo $ECHO_N "checking for working X setlocale... $ECHO_C" >&6; } |
… | |
… | |
11948 | cat >>confdefs.h <<\_ACEOF |
10279 | cat >>confdefs.h <<\_ACEOF |
11949 | #define HAVE_XSETLOCALE 1 |
10280 | #define HAVE_XSETLOCALE 1 |
11950 | _ACEOF |
10281 | _ACEOF |
11951 | |
10282 | |
11952 | fi |
10283 | fi |
11953 | LIBS=$ac_save_LIBS |
10284 | LIBS=$save_LIBS |
11954 | CFLAGS=$ac_save_CFLAGS |
10285 | CFLAGS=$save_CFLAGS |
11955 | |
10286 | |
11956 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
10287 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11957 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
10288 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11958 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
10289 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11959 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10290 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12162 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
10493 | { { echo "$as_me:$LINENO: error: libptytty requires unix-compliant filehandle passing ability" >&5 |
12163 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
10494 | echo "$as_me: error: libptytty requires unix-compliant filehandle passing ability" >&2;} |
12164 | { (exit 1); exit 1; }; } |
10495 | { (exit 1); exit 1; }; } |
12165 | fi |
10496 | fi |
12166 | |
10497 | |
12167 | |
|
|
12168 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
|
|
12169 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
|
|
12170 | if test "${rxvt_broken_ximcb+set}" = set; then |
|
|
12171 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
12172 | else |
|
|
12173 | cat >conftest.$ac_ext <<_ACEOF |
|
|
12174 | |
|
|
12175 | #include <X11/Xlib.h> |
|
|
12176 | |
|
|
12177 | void im_destroy_cb (XIC unused1, XPointer client_data, XPointer unused3); |
|
|
12178 | |
|
|
12179 | void f() { |
|
|
12180 | XIMCallback cb; |
|
|
12181 | cb.callback = im_destroy_cb; |
|
|
12182 | } |
|
|
12183 | |
|
|
12184 | _ACEOF |
|
|
12185 | rm -f conftest.$ac_objext |
|
|
12186 | if { (ac_try="$ac_compile" |
|
|
12187 | case "(($ac_try" in |
|
|
12188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
12189 | *) ac_try_echo=$ac_try;; |
|
|
12190 | esac |
|
|
12191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
12192 | (eval "$ac_compile") 2>conftest.er1 |
|
|
12193 | ac_status=$? |
|
|
12194 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
12195 | rm -f conftest.er1 |
|
|
12196 | cat conftest.err >&5 |
|
|
12197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
12198 | (exit $ac_status); } && { |
|
|
12199 | test -z "$ac_cxx_werror_flag" || |
|
|
12200 | test ! -s conftest.err |
|
|
12201 | } && test -s conftest.$ac_objext; then |
|
|
12202 | rxvt_broken_ximcb=yes |
|
|
12203 | else |
|
|
12204 | echo "$as_me: failed program was:" >&5 |
|
|
12205 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
12206 | |
|
|
12207 | rxvt_broken_ximcb=no |
|
|
12208 | fi |
|
|
12209 | |
|
|
12210 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
12211 | fi |
|
|
12212 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
|
|
12213 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
|
|
12214 | |
|
|
12215 | if test x$rxvt_broken_ximcb = xyes; then |
|
|
12216 | |
|
|
12217 | cat >>confdefs.h <<\_ACEOF |
|
|
12218 | #define XIMCB_PROTO_BROKEN 1 |
|
|
12219 | _ACEOF |
|
|
12220 | |
|
|
12221 | fi |
|
|
12222 | |
10498 | |
12223 | |
10499 | |
12224 | |
10500 | |
12225 | |
10501 | |
12226 | |
10502 | |
… | |
… | |
12907 | echo "${ECHO_T}no" >&6; } |
11183 | echo "${ECHO_T}no" >&6; } |
12908 | fi |
11184 | fi |
12909 | |
11185 | |
12910 | |
11186 | |
12911 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
11187 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12912 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
11188 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
12913 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
11189 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12914 | else |
11190 | else |
12915 | # Extract the first word of "xft-config", so it can be a program name with args. |
11191 | # Extract the first word of "xft-config", so it can be a program name with args. |
12916 | set dummy xft-config; ac_word=$2 |
11192 | set dummy xft-config; ac_word=$2 |
12917 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
11193 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
12952 | echo "${ECHO_T}no" >&6; } |
11228 | echo "${ECHO_T}no" >&6; } |
12953 | fi |
11229 | fi |
12954 | |
11230 | |
12955 | |
11231 | |
12956 | if test $XFT_CONFIG != no; then |
11232 | if test $XFT_CONFIG != no; then |
12957 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
11233 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
12958 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
11234 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12959 | fi |
11235 | fi |
12960 | fi |
11236 | fi |
12961 | |
11237 | |
|
|
11238 | save_LIBS="$LIBS" |
|
|
11239 | LIBS="$LIBS $X_LIBS" |
12962 | |
11240 | |
12963 | for ac_header in X11/Xft/Xft.h |
11241 | for ac_header in X11/Xft/Xft.h |
12964 | do |
11242 | do |
12965 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11243 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
12966 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11244 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13099 | support_xft=no |
11377 | support_xft=no |
13100 | fi |
11378 | fi |
13101 | |
11379 | |
13102 | done |
11380 | done |
13103 | |
11381 | |
13104 | |
|
|
13105 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
11382 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13106 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
11383 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13107 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
11384 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13108 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11385 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13109 | else |
11386 | else |
13110 | ac_check_lib_save_LIBS=$LIBS |
11387 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13162 | LIBS=$ac_check_lib_save_LIBS |
11439 | LIBS=$ac_check_lib_save_LIBS |
13163 | fi |
11440 | fi |
13164 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
11441 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13165 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
11442 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13166 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
11443 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13167 | cat >>confdefs.h <<_ACEOF |
11444 | : |
13168 | #define HAVE_LIBXFT 1 |
|
|
13169 | _ACEOF |
|
|
13170 | |
|
|
13171 | LIBS="-lXft $LIBS" |
|
|
13172 | |
|
|
13173 | else |
11445 | else |
13174 | support_xft=no |
11446 | support_xft=no |
13175 | fi |
11447 | fi |
13176 | |
11448 | |
|
|
11449 | LIBS="$save_LIBS" |
13177 | |
11450 | |
13178 | if test x$support_xft = xyes; then |
11451 | if test x$support_xft = xyes; then |
13179 | |
11452 | |
13180 | cat >>confdefs.h <<\_ACEOF |
11453 | cat >>confdefs.h <<\_ACEOF |
13181 | #define XFT 1 |
11454 | #define XFT 1 |
… | |
… | |
13209 | cat >>confdefs.h <<\_ACEOF |
11482 | cat >>confdefs.h <<\_ACEOF |
13210 | #define OFF_FOCUS_FADING 1 |
11483 | #define OFF_FOCUS_FADING 1 |
13211 | _ACEOF |
11484 | _ACEOF |
13212 | |
11485 | |
13213 | fi |
11486 | fi |
13214 | if test x$support_tinting = xyes; then |
|
|
13215 | |
|
|
13216 | cat >>confdefs.h <<\_ACEOF |
|
|
13217 | #define TINTING 1 |
|
|
13218 | _ACEOF |
|
|
13219 | |
|
|
13220 | fi |
|
|
13221 | if test x$support_inheritpixmap = xyes; then |
11487 | if test x$support_inheritpixmap = xyes; then |
13222 | |
11488 | |
13223 | cat >>confdefs.h <<\_ACEOF |
11489 | cat >>confdefs.h <<\_ACEOF |
13224 | #define ENABLE_TRANSPARENCY 1 |
11490 | #define ENABLE_TRANSPARENCY 1 |
13225 | _ACEOF |
11491 | _ACEOF |
… | |
… | |
13258 | cat >>confdefs.h <<\_ACEOF |
11524 | cat >>confdefs.h <<\_ACEOF |
13259 | #define MOUSE_SLIP_WHEELING 1 |
11525 | #define MOUSE_SLIP_WHEELING 1 |
13260 | _ACEOF |
11526 | _ACEOF |
13261 | |
11527 | |
13262 | fi |
11528 | fi |
13263 | if test x$support_xpm = xyes -o x$support_afterimage = xyes ; then |
|
|
13264 | |
|
|
13265 | cat >>confdefs.h <<\_ACEOF |
|
|
13266 | #define XPM_BACKGROUND 1 |
|
|
13267 | _ACEOF |
|
|
13268 | |
|
|
13269 | fi |
|
|
13270 | |
|
|
13271 | if test x$support_afterimage = xyes; then |
11529 | if test x$support_afterimage = xyes; then |
13272 | |
11530 | |
13273 | cat >>confdefs.h <<\_ACEOF |
11531 | cat >>confdefs.h <<\_ACEOF |
13274 | #define HAVE_AFTERIMAGE 1 |
11532 | #define HAVE_AFTERIMAGE 1 |
13275 | _ACEOF |
11533 | _ACEOF |
13276 | |
11534 | |
13277 | fi |
|
|
13278 | |
|
|
13279 | if test x$support_afterstep = xyes; then |
|
|
13280 | |
11535 | |
13281 | cat >>confdefs.h <<\_ACEOF |
11536 | cat >>confdefs.h <<\_ACEOF |
13282 | #define AFTERSTEP_INTEGRATION 1 |
11537 | #define BG_IMAGE_FROM_FILE 1 |
13283 | _ACEOF |
11538 | _ACEOF |
13284 | |
11539 | |
13285 | fi |
11540 | fi |
|
|
11541 | |
13286 | |
11542 | |
13287 | if test x$support_scroll_rxvt = xyes; then |
11543 | if test x$support_scroll_rxvt = xyes; then |
13288 | |
11544 | |
13289 | cat >>confdefs.h <<\_ACEOF |
11545 | cat >>confdefs.h <<\_ACEOF |
13290 | #define RXVT_SCROLLBAR 1 |
11546 | #define RXVT_SCROLLBAR 1 |
… | |
… | |
13559 | |
11815 | |
13560 | |
11816 | |
13561 | |
11817 | |
13562 | |
11818 | |
13563 | |
11819 | |
13564 | if test x$support_perl = xyes; then |
|
|
13565 | support_frills=yes |
|
|
13566 | fi |
|
|
13567 | |
11820 | |
13568 | |
11821 | |
13569 | |
11822 | |
13570 | |
11823 | |
13571 | |
11824 | |
13572 | |
|
|
13573 | if test x$rxvt_cv_rpath = xyes -o x$rxvt_cv_R = xyes; then |
|
|
13574 | LIBS=`echo $LIBS | sed "$R_TRANSLATE"` |
|
|
13575 | X_LIBS=`echo $X_LIBS | sed "$R_TRANSLATE"` |
|
|
13576 | X_EXTRA_LIBS=`echo $X_EXTRA_LIBS | sed "$R_TRANSLATE"` |
|
|
13577 | XPM_LIBS=`echo $XPM_LIBS | sed "$R_TRANSLATE"` |
|
|
13578 | fi |
|
|
13579 | |
11825 | |
13580 | |
11826 | |
13581 | |
11827 | |
13582 | |
11828 | |
13583 | |
11829 | |
… | |
… | |
13595 | _ACEOF |
11841 | _ACEOF |
13596 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11842 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
13597 | rm -f conftest.sed |
11843 | rm -f conftest.sed |
13598 | |
11844 | |
13599 | |
11845 | |
13600 | |
|
|
13601 | |
|
|
13602 | |
|
|
13603 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13604 | include_stdint_h="#include <stdint.h>" |
|
|
13605 | else |
|
|
13606 | include_stdint_h="/* #include <stdint.h> */" |
|
|
13607 | fi |
|
|
13608 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13609 | include_stdarg_h="#include <cstdarg>" |
|
|
13610 | else |
|
|
13611 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
13612 | fi |
|
|
13613 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13614 | include_stdlib_h="#include <cstdlib>" |
|
|
13615 | else |
|
|
13616 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
13617 | fi |
|
|
13618 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13619 | include_unistd_h="#include <unistd.h>" |
|
|
13620 | else |
|
|
13621 | include_unistd_h="/* #include <unistd.h> */" |
|
|
13622 | fi |
|
|
13623 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13624 | include_string_h="#include <cstring>" |
|
|
13625 | else |
|
|
13626 | include_string_h="/* #include <cstring> */" |
|
|
13627 | fi |
|
|
13628 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13629 | include_fcntl_h="#include <fcntl.h>" |
|
|
13630 | else |
|
|
13631 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
13632 | fi |
|
|
13633 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13634 | include_util_h="#include <util.h>" |
|
|
13635 | else |
|
|
13636 | include_util_h="/* #include <util.h> */" |
|
|
13637 | fi |
|
|
13638 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13639 | include_assert_h="#include <assert.h>" |
|
|
13640 | else |
|
|
13641 | include_assert_h="/* #include <assert.h> */" |
|
|
13642 | fi |
|
|
13643 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13644 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
13645 | else |
|
|
13646 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
13647 | fi |
|
|
13648 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13649 | include_sys_select_h="#include <sys/select.h>" |
|
|
13650 | else |
|
|
13651 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
13652 | fi |
|
|
13653 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13654 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
13655 | else |
|
|
13656 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
13657 | fi |
|
|
13658 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13659 | include_sys_time_h="#include <sys/time.h>" |
|
|
13660 | else |
|
|
13661 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
13662 | fi |
|
|
13663 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
13664 | include_time_h="#include <time.h>" |
|
|
13665 | else |
|
|
13666 | include_time_h="/* #include <time.h> */" |
|
|
13667 | fi |
|
|
13668 | |
|
|
13669 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11846 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
13670 | |
11847 | |
13671 | cat >confcache <<\_ACEOF |
11848 | cat >confcache <<\_ACEOF |
13672 | # This file is a shell script that caches the results of configure |
11849 | # This file is a shell script that caches the results of configure |
13673 | # tests run on this system so they can be shared between configure |
11850 | # tests run on this system so they can be shared between configure |
13674 | # scripts and configure runs, see configure's option --config-cache. |
11851 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
14223 | case $ac_config_target in |
12400 | case $ac_config_target in |
14224 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12401 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
14225 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12402 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14226 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12403 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
14227 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12404 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
14228 | "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
14229 | |
12405 | |
14230 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12406 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
14231 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12407 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
14232 | { (exit 1); exit 1; }; };; |
12408 | { (exit 1); exit 1; }; };; |
14233 | esac |
12409 | esac |
… | |
… | |
14332 | host_cpu!$host_cpu$ac_delim |
12508 | host_cpu!$host_cpu$ac_delim |
14333 | host_vendor!$host_vendor$ac_delim |
12509 | host_vendor!$host_vendor$ac_delim |
14334 | host_os!$host_os$ac_delim |
12510 | host_os!$host_os$ac_delim |
14335 | VERSION!$VERSION$ac_delim |
12511 | VERSION!$VERSION$ac_delim |
14336 | DATE!$DATE$ac_delim |
12512 | DATE!$DATE$ac_delim |
14337 | LSMDATE!$LSMDATE$ac_delim |
|
|
14338 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14339 | CC!$CC$ac_delim |
12513 | CC!$CC$ac_delim |
14340 | CFLAGS!$CFLAGS$ac_delim |
12514 | CFLAGS!$CFLAGS$ac_delim |
14341 | LDFLAGS!$LDFLAGS$ac_delim |
12515 | LDFLAGS!$LDFLAGS$ac_delim |
14342 | CPPFLAGS!$CPPFLAGS$ac_delim |
12516 | CPPFLAGS!$CPPFLAGS$ac_delim |
14343 | ac_ct_CC!$ac_ct_CC$ac_delim |
12517 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14351 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
12525 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14352 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
12526 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14353 | GREP!$GREP$ac_delim |
12527 | GREP!$GREP$ac_delim |
14354 | EGREP!$EGREP$ac_delim |
12528 | EGREP!$EGREP$ac_delim |
14355 | LINKER!$LINKER$ac_delim |
12529 | LINKER!$LINKER$ac_delim |
14356 | CXXLIB!$CXXLIB$ac_delim |
|
|
14357 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14358 | RXVTNAME!$RXVTNAME$ac_delim |
12530 | RXVTNAME!$RXVTNAME$ac_delim |
|
|
12531 | CXXCPP!$CXXCPP$ac_delim |
14359 | TIC!$TIC$ac_delim |
12532 | TIC!$TIC$ac_delim |
14360 | XMKMF!$XMKMF$ac_delim |
12533 | XMKMF!$XMKMF$ac_delim |
14361 | CXXCPP!$CXXCPP$ac_delim |
|
|
14362 | X_CFLAGS!$X_CFLAGS$ac_delim |
12534 | X_CFLAGS!$X_CFLAGS$ac_delim |
14363 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
12535 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14364 | X_LIBS!$X_LIBS$ac_delim |
12536 | X_LIBS!$X_LIBS$ac_delim |
14365 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
12537 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14366 | afterimage_config!$afterimage_config$ac_delim |
12538 | afterimage_config!$afterimage_config$ac_delim |
14367 | XPM_CPPFLAGS!$XPM_CPPFLAGS$ac_delim |
|
|
14368 | XPM_CFLAGS!$XPM_CFLAGS$ac_delim |
|
|
14369 | XPM_LIBS!$XPM_LIBS$ac_delim |
|
|
14370 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
|
|
14371 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
|
|
14372 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
|
|
14373 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
|
|
14374 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
|
|
14375 | rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim |
|
|
14376 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
12539 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
14377 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
12540 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14378 | PERL!$PERL$ac_delim |
12541 | PERL!$PERL$ac_delim |
14379 | PERLLIB!$PERLLIB$ac_delim |
12542 | PERLLIB!$PERLLIB$ac_delim |
14380 | PERLFLAGS!$PERLFLAGS$ac_delim |
12543 | PERLFLAGS!$PERLFLAGS$ac_delim |
14381 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12544 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14382 | IF_PERL!$IF_PERL$ac_delim |
12545 | IF_PERL!$IF_PERL$ac_delim |
14383 | PERL_O!$PERL_O$ac_delim |
12546 | PERL_O!$PERL_O$ac_delim |
14384 | LIBAFTERIMAGE_CFLAGS!$LIBAFTERIMAGE_CFLAGS$ac_delim |
12547 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14385 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12548 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14386 | include_stdint_h!$include_stdint_h$ac_delim |
12549 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
12550 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14387 | _ACEOF |
12551 | _ACEOF |
14388 | |
12552 | |
14389 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
12553 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
14390 | break |
12554 | break |
14391 | elif $ac_last_try; then |
12555 | elif $ac_last_try; then |
14392 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12556 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14393 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12557 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14394 | { (exit 1); exit 1; }; } |
12558 | { (exit 1); exit 1; }; } |
… | |
… | |
14403 | ac_eof=`expr $ac_eof + 1` |
12567 | ac_eof=`expr $ac_eof + 1` |
14404 | fi |
12568 | fi |
14405 | |
12569 | |
14406 | cat >>$CONFIG_STATUS <<_ACEOF |
12570 | cat >>$CONFIG_STATUS <<_ACEOF |
14407 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
12571 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
14408 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
14409 | _ACEOF |
|
|
14410 | sed ' |
|
|
14411 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
14412 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
14413 | :n |
|
|
14414 | t n |
|
|
14415 | s/'"$ac_delim"'$/,g/; t |
|
|
14416 | s/$/\\/; p |
|
|
14417 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
14418 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
14419 | rm -f conf$$subs.sed |
|
|
14420 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14421 | CEOF$ac_eof |
|
|
14422 | _ACEOF |
|
|
14423 | |
|
|
14424 | |
|
|
14425 | ac_delim='%!_!# ' |
|
|
14426 | for ac_last_try in false false false false false :; do |
|
|
14427 | cat >conf$$subs.sed <<_ACEOF |
|
|
14428 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14429 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14430 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14431 | include_string_h!$include_string_h$ac_delim |
|
|
14432 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14433 | include_util_h!$include_util_h$ac_delim |
|
|
14434 | include_assert_h!$include_assert_h$ac_delim |
|
|
14435 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
|
|
14436 | include_sys_select_h!$include_sys_select_h$ac_delim |
|
|
14437 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
14438 | include_sys_time_h!$include_sys_time_h$ac_delim |
|
|
14439 | include_time_h!$include_time_h$ac_delim |
|
|
14440 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
14441 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
14442 | _ACEOF |
|
|
14443 | |
|
|
14444 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 14; then |
|
|
14445 | break |
|
|
14446 | elif $ac_last_try; then |
|
|
14447 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
14448 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
14449 | { (exit 1); exit 1; }; } |
|
|
14450 | else |
|
|
14451 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
14452 | fi |
|
|
14453 | done |
|
|
14454 | |
|
|
14455 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
14456 | if test -n "$ac_eof"; then |
|
|
14457 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
14458 | ac_eof=`expr $ac_eof + 1` |
|
|
14459 | fi |
|
|
14460 | |
|
|
14461 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14462 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
14463 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
12572 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14464 | _ACEOF |
12573 | _ACEOF |
14465 | sed ' |
12574 | sed ' |
14466 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
12575 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14467 | s/^/s,@/; s/!/@,|#_!!_#|/ |
12576 | s/^/s,@/; s/!/@,|#_!!_#|/ |
… | |
… | |
14720 | s&@builddir@&$ac_builddir&;t t |
12829 | s&@builddir@&$ac_builddir&;t t |
14721 | s&@abs_builddir@&$ac_abs_builddir&;t t |
12830 | s&@abs_builddir@&$ac_abs_builddir&;t t |
14722 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
12831 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14723 | s&@INSTALL@&$ac_INSTALL&;t t |
12832 | s&@INSTALL@&$ac_INSTALL&;t t |
14724 | $ac_datarootdir_hack |
12833 | $ac_datarootdir_hack |
14725 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
12834 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
14726 | |
12835 | |
14727 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
12836 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14728 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
12837 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14729 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
12838 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14730 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
12839 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
… | |
… | |
14878 | Install path: ${prefix}/bin |
12987 | Install path: ${prefix}/bin |
14879 | Compiler: $CXX |
12988 | Compiler: $CXX |
14880 | Compiler flags: $CXXFLAGS |
12989 | Compiler flags: $CXXFLAGS |
14881 | Linker: $LINKER" |
12990 | Linker: $LINKER" |
14882 | |
12991 | |
14883 | if test x$support_xpm = xyes; then |
|
|
14884 | echo " Xpm library: $XPM_LIBS" |
|
|
14885 | fi |
|
|
14886 | |
|
|
14887 | if test x$support_afterimage = xyes; then |
|
|
14888 | echo " AfterImage support: yes" |
|
|
14889 | fi |
|
|
14890 | |
|
|
14891 | if test x$support_afterstep = xyes; then |
|
|
14892 | echo " AfterStep integration: yes" |
|
|
14893 | fi |
|
|
14894 | |
|
|
14895 | if test x$term != x; then |
12992 | if test x$term != x; then |
14896 | echo " set TERM to: $term" |
12993 | echo " set TERM to: $term" |
14897 | fi |
12994 | fi |
14898 | if test x$terminfo != x; then |
12995 | if test x$terminfo != x; then |
14899 | echo " set TERMINFO to: $terminfo" |
12996 | echo " set TERMINFO to: $terminfo" |
… | |
… | |
14903 | if test x$RESFALLBACK != x; then |
13000 | if test x$RESFALLBACK != x; then |
14904 | echo " resource class fallback: $RESFALLBACK" |
13001 | echo " resource class fallback: $RESFALLBACK" |
14905 | fi |
13002 | fi |
14906 | echo |
13003 | echo |
14907 | echo " embedded perl: $support_perl" |
13004 | echo " embedded perl: $support_perl" |
|
|
13005 | echo " libafterimage: $support_afterimage" |
14908 | echo |
13006 | echo |
14909 | if test x$support_xpm = xneedsmanualspecification; then |
|
|
14910 | echo ".----------------------------------------------------------------." |
|
|
14911 | echo ". WARNING: --enable-xpm-background was specified however the ." |
|
|
14912 | echo ". XPM includes files and libraries could not be found. ." |
|
|
14913 | echo ". XPM backgrounds are now being DISABLED! If you want ." |
|
|
14914 | echo ". to use them you should rerun configure with the ." |
|
|
14915 | echo ". appropriate --with-xpm-includes=/path/to/xpm/includes ." |
|
|
14916 | echo ". and --with-xpm-library=/path/to/xpm/library lines. ." |
|
|
14917 | echo ".----------------------------------------------------------------." |
|
|
14918 | fi |
|
|
14919 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
13007 | if test x$support_xim = xyes -a x$rxvt_cv_func_xlocale = xno; then |
14920 | echo ".----------------------------------------------------------------." |
13008 | echo ".----------------------------------------------------------------." |
14921 | echo ". WARNING: --enable-xim was specified however the locale support ." |
13009 | echo ". WARNING: --enable-xim was specified however the locale support ." |
14922 | echo ". functions could not be found. ." |
13010 | echo ". functions could not be found. ." |
14923 | echo ". XIM is now being DISABLED! ." |
13011 | echo ". XIM is now being DISABLED! ." |