… | |
… | |
679 | GREP |
679 | GREP |
680 | EGREP |
680 | EGREP |
681 | LINKER |
681 | LINKER |
682 | INSTALL_LIBRXVT |
682 | INSTALL_LIBRXVT |
683 | RXVTNAME |
683 | RXVTNAME |
|
|
684 | CXXCPP |
684 | TIC |
685 | TIC |
685 | XMKMF |
686 | XMKMF |
686 | CXXCPP |
|
|
687 | X_CFLAGS |
687 | X_CFLAGS |
688 | X_PRE_LIBS |
688 | X_PRE_LIBS |
689 | X_LIBS |
689 | X_LIBS |
690 | X_EXTRA_LIBS |
690 | X_EXTRA_LIBS |
691 | afterimage_config |
691 | afterimage_config |
… | |
… | |
731 | CPPFLAGS |
731 | CPPFLAGS |
732 | CXX |
732 | CXX |
733 | CXXFLAGS |
733 | CXXFLAGS |
734 | CCC |
734 | CCC |
735 | CPP |
735 | CPP |
736 | XMKMF |
|
|
737 | CXXCPP' |
736 | CXXCPP |
|
|
737 | XMKMF' |
738 | |
738 | |
739 | |
739 | |
740 | # Initialize some variables set by options. |
740 | # Initialize some variables set by options. |
741 | ac_init_help= |
741 | ac_init_help= |
742 | ac_init_version=false |
742 | ac_init_version=false |
… | |
… | |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1319 | --enable-everything enable standard non-multichoice features |
1319 | --enable-everything enable standard non-multichoice features |
1320 | NOTE: this option is order dependent |
1320 | NOTE: this option is order dependent |
1321 | NOTE: automatically enabled with --enable-shared |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1322 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1323 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1323 | --enable-combining enable composition of base and combining characters |
1324 | --enable-combining enable composition of base and combining characters |
1324 | --enable-xft enable xft support on systems that have it |
1325 | --enable-xft enable xft support on systems that have it |
1325 | --enable-font-styles enable bold and italic support |
1326 | --enable-font-styles enable bold and italic support |
1326 | --enable-afterimage enable integration with libAfterImage for background images |
1327 | --enable-afterimage enable integration with libAfterImage for background images |
… | |
… | |
1334 | --enable-xim XIM (X Input Method) protocol support |
1335 | --enable-xim XIM (X Input Method) protocol support |
1335 | --disable-backspace-key disable handling of the backspace key |
1336 | --disable-backspace-key disable handling of the backspace key |
1336 | --disable-delete-key disable handling of the delete key |
1337 | --disable-delete-key disable handling of the delete key |
1337 | --disable-resources disable all resource checking |
1338 | --disable-resources disable all resource checking |
1338 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1339 | --enable-fallback(=CLASS) fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1340 | --enable-fallback[=CLASS] fall back on CLASS resources in addition to URxvt ones (default: Rxvt) |
1340 | --disable-swapscreen disable swap screen support |
1341 | --disable-swapscreen disable swap screen support |
1341 | --enable-iso14755 enable support for extended ISO 14755 modes |
1342 | --enable-iso14755 enable support for extended ISO 14755 modes |
1342 | --enable-frills enable support for rarely used features |
1343 | --enable-frills enable support for rarely used features |
1343 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1344 | --enable-keepscrolling enable continual scrolling on scrollbar arrow press |
1344 | --enable-selectionscrolling enable scrolling during selections |
1345 | --enable-selectionscrolling enable scrolling during selections |
1345 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1346 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1346 | --enable-slipwheeling enable slip wheel scrolling (requires previous) |
1347 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1347 | --enable-smart-resize enable smart growth/shrink behaviour |
1348 | --enable-smart-resize enable smart growth/shrink behaviour |
1348 | --enable-text-blink enable blinking text |
1349 | --enable-text-blink enable blinking text |
1349 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1350 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1350 | --enable-utmp enable utmp (utmpx) support |
1351 | --enable-utmp enable utmp (utmpx) support |
1351 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1352 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
… | |
… | |
1353 | |
1354 | |
1354 | Optional Packages: |
1355 | Optional Packages: |
1355 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1356 | --with-PACKAGE[=ARG] use PACKAGE [ARG=yes] |
1356 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1357 | --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no) |
1357 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1358 | --with-afterimage-config=DIR use libAfterImage config script in DIR |
1358 | --with-codesets=NAME,.. compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1359 | --with-codesets=CS,... compile in additional codesets (jp,jp_ext,kr,zh,zh_ext,all) |
1359 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1360 | --with-res-name=NAME use this as default resource name (default: urxvt) |
1360 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1361 | --with-res-class=CLASS use this as the resource class (default: URxvt) |
1361 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1362 | --with-name=NAME set the basename for the installed binaries (default: urxvt) |
1362 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1363 | --with-term=NAME set the terminal to NAME (default: rxvt) |
1363 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
1364 | --with-terminfo=PATH set the path to the terminfo tree to PATH |
… | |
… | |
1372 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1373 | CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if |
1373 | you have headers in a nonstandard directory <include dir> |
1374 | you have headers in a nonstandard directory <include dir> |
1374 | CXX C++ compiler command |
1375 | CXX C++ compiler command |
1375 | CXXFLAGS C++ compiler flags |
1376 | CXXFLAGS C++ compiler flags |
1376 | CPP C preprocessor |
1377 | CPP C preprocessor |
|
|
1378 | CXXCPP C++ preprocessor |
1377 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1379 | XMKMF Path to xmkmf, Makefile generator for X Window System |
1378 | CXXCPP C++ preprocessor |
|
|
1379 | |
1380 | |
1380 | Use these variables to override the choices made by `configure' or to help |
1381 | Use these variables to override the choices made by `configure' or to help |
1381 | it to find libraries and programs with nonstandard names/locations. |
1382 | it to find libraries and programs with nonstandard names/locations. |
1382 | |
1383 | |
1383 | _ACEOF |
1384 | _ACEOF |
… | |
… | |
1919 | |
1920 | |
1920 | |
1921 | |
1921 | |
1922 | |
1922 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1923 | VERSION=`sed -n -e 's/^.*[ \t]VERSION.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1923 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
1924 | DATE=`sed -n -e 's/^.*[ \t]DATE.*"\(.*\)"$/\1/p' ${srcdir}/src/version.h` |
|
|
1925 | |
1924 | echo "" |
1926 | echo "" |
1925 | echo "configuring for rxvt $VERSION" |
1927 | echo "configuring for rxvt $VERSION" |
1926 | echo "" |
1928 | echo "" |
1927 | |
1929 | |
1928 | orig_CXXFLAGS="$CXXFLAGS" |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
… | |
… | |
3869 | LINKER=$LINKER |
3871 | LINKER=$LINKER |
3870 | |
3872 | |
3871 | |
3873 | |
3872 | if test -z "$orig_CXXFLAGS"; then |
3874 | if test -z "$orig_CXXFLAGS"; then |
3873 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3874 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3875 | cat >conftest.$ac_ext <<_ACEOF |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3876 | /* confdefs.h. */ |
3878 | /* confdefs.h. */ |
3877 | _ACEOF |
3879 | _ACEOF |
3878 | cat confdefs.h >>conftest.$ac_ext |
3880 | cat confdefs.h >>conftest.$ac_ext |
3879 | cat >>conftest.$ac_ext <<_ACEOF |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
4491 | fi |
4493 | fi |
4492 | |
4494 | |
4493 | fi |
4495 | fi |
4494 | |
4496 | |
4495 | |
4497 | |
|
|
4498 | WARNINGS=no |
|
|
4499 | # Check whether --enable-warnings was given. |
|
|
4500 | if test "${enable_warnings+set}" = set; then |
|
|
4501 | enableval=$enable_warnings; if test x$enableval = xyes; then |
|
|
4502 | WARNINGS=yes |
|
|
4503 | fi |
|
|
4504 | fi |
|
|
4505 | |
|
|
4506 | if test x$GXX = xyes; then |
|
|
4507 | if test $WARNINGS = yes; then |
|
|
4508 | save_CXXFLAGS="$CXXFLAGS" |
|
|
4509 | CXXFLAGS="$CXXFLAGS -Wall -Wno-sign-compare -Wno-reorder -Wno-non-virtual-dtor" |
|
|
4510 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4511 | /* confdefs.h. */ |
|
|
4512 | _ACEOF |
|
|
4513 | cat confdefs.h >>conftest.$ac_ext |
|
|
4514 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4515 | /* end confdefs.h. */ |
|
|
4516 | |
|
|
4517 | int |
|
|
4518 | main () |
|
|
4519 | { |
|
|
4520 | |
|
|
4521 | ; |
|
|
4522 | return 0; |
|
|
4523 | } |
|
|
4524 | _ACEOF |
|
|
4525 | rm -f conftest.$ac_objext |
|
|
4526 | if { (ac_try="$ac_compile" |
|
|
4527 | case "(($ac_try" in |
|
|
4528 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4529 | *) ac_try_echo=$ac_try;; |
|
|
4530 | esac |
|
|
4531 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4532 | (eval "$ac_compile") 2>conftest.er1 |
|
|
4533 | ac_status=$? |
|
|
4534 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4535 | rm -f conftest.er1 |
|
|
4536 | cat conftest.err >&5 |
|
|
4537 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4538 | (exit $ac_status); } && { |
|
|
4539 | test -z "$ac_cxx_werror_flag" || |
|
|
4540 | test ! -s conftest.err |
|
|
4541 | } && test -s conftest.$ac_objext; then |
|
|
4542 | : |
|
|
4543 | else |
|
|
4544 | echo "$as_me: failed program was:" >&5 |
|
|
4545 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4546 | |
|
|
4547 | CXXFLAGS="$save_CXXFLAGS" |
|
|
4548 | fi |
|
|
4549 | |
|
|
4550 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
4551 | else |
|
|
4552 | CXXFLAGS="$CXXFLAGS -w" |
|
|
4553 | fi |
|
|
4554 | fi |
|
|
4555 | |
4496 | # Check whether --enable-unicode3 was given. |
4556 | # Check whether --enable-unicode3 was given. |
4497 | if test "${enable_unicode3+set}" = set; then |
4557 | if test "${enable_unicode3+set}" = set; then |
4498 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4558 | enableval=$enable_unicode3; if test x$enableval = xyes -o x$enableval = xno; then |
4499 | support_unicode3=$enableval |
4559 | support_unicode3=$enableval |
4500 | fi |
4560 | fi |
… | |
… | |
4829 | #define RXVT_TERMINFO "$withval" |
4889 | #define RXVT_TERMINFO "$withval" |
4830 | _ACEOF |
4890 | _ACEOF |
4831 | terminfo="$withval" |
4891 | terminfo="$withval" |
4832 | fi |
4892 | fi |
4833 | fi |
4893 | fi |
|
|
4894 | |
|
|
4895 | |
|
|
4896 | |
|
|
4897 | |
|
|
4898 | ac_ext=cpp |
|
|
4899 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4900 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4901 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4902 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4903 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4904 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4905 | if test -z "$CXXCPP"; then |
|
|
4906 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4907 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4908 | else |
|
|
4909 | # Double quotes because CXXCPP needs to be expanded |
|
|
4910 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4911 | do |
|
|
4912 | ac_preproc_ok=false |
|
|
4913 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4914 | do |
|
|
4915 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4916 | # with a fresh cross-compiler works. |
|
|
4917 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4918 | # <limits.h> exists even on freestanding compilers. |
|
|
4919 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4920 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4921 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4922 | /* confdefs.h. */ |
|
|
4923 | _ACEOF |
|
|
4924 | cat confdefs.h >>conftest.$ac_ext |
|
|
4925 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4926 | /* end confdefs.h. */ |
|
|
4927 | #ifdef __STDC__ |
|
|
4928 | # include <limits.h> |
|
|
4929 | #else |
|
|
4930 | # include <assert.h> |
|
|
4931 | #endif |
|
|
4932 | Syntax error |
|
|
4933 | _ACEOF |
|
|
4934 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4935 | case "(($ac_try" in |
|
|
4936 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4937 | *) ac_try_echo=$ac_try;; |
|
|
4938 | esac |
|
|
4939 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4940 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4941 | ac_status=$? |
|
|
4942 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4943 | rm -f conftest.er1 |
|
|
4944 | cat conftest.err >&5 |
|
|
4945 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4946 | (exit $ac_status); } >/dev/null && { |
|
|
4947 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4948 | test ! -s conftest.err |
|
|
4949 | }; then |
|
|
4950 | : |
|
|
4951 | else |
|
|
4952 | echo "$as_me: failed program was:" >&5 |
|
|
4953 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4954 | |
|
|
4955 | # Broken: fails on valid input. |
|
|
4956 | continue |
|
|
4957 | fi |
|
|
4958 | |
|
|
4959 | rm -f conftest.err conftest.$ac_ext |
|
|
4960 | |
|
|
4961 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4962 | # can be detected and how. |
|
|
4963 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4964 | /* confdefs.h. */ |
|
|
4965 | _ACEOF |
|
|
4966 | cat confdefs.h >>conftest.$ac_ext |
|
|
4967 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4968 | /* end confdefs.h. */ |
|
|
4969 | #include <ac_nonexistent.h> |
|
|
4970 | _ACEOF |
|
|
4971 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4972 | case "(($ac_try" in |
|
|
4973 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4974 | *) ac_try_echo=$ac_try;; |
|
|
4975 | esac |
|
|
4976 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4977 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4978 | ac_status=$? |
|
|
4979 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4980 | rm -f conftest.er1 |
|
|
4981 | cat conftest.err >&5 |
|
|
4982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4983 | (exit $ac_status); } >/dev/null && { |
|
|
4984 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4985 | test ! -s conftest.err |
|
|
4986 | }; then |
|
|
4987 | # Broken: success on invalid input. |
|
|
4988 | continue |
|
|
4989 | else |
|
|
4990 | echo "$as_me: failed program was:" >&5 |
|
|
4991 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4992 | |
|
|
4993 | # Passes both tests. |
|
|
4994 | ac_preproc_ok=: |
|
|
4995 | break |
|
|
4996 | fi |
|
|
4997 | |
|
|
4998 | rm -f conftest.err conftest.$ac_ext |
|
|
4999 | |
|
|
5000 | done |
|
|
5001 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5002 | rm -f conftest.err conftest.$ac_ext |
|
|
5003 | if $ac_preproc_ok; then |
|
|
5004 | break |
|
|
5005 | fi |
|
|
5006 | |
|
|
5007 | done |
|
|
5008 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5009 | |
|
|
5010 | fi |
|
|
5011 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
5012 | else |
|
|
5013 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
5014 | fi |
|
|
5015 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
5016 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5017 | ac_preproc_ok=false |
|
|
5018 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5019 | do |
|
|
5020 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5021 | # with a fresh cross-compiler works. |
|
|
5022 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5023 | # <limits.h> exists even on freestanding compilers. |
|
|
5024 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5025 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5026 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5027 | /* confdefs.h. */ |
|
|
5028 | _ACEOF |
|
|
5029 | cat confdefs.h >>conftest.$ac_ext |
|
|
5030 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5031 | /* end confdefs.h. */ |
|
|
5032 | #ifdef __STDC__ |
|
|
5033 | # include <limits.h> |
|
|
5034 | #else |
|
|
5035 | # include <assert.h> |
|
|
5036 | #endif |
|
|
5037 | Syntax error |
|
|
5038 | _ACEOF |
|
|
5039 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5040 | case "(($ac_try" in |
|
|
5041 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5042 | *) ac_try_echo=$ac_try;; |
|
|
5043 | esac |
|
|
5044 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5045 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5046 | ac_status=$? |
|
|
5047 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5048 | rm -f conftest.er1 |
|
|
5049 | cat conftest.err >&5 |
|
|
5050 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5051 | (exit $ac_status); } >/dev/null && { |
|
|
5052 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5053 | test ! -s conftest.err |
|
|
5054 | }; then |
|
|
5055 | : |
|
|
5056 | else |
|
|
5057 | echo "$as_me: failed program was:" >&5 |
|
|
5058 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5059 | |
|
|
5060 | # Broken: fails on valid input. |
|
|
5061 | continue |
|
|
5062 | fi |
|
|
5063 | |
|
|
5064 | rm -f conftest.err conftest.$ac_ext |
|
|
5065 | |
|
|
5066 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5067 | # can be detected and how. |
|
|
5068 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5069 | /* confdefs.h. */ |
|
|
5070 | _ACEOF |
|
|
5071 | cat confdefs.h >>conftest.$ac_ext |
|
|
5072 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5073 | /* end confdefs.h. */ |
|
|
5074 | #include <ac_nonexistent.h> |
|
|
5075 | _ACEOF |
|
|
5076 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5077 | case "(($ac_try" in |
|
|
5078 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5079 | *) ac_try_echo=$ac_try;; |
|
|
5080 | esac |
|
|
5081 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5082 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5083 | ac_status=$? |
|
|
5084 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5085 | rm -f conftest.er1 |
|
|
5086 | cat conftest.err >&5 |
|
|
5087 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5088 | (exit $ac_status); } >/dev/null && { |
|
|
5089 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5090 | test ! -s conftest.err |
|
|
5091 | }; then |
|
|
5092 | # Broken: success on invalid input. |
|
|
5093 | continue |
|
|
5094 | else |
|
|
5095 | echo "$as_me: failed program was:" >&5 |
|
|
5096 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5097 | |
|
|
5098 | # Passes both tests. |
|
|
5099 | ac_preproc_ok=: |
|
|
5100 | break |
|
|
5101 | fi |
|
|
5102 | |
|
|
5103 | rm -f conftest.err conftest.$ac_ext |
|
|
5104 | |
|
|
5105 | done |
|
|
5106 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5107 | rm -f conftest.err conftest.$ac_ext |
|
|
5108 | if $ac_preproc_ok; then |
|
|
5109 | : |
|
|
5110 | else |
|
|
5111 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5112 | See \`config.log' for more details." >&5 |
|
|
5113 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5114 | See \`config.log' for more details." >&2;} |
|
|
5115 | { (exit 1); exit 1; }; } |
|
|
5116 | fi |
|
|
5117 | |
|
|
5118 | ac_ext=cpp |
|
|
5119 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5120 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5121 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5122 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5123 | |
|
|
5124 | |
|
|
5125 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
5126 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
5127 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
5128 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5129 | else |
|
|
5130 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5131 | /* confdefs.h. */ |
|
|
5132 | _ACEOF |
|
|
5133 | cat confdefs.h >>conftest.$ac_ext |
|
|
5134 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5135 | /* end confdefs.h. */ |
|
|
5136 | #include <stdlib.h> |
|
|
5137 | #include <stdarg.h> |
|
|
5138 | #include <string.h> |
|
|
5139 | #include <float.h> |
|
|
5140 | |
|
|
5141 | int |
|
|
5142 | main () |
|
|
5143 | { |
|
|
5144 | |
|
|
5145 | ; |
|
|
5146 | return 0; |
|
|
5147 | } |
|
|
5148 | _ACEOF |
|
|
5149 | rm -f conftest.$ac_objext |
|
|
5150 | if { (ac_try="$ac_compile" |
|
|
5151 | case "(($ac_try" in |
|
|
5152 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5153 | *) ac_try_echo=$ac_try;; |
|
|
5154 | esac |
|
|
5155 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5156 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5157 | ac_status=$? |
|
|
5158 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5159 | rm -f conftest.er1 |
|
|
5160 | cat conftest.err >&5 |
|
|
5161 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5162 | (exit $ac_status); } && { |
|
|
5163 | test -z "$ac_cxx_werror_flag" || |
|
|
5164 | test ! -s conftest.err |
|
|
5165 | } && test -s conftest.$ac_objext; then |
|
|
5166 | ac_cv_header_stdc=yes |
|
|
5167 | else |
|
|
5168 | echo "$as_me: failed program was:" >&5 |
|
|
5169 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5170 | |
|
|
5171 | ac_cv_header_stdc=no |
|
|
5172 | fi |
|
|
5173 | |
|
|
5174 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5175 | |
|
|
5176 | if test $ac_cv_header_stdc = yes; then |
|
|
5177 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
5178 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5179 | /* confdefs.h. */ |
|
|
5180 | _ACEOF |
|
|
5181 | cat confdefs.h >>conftest.$ac_ext |
|
|
5182 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5183 | /* end confdefs.h. */ |
|
|
5184 | #include <string.h> |
|
|
5185 | |
|
|
5186 | _ACEOF |
|
|
5187 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5188 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
5189 | : |
|
|
5190 | else |
|
|
5191 | ac_cv_header_stdc=no |
|
|
5192 | fi |
|
|
5193 | rm -f conftest* |
|
|
5194 | |
|
|
5195 | fi |
|
|
5196 | |
|
|
5197 | if test $ac_cv_header_stdc = yes; then |
|
|
5198 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
5199 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5200 | /* confdefs.h. */ |
|
|
5201 | _ACEOF |
|
|
5202 | cat confdefs.h >>conftest.$ac_ext |
|
|
5203 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5204 | /* end confdefs.h. */ |
|
|
5205 | #include <stdlib.h> |
|
|
5206 | |
|
|
5207 | _ACEOF |
|
|
5208 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
5209 | $EGREP "free" >/dev/null 2>&1; then |
|
|
5210 | : |
|
|
5211 | else |
|
|
5212 | ac_cv_header_stdc=no |
|
|
5213 | fi |
|
|
5214 | rm -f conftest* |
|
|
5215 | |
|
|
5216 | fi |
|
|
5217 | |
|
|
5218 | if test $ac_cv_header_stdc = yes; then |
|
|
5219 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
5220 | if test "$cross_compiling" = yes; then |
|
|
5221 | : |
|
|
5222 | else |
|
|
5223 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5224 | /* confdefs.h. */ |
|
|
5225 | _ACEOF |
|
|
5226 | cat confdefs.h >>conftest.$ac_ext |
|
|
5227 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5228 | /* end confdefs.h. */ |
|
|
5229 | #include <ctype.h> |
|
|
5230 | #include <stdlib.h> |
|
|
5231 | #if ((' ' & 0x0FF) == 0x020) |
|
|
5232 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
5233 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
5234 | #else |
|
|
5235 | # define ISLOWER(c) \ |
|
|
5236 | (('a' <= (c) && (c) <= 'i') \ |
|
|
5237 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
5238 | || ('s' <= (c) && (c) <= 'z')) |
|
|
5239 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
5240 | #endif |
|
|
5241 | |
|
|
5242 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
5243 | int |
|
|
5244 | main () |
|
|
5245 | { |
|
|
5246 | int i; |
|
|
5247 | for (i = 0; i < 256; i++) |
|
|
5248 | if (XOR (islower (i), ISLOWER (i)) |
|
|
5249 | || toupper (i) != TOUPPER (i)) |
|
|
5250 | return 2; |
|
|
5251 | return 0; |
|
|
5252 | } |
|
|
5253 | _ACEOF |
|
|
5254 | rm -f conftest$ac_exeext |
|
|
5255 | if { (ac_try="$ac_link" |
|
|
5256 | case "(($ac_try" in |
|
|
5257 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5258 | *) ac_try_echo=$ac_try;; |
|
|
5259 | esac |
|
|
5260 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5261 | (eval "$ac_link") 2>&5 |
|
|
5262 | ac_status=$? |
|
|
5263 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5264 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
5265 | { (case "(($ac_try" in |
|
|
5266 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5267 | *) ac_try_echo=$ac_try;; |
|
|
5268 | esac |
|
|
5269 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5270 | (eval "$ac_try") 2>&5 |
|
|
5271 | ac_status=$? |
|
|
5272 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5273 | (exit $ac_status); }; }; then |
|
|
5274 | : |
|
|
5275 | else |
|
|
5276 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
5277 | echo "$as_me: failed program was:" >&5 |
|
|
5278 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5279 | |
|
|
5280 | ( exit $ac_status ) |
|
|
5281 | ac_cv_header_stdc=no |
|
|
5282 | fi |
|
|
5283 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
5284 | fi |
|
|
5285 | |
|
|
5286 | |
|
|
5287 | fi |
|
|
5288 | fi |
|
|
5289 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
5290 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
5291 | if test $ac_cv_header_stdc = yes; then |
|
|
5292 | |
|
|
5293 | cat >>confdefs.h <<\_ACEOF |
|
|
5294 | #define STDC_HEADERS 1 |
|
|
5295 | _ACEOF |
|
|
5296 | |
|
|
5297 | fi |
|
|
5298 | |
|
|
5299 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
5300 | |
|
|
5301 | |
|
|
5302 | |
|
|
5303 | |
|
|
5304 | |
|
|
5305 | |
|
|
5306 | |
|
|
5307 | |
|
|
5308 | |
|
|
5309 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
5310 | inttypes.h stdint.h unistd.h |
|
|
5311 | do |
|
|
5312 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5313 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5314 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5315 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5316 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5317 | else |
|
|
5318 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5319 | /* confdefs.h. */ |
|
|
5320 | _ACEOF |
|
|
5321 | cat confdefs.h >>conftest.$ac_ext |
|
|
5322 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5323 | /* end confdefs.h. */ |
|
|
5324 | $ac_includes_default |
|
|
5325 | |
|
|
5326 | #include <$ac_header> |
|
|
5327 | _ACEOF |
|
|
5328 | rm -f conftest.$ac_objext |
|
|
5329 | if { (ac_try="$ac_compile" |
|
|
5330 | case "(($ac_try" in |
|
|
5331 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5332 | *) ac_try_echo=$ac_try;; |
|
|
5333 | esac |
|
|
5334 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5335 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5336 | ac_status=$? |
|
|
5337 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5338 | rm -f conftest.er1 |
|
|
5339 | cat conftest.err >&5 |
|
|
5340 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5341 | (exit $ac_status); } && { |
|
|
5342 | test -z "$ac_cxx_werror_flag" || |
|
|
5343 | test ! -s conftest.err |
|
|
5344 | } && test -s conftest.$ac_objext; then |
|
|
5345 | eval "$as_ac_Header=yes" |
|
|
5346 | else |
|
|
5347 | echo "$as_me: failed program was:" >&5 |
|
|
5348 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5349 | |
|
|
5350 | eval "$as_ac_Header=no" |
|
|
5351 | fi |
|
|
5352 | |
|
|
5353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5354 | fi |
|
|
5355 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5356 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5357 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5358 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5359 | cat >>confdefs.h <<_ACEOF |
|
|
5360 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5361 | _ACEOF |
|
|
5362 | |
|
|
5363 | fi |
|
|
5364 | |
|
|
5365 | done |
|
|
5366 | |
|
|
5367 | |
|
|
5368 | |
|
|
5369 | |
|
|
5370 | |
|
|
5371 | |
|
|
5372 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
|
|
5373 | do |
|
|
5374 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
5375 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5376 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5377 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5378 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5379 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5380 | fi |
|
|
5381 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5382 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5383 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5384 | else |
|
|
5385 | # Is the header compilable? |
|
|
5386 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
|
|
5387 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
|
|
5388 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5389 | /* confdefs.h. */ |
|
|
5390 | _ACEOF |
|
|
5391 | cat confdefs.h >>conftest.$ac_ext |
|
|
5392 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5393 | /* end confdefs.h. */ |
|
|
5394 | $ac_includes_default |
|
|
5395 | #include <$ac_header> |
|
|
5396 | _ACEOF |
|
|
5397 | rm -f conftest.$ac_objext |
|
|
5398 | if { (ac_try="$ac_compile" |
|
|
5399 | case "(($ac_try" in |
|
|
5400 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5401 | *) ac_try_echo=$ac_try;; |
|
|
5402 | esac |
|
|
5403 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5404 | (eval "$ac_compile") 2>conftest.er1 |
|
|
5405 | ac_status=$? |
|
|
5406 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5407 | rm -f conftest.er1 |
|
|
5408 | cat conftest.err >&5 |
|
|
5409 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5410 | (exit $ac_status); } && { |
|
|
5411 | test -z "$ac_cxx_werror_flag" || |
|
|
5412 | test ! -s conftest.err |
|
|
5413 | } && test -s conftest.$ac_objext; then |
|
|
5414 | ac_header_compiler=yes |
|
|
5415 | else |
|
|
5416 | echo "$as_me: failed program was:" >&5 |
|
|
5417 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5418 | |
|
|
5419 | ac_header_compiler=no |
|
|
5420 | fi |
|
|
5421 | |
|
|
5422 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
5423 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
|
|
5424 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
|
|
5425 | |
|
|
5426 | # Is the header present? |
|
|
5427 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
|
|
5428 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
|
|
5429 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5430 | /* confdefs.h. */ |
|
|
5431 | _ACEOF |
|
|
5432 | cat confdefs.h >>conftest.$ac_ext |
|
|
5433 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5434 | /* end confdefs.h. */ |
|
|
5435 | #include <$ac_header> |
|
|
5436 | _ACEOF |
|
|
5437 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5438 | case "(($ac_try" in |
|
|
5439 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5440 | *) ac_try_echo=$ac_try;; |
|
|
5441 | esac |
|
|
5442 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5443 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5444 | ac_status=$? |
|
|
5445 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5446 | rm -f conftest.er1 |
|
|
5447 | cat conftest.err >&5 |
|
|
5448 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5449 | (exit $ac_status); } >/dev/null && { |
|
|
5450 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5451 | test ! -s conftest.err |
|
|
5452 | }; then |
|
|
5453 | ac_header_preproc=yes |
|
|
5454 | else |
|
|
5455 | echo "$as_me: failed program was:" >&5 |
|
|
5456 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5457 | |
|
|
5458 | ac_header_preproc=no |
|
|
5459 | fi |
|
|
5460 | |
|
|
5461 | rm -f conftest.err conftest.$ac_ext |
|
|
5462 | { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5 |
|
|
5463 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
|
|
5464 | |
|
|
5465 | # So? What about this header? |
|
|
5466 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
|
|
5467 | yes:no: ) |
|
|
5468 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
|
|
5469 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
|
|
5470 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
|
|
5471 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
|
|
5472 | ac_header_preproc=yes |
|
|
5473 | ;; |
|
|
5474 | no:yes:* ) |
|
|
5475 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
|
|
5476 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
|
|
5477 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
|
|
5478 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
|
|
5479 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
|
|
5480 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
|
|
5481 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
|
|
5482 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
|
|
5483 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
|
|
5484 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
|
|
5485 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
|
|
5486 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
|
|
5487 | |
|
|
5488 | ;; |
|
|
5489 | esac |
|
|
5490 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
5491 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
5492 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5493 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5494 | else |
|
|
5495 | eval "$as_ac_Header=\$ac_header_preproc" |
|
|
5496 | fi |
|
|
5497 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
5498 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5499 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5500 | |
|
|
5501 | fi |
|
|
5502 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
5503 | cat >>confdefs.h <<_ACEOF |
|
|
5504 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
5505 | _ACEOF |
|
|
5506 | |
|
|
5507 | fi |
|
|
5508 | |
|
|
5509 | done |
|
|
5510 | |
|
|
5511 | |
|
|
5512 | |
|
|
5513 | |
|
|
5514 | |
|
|
5515 | for ac_func in epoll_ctl kqueue port_create |
|
|
5516 | do |
|
|
5517 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5518 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5519 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5520 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5521 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5522 | else |
|
|
5523 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5524 | /* confdefs.h. */ |
|
|
5525 | _ACEOF |
|
|
5526 | cat confdefs.h >>conftest.$ac_ext |
|
|
5527 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5528 | /* end confdefs.h. */ |
|
|
5529 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5530 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5531 | #define $ac_func innocuous_$ac_func |
|
|
5532 | |
|
|
5533 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5534 | which can conflict with char $ac_func (); below. |
|
|
5535 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5536 | <limits.h> exists even on freestanding compilers. */ |
|
|
5537 | |
|
|
5538 | #ifdef __STDC__ |
|
|
5539 | # include <limits.h> |
|
|
5540 | #else |
|
|
5541 | # include <assert.h> |
|
|
5542 | #endif |
|
|
5543 | |
|
|
5544 | #undef $ac_func |
|
|
5545 | |
|
|
5546 | /* Override any GCC internal prototype to avoid an error. |
|
|
5547 | Use char because int might match the return type of a GCC |
|
|
5548 | builtin and then its argument prototype would still apply. */ |
|
|
5549 | #ifdef __cplusplus |
|
|
5550 | extern "C" |
|
|
5551 | #endif |
|
|
5552 | char $ac_func (); |
|
|
5553 | /* The GNU C library defines this for functions which it implements |
|
|
5554 | to always fail with ENOSYS. Some functions are actually named |
|
|
5555 | something starting with __ and the normal name is an alias. */ |
|
|
5556 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5557 | choke me |
|
|
5558 | #endif |
|
|
5559 | |
|
|
5560 | int |
|
|
5561 | main () |
|
|
5562 | { |
|
|
5563 | return $ac_func (); |
|
|
5564 | ; |
|
|
5565 | return 0; |
|
|
5566 | } |
|
|
5567 | _ACEOF |
|
|
5568 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5569 | if { (ac_try="$ac_link" |
|
|
5570 | case "(($ac_try" in |
|
|
5571 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5572 | *) ac_try_echo=$ac_try;; |
|
|
5573 | esac |
|
|
5574 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5575 | (eval "$ac_link") 2>conftest.er1 |
|
|
5576 | ac_status=$? |
|
|
5577 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5578 | rm -f conftest.er1 |
|
|
5579 | cat conftest.err >&5 |
|
|
5580 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5581 | (exit $ac_status); } && { |
|
|
5582 | test -z "$ac_cxx_werror_flag" || |
|
|
5583 | test ! -s conftest.err |
|
|
5584 | } && test -s conftest$ac_exeext && |
|
|
5585 | $as_test_x conftest$ac_exeext; then |
|
|
5586 | eval "$as_ac_var=yes" |
|
|
5587 | else |
|
|
5588 | echo "$as_me: failed program was:" >&5 |
|
|
5589 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5590 | |
|
|
5591 | eval "$as_ac_var=no" |
|
|
5592 | fi |
|
|
5593 | |
|
|
5594 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5595 | conftest$ac_exeext conftest.$ac_ext |
|
|
5596 | fi |
|
|
5597 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5598 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5599 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5600 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5601 | cat >>confdefs.h <<_ACEOF |
|
|
5602 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5603 | _ACEOF |
|
|
5604 | |
|
|
5605 | fi |
|
|
5606 | done |
|
|
5607 | |
|
|
5608 | |
|
|
5609 | { echo "$as_me:$LINENO: checking for clock_gettime" >&5 |
|
|
5610 | echo $ECHO_N "checking for clock_gettime... $ECHO_C" >&6; } |
|
|
5611 | if test "${ac_cv_func_clock_gettime+set}" = set; then |
|
|
5612 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5613 | else |
|
|
5614 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5615 | /* confdefs.h. */ |
|
|
5616 | _ACEOF |
|
|
5617 | cat confdefs.h >>conftest.$ac_ext |
|
|
5618 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5619 | /* end confdefs.h. */ |
|
|
5620 | /* Define clock_gettime to an innocuous variant, in case <limits.h> declares clock_gettime. |
|
|
5621 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5622 | #define clock_gettime innocuous_clock_gettime |
|
|
5623 | |
|
|
5624 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5625 | which can conflict with char clock_gettime (); below. |
|
|
5626 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5627 | <limits.h> exists even on freestanding compilers. */ |
|
|
5628 | |
|
|
5629 | #ifdef __STDC__ |
|
|
5630 | # include <limits.h> |
|
|
5631 | #else |
|
|
5632 | # include <assert.h> |
|
|
5633 | #endif |
|
|
5634 | |
|
|
5635 | #undef clock_gettime |
|
|
5636 | |
|
|
5637 | /* Override any GCC internal prototype to avoid an error. |
|
|
5638 | Use char because int might match the return type of a GCC |
|
|
5639 | builtin and then its argument prototype would still apply. */ |
|
|
5640 | #ifdef __cplusplus |
|
|
5641 | extern "C" |
|
|
5642 | #endif |
|
|
5643 | char clock_gettime (); |
|
|
5644 | /* The GNU C library defines this for functions which it implements |
|
|
5645 | to always fail with ENOSYS. Some functions are actually named |
|
|
5646 | something starting with __ and the normal name is an alias. */ |
|
|
5647 | #if defined __stub_clock_gettime || defined __stub___clock_gettime |
|
|
5648 | choke me |
|
|
5649 | #endif |
|
|
5650 | |
|
|
5651 | int |
|
|
5652 | main () |
|
|
5653 | { |
|
|
5654 | return clock_gettime (); |
|
|
5655 | ; |
|
|
5656 | return 0; |
|
|
5657 | } |
|
|
5658 | _ACEOF |
|
|
5659 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5660 | if { (ac_try="$ac_link" |
|
|
5661 | case "(($ac_try" in |
|
|
5662 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5663 | *) ac_try_echo=$ac_try;; |
|
|
5664 | esac |
|
|
5665 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5666 | (eval "$ac_link") 2>conftest.er1 |
|
|
5667 | ac_status=$? |
|
|
5668 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5669 | rm -f conftest.er1 |
|
|
5670 | cat conftest.err >&5 |
|
|
5671 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5672 | (exit $ac_status); } && { |
|
|
5673 | test -z "$ac_cxx_werror_flag" || |
|
|
5674 | test ! -s conftest.err |
|
|
5675 | } && test -s conftest$ac_exeext && |
|
|
5676 | $as_test_x conftest$ac_exeext; then |
|
|
5677 | ac_cv_func_clock_gettime=yes |
|
|
5678 | else |
|
|
5679 | echo "$as_me: failed program was:" >&5 |
|
|
5680 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5681 | |
|
|
5682 | ac_cv_func_clock_gettime=no |
|
|
5683 | fi |
|
|
5684 | |
|
|
5685 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5686 | conftest$ac_exeext conftest.$ac_ext |
|
|
5687 | fi |
|
|
5688 | { echo "$as_me:$LINENO: result: $ac_cv_func_clock_gettime" >&5 |
|
|
5689 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
|
|
5690 | if test $ac_cv_func_clock_gettime = yes; then |
|
|
5691 | : |
|
|
5692 | else |
|
|
5693 | |
|
|
5694 | |
|
|
5695 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
|
|
5696 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
|
|
5697 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
|
|
5698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5699 | else |
|
|
5700 | ac_check_lib_save_LIBS=$LIBS |
|
|
5701 | LIBS="-lrt $LIBS" |
|
|
5702 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5703 | /* confdefs.h. */ |
|
|
5704 | _ACEOF |
|
|
5705 | cat confdefs.h >>conftest.$ac_ext |
|
|
5706 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5707 | /* end confdefs.h. */ |
|
|
5708 | |
|
|
5709 | /* Override any GCC internal prototype to avoid an error. |
|
|
5710 | Use char because int might match the return type of a GCC |
|
|
5711 | builtin and then its argument prototype would still apply. */ |
|
|
5712 | #ifdef __cplusplus |
|
|
5713 | extern "C" |
|
|
5714 | #endif |
|
|
5715 | char clock_gettime (); |
|
|
5716 | int |
|
|
5717 | main () |
|
|
5718 | { |
|
|
5719 | return clock_gettime (); |
|
|
5720 | ; |
|
|
5721 | return 0; |
|
|
5722 | } |
|
|
5723 | _ACEOF |
|
|
5724 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5725 | if { (ac_try="$ac_link" |
|
|
5726 | case "(($ac_try" in |
|
|
5727 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5728 | *) ac_try_echo=$ac_try;; |
|
|
5729 | esac |
|
|
5730 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5731 | (eval "$ac_link") 2>conftest.er1 |
|
|
5732 | ac_status=$? |
|
|
5733 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5734 | rm -f conftest.er1 |
|
|
5735 | cat conftest.err >&5 |
|
|
5736 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5737 | (exit $ac_status); } && { |
|
|
5738 | test -z "$ac_cxx_werror_flag" || |
|
|
5739 | test ! -s conftest.err |
|
|
5740 | } && test -s conftest$ac_exeext && |
|
|
5741 | $as_test_x conftest$ac_exeext; then |
|
|
5742 | ac_cv_lib_rt_clock_gettime=yes |
|
|
5743 | else |
|
|
5744 | echo "$as_me: failed program was:" >&5 |
|
|
5745 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5746 | |
|
|
5747 | ac_cv_lib_rt_clock_gettime=no |
|
|
5748 | fi |
|
|
5749 | |
|
|
5750 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5751 | conftest$ac_exeext conftest.$ac_ext |
|
|
5752 | LIBS=$ac_check_lib_save_LIBS |
|
|
5753 | fi |
|
|
5754 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_clock_gettime" >&5 |
|
|
5755 | echo "${ECHO_T}$ac_cv_lib_rt_clock_gettime" >&6; } |
|
|
5756 | if test $ac_cv_lib_rt_clock_gettime = yes; then |
|
|
5757 | cat >>confdefs.h <<_ACEOF |
|
|
5758 | #define HAVE_LIBRT 1 |
|
|
5759 | _ACEOF |
|
|
5760 | |
|
|
5761 | LIBS="-lrt $LIBS" |
|
|
5762 | |
|
|
5763 | fi |
|
|
5764 | |
|
|
5765 | |
|
|
5766 | for ac_func in clock_gettime |
|
|
5767 | do |
|
|
5768 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5769 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5770 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5771 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5772 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5773 | else |
|
|
5774 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5775 | /* confdefs.h. */ |
|
|
5776 | _ACEOF |
|
|
5777 | cat confdefs.h >>conftest.$ac_ext |
|
|
5778 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5779 | /* end confdefs.h. */ |
|
|
5780 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5781 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5782 | #define $ac_func innocuous_$ac_func |
|
|
5783 | |
|
|
5784 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5785 | which can conflict with char $ac_func (); below. |
|
|
5786 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5787 | <limits.h> exists even on freestanding compilers. */ |
|
|
5788 | |
|
|
5789 | #ifdef __STDC__ |
|
|
5790 | # include <limits.h> |
|
|
5791 | #else |
|
|
5792 | # include <assert.h> |
|
|
5793 | #endif |
|
|
5794 | |
|
|
5795 | #undef $ac_func |
|
|
5796 | |
|
|
5797 | /* Override any GCC internal prototype to avoid an error. |
|
|
5798 | Use char because int might match the return type of a GCC |
|
|
5799 | builtin and then its argument prototype would still apply. */ |
|
|
5800 | #ifdef __cplusplus |
|
|
5801 | extern "C" |
|
|
5802 | #endif |
|
|
5803 | char $ac_func (); |
|
|
5804 | /* The GNU C library defines this for functions which it implements |
|
|
5805 | to always fail with ENOSYS. Some functions are actually named |
|
|
5806 | something starting with __ and the normal name is an alias. */ |
|
|
5807 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5808 | choke me |
|
|
5809 | #endif |
|
|
5810 | |
|
|
5811 | int |
|
|
5812 | main () |
|
|
5813 | { |
|
|
5814 | return $ac_func (); |
|
|
5815 | ; |
|
|
5816 | return 0; |
|
|
5817 | } |
|
|
5818 | _ACEOF |
|
|
5819 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5820 | if { (ac_try="$ac_link" |
|
|
5821 | case "(($ac_try" in |
|
|
5822 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5823 | *) ac_try_echo=$ac_try;; |
|
|
5824 | esac |
|
|
5825 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5826 | (eval "$ac_link") 2>conftest.er1 |
|
|
5827 | ac_status=$? |
|
|
5828 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5829 | rm -f conftest.er1 |
|
|
5830 | cat conftest.err >&5 |
|
|
5831 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5832 | (exit $ac_status); } && { |
|
|
5833 | test -z "$ac_cxx_werror_flag" || |
|
|
5834 | test ! -s conftest.err |
|
|
5835 | } && test -s conftest$ac_exeext && |
|
|
5836 | $as_test_x conftest$ac_exeext; then |
|
|
5837 | eval "$as_ac_var=yes" |
|
|
5838 | else |
|
|
5839 | echo "$as_me: failed program was:" >&5 |
|
|
5840 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5841 | |
|
|
5842 | eval "$as_ac_var=no" |
|
|
5843 | fi |
|
|
5844 | |
|
|
5845 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5846 | conftest$ac_exeext conftest.$ac_ext |
|
|
5847 | fi |
|
|
5848 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5849 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5850 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5851 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5852 | cat >>confdefs.h <<_ACEOF |
|
|
5853 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5854 | _ACEOF |
|
|
5855 | |
|
|
5856 | fi |
|
|
5857 | done |
|
|
5858 | |
|
|
5859 | |
|
|
5860 | fi |
|
|
5861 | |
|
|
5862 | |
|
|
5863 | |
|
|
5864 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
|
|
5865 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
|
|
5866 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
|
|
5867 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5868 | else |
|
|
5869 | ac_check_lib_save_LIBS=$LIBS |
|
|
5870 | LIBS="-lm $LIBS" |
|
|
5871 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5872 | /* confdefs.h. */ |
|
|
5873 | _ACEOF |
|
|
5874 | cat confdefs.h >>conftest.$ac_ext |
|
|
5875 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5876 | /* end confdefs.h. */ |
|
|
5877 | |
|
|
5878 | /* Override any GCC internal prototype to avoid an error. |
|
|
5879 | Use char because int might match the return type of a GCC |
|
|
5880 | builtin and then its argument prototype would still apply. */ |
|
|
5881 | #ifdef __cplusplus |
|
|
5882 | extern "C" |
|
|
5883 | #endif |
|
|
5884 | char ceil (); |
|
|
5885 | int |
|
|
5886 | main () |
|
|
5887 | { |
|
|
5888 | return ceil (); |
|
|
5889 | ; |
|
|
5890 | return 0; |
|
|
5891 | } |
|
|
5892 | _ACEOF |
|
|
5893 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5894 | if { (ac_try="$ac_link" |
|
|
5895 | case "(($ac_try" in |
|
|
5896 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5897 | *) ac_try_echo=$ac_try;; |
|
|
5898 | esac |
|
|
5899 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5900 | (eval "$ac_link") 2>conftest.er1 |
|
|
5901 | ac_status=$? |
|
|
5902 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5903 | rm -f conftest.er1 |
|
|
5904 | cat conftest.err >&5 |
|
|
5905 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5906 | (exit $ac_status); } && { |
|
|
5907 | test -z "$ac_cxx_werror_flag" || |
|
|
5908 | test ! -s conftest.err |
|
|
5909 | } && test -s conftest$ac_exeext && |
|
|
5910 | $as_test_x conftest$ac_exeext; then |
|
|
5911 | ac_cv_lib_m_ceil=yes |
|
|
5912 | else |
|
|
5913 | echo "$as_me: failed program was:" >&5 |
|
|
5914 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5915 | |
|
|
5916 | ac_cv_lib_m_ceil=no |
|
|
5917 | fi |
|
|
5918 | |
|
|
5919 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5920 | conftest$ac_exeext conftest.$ac_ext |
|
|
5921 | LIBS=$ac_check_lib_save_LIBS |
|
|
5922 | fi |
|
|
5923 | { echo "$as_me:$LINENO: result: $ac_cv_lib_m_ceil" >&5 |
|
|
5924 | echo "${ECHO_T}$ac_cv_lib_m_ceil" >&6; } |
|
|
5925 | if test $ac_cv_lib_m_ceil = yes; then |
|
|
5926 | cat >>confdefs.h <<_ACEOF |
|
|
5927 | #define HAVE_LIBM 1 |
|
|
5928 | _ACEOF |
|
|
5929 | |
|
|
5930 | LIBS="-lm $LIBS" |
|
|
5931 | |
|
|
5932 | fi |
|
|
5933 | |
|
|
5934 | |
|
|
5935 | |
|
|
5936 | |
4834 | |
5937 | |
4835 | |
5938 | |
4836 | |
5939 | |
4837 | # Extract the first word of "tic", so it can be a program name with args. |
5940 | # Extract the first word of "tic", so it can be a program name with args. |
4838 | set dummy tic; ac_word=$2 |
5941 | set dummy tic; ac_word=$2 |
… | |
… | |
4874 | echo "${ECHO_T}no" >&6; } |
5977 | echo "${ECHO_T}no" >&6; } |
4875 | fi |
5978 | fi |
4876 | |
5979 | |
4877 | |
5980 | |
4878 | |
5981 | |
4879 | |
|
|
4880 | |
|
|
4881 | ac_ext=cpp |
|
|
4882 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
4883 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
4884 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
4885 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
4886 | { echo "$as_me:$LINENO: checking how to run the C++ preprocessor" >&5 |
|
|
4887 | echo $ECHO_N "checking how to run the C++ preprocessor... $ECHO_C" >&6; } |
|
|
4888 | if test -z "$CXXCPP"; then |
|
|
4889 | if test "${ac_cv_prog_CXXCPP+set}" = set; then |
|
|
4890 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
4891 | else |
|
|
4892 | # Double quotes because CXXCPP needs to be expanded |
|
|
4893 | for CXXCPP in "$CXX -E" "/lib/cpp" |
|
|
4894 | do |
|
|
4895 | ac_preproc_ok=false |
|
|
4896 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
4897 | do |
|
|
4898 | # Use a header file that comes with gcc, so configuring glibc |
|
|
4899 | # with a fresh cross-compiler works. |
|
|
4900 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
4901 | # <limits.h> exists even on freestanding compilers. |
|
|
4902 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
4903 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
4904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
4905 | /* confdefs.h. */ |
|
|
4906 | _ACEOF |
|
|
4907 | cat confdefs.h >>conftest.$ac_ext |
|
|
4908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
4909 | /* end confdefs.h. */ |
|
|
4910 | #ifdef __STDC__ |
|
|
4911 | # include <limits.h> |
|
|
4912 | #else |
|
|
4913 | # include <assert.h> |
|
|
4914 | #endif |
|
|
4915 | Syntax error |
|
|
4916 | _ACEOF |
|
|
4917 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4918 | case "(($ac_try" in |
|
|
4919 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4920 | *) ac_try_echo=$ac_try;; |
|
|
4921 | esac |
|
|
4922 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4923 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4924 | ac_status=$? |
|
|
4925 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4926 | rm -f conftest.er1 |
|
|
4927 | cat conftest.err >&5 |
|
|
4928 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4929 | (exit $ac_status); } >/dev/null && { |
|
|
4930 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4931 | test ! -s conftest.err |
|
|
4932 | }; then |
|
|
4933 | : |
|
|
4934 | else |
|
|
4935 | echo "$as_me: failed program was:" >&5 |
|
|
4936 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4937 | |
|
|
4938 | # Broken: fails on valid input. |
|
|
4939 | continue |
|
|
4940 | fi |
|
|
4941 | |
|
|
4942 | rm -f conftest.err conftest.$ac_ext |
|
|
4943 | |
|
|
4944 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
4945 | # can be detected and how. |
|
|
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 | #include <ac_nonexistent.h> |
|
|
4953 | _ACEOF |
|
|
4954 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
4955 | case "(($ac_try" in |
|
|
4956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
4957 | *) ac_try_echo=$ac_try;; |
|
|
4958 | esac |
|
|
4959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
4960 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
4961 | ac_status=$? |
|
|
4962 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
4963 | rm -f conftest.er1 |
|
|
4964 | cat conftest.err >&5 |
|
|
4965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
4966 | (exit $ac_status); } >/dev/null && { |
|
|
4967 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
4968 | test ! -s conftest.err |
|
|
4969 | }; then |
|
|
4970 | # Broken: success on invalid input. |
|
|
4971 | continue |
|
|
4972 | else |
|
|
4973 | echo "$as_me: failed program was:" >&5 |
|
|
4974 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
4975 | |
|
|
4976 | # Passes both tests. |
|
|
4977 | ac_preproc_ok=: |
|
|
4978 | break |
|
|
4979 | fi |
|
|
4980 | |
|
|
4981 | rm -f conftest.err conftest.$ac_ext |
|
|
4982 | |
|
|
4983 | done |
|
|
4984 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
4985 | rm -f conftest.err conftest.$ac_ext |
|
|
4986 | if $ac_preproc_ok; then |
|
|
4987 | break |
|
|
4988 | fi |
|
|
4989 | |
|
|
4990 | done |
|
|
4991 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4992 | |
|
|
4993 | fi |
|
|
4994 | CXXCPP=$ac_cv_prog_CXXCPP |
|
|
4995 | else |
|
|
4996 | ac_cv_prog_CXXCPP=$CXXCPP |
|
|
4997 | fi |
|
|
4998 | { echo "$as_me:$LINENO: result: $CXXCPP" >&5 |
|
|
4999 | echo "${ECHO_T}$CXXCPP" >&6; } |
|
|
5000 | ac_preproc_ok=false |
|
|
5001 | for ac_cxx_preproc_warn_flag in '' yes |
|
|
5002 | do |
|
|
5003 | # Use a header file that comes with gcc, so configuring glibc |
|
|
5004 | # with a fresh cross-compiler works. |
|
|
5005 | # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5006 | # <limits.h> exists even on freestanding compilers. |
|
|
5007 | # On the NeXT, cc -E runs the code through the compiler's parser, |
|
|
5008 | # not just through cpp. "Syntax error" is here to catch this case. |
|
|
5009 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5010 | /* confdefs.h. */ |
|
|
5011 | _ACEOF |
|
|
5012 | cat confdefs.h >>conftest.$ac_ext |
|
|
5013 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5014 | /* end confdefs.h. */ |
|
|
5015 | #ifdef __STDC__ |
|
|
5016 | # include <limits.h> |
|
|
5017 | #else |
|
|
5018 | # include <assert.h> |
|
|
5019 | #endif |
|
|
5020 | Syntax error |
|
|
5021 | _ACEOF |
|
|
5022 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5023 | case "(($ac_try" in |
|
|
5024 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5025 | *) ac_try_echo=$ac_try;; |
|
|
5026 | esac |
|
|
5027 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5028 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5029 | ac_status=$? |
|
|
5030 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5031 | rm -f conftest.er1 |
|
|
5032 | cat conftest.err >&5 |
|
|
5033 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5034 | (exit $ac_status); } >/dev/null && { |
|
|
5035 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5036 | test ! -s conftest.err |
|
|
5037 | }; then |
|
|
5038 | : |
|
|
5039 | else |
|
|
5040 | echo "$as_me: failed program was:" >&5 |
|
|
5041 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5042 | |
|
|
5043 | # Broken: fails on valid input. |
|
|
5044 | continue |
|
|
5045 | fi |
|
|
5046 | |
|
|
5047 | rm -f conftest.err conftest.$ac_ext |
|
|
5048 | |
|
|
5049 | # OK, works on sane cases. Now check whether nonexistent headers |
|
|
5050 | # can be detected and how. |
|
|
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 | #include <ac_nonexistent.h> |
|
|
5058 | _ACEOF |
|
|
5059 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
|
|
5060 | case "(($ac_try" in |
|
|
5061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5062 | *) ac_try_echo=$ac_try;; |
|
|
5063 | esac |
|
|
5064 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5065 | (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1 |
|
|
5066 | ac_status=$? |
|
|
5067 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5068 | rm -f conftest.er1 |
|
|
5069 | cat conftest.err >&5 |
|
|
5070 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5071 | (exit $ac_status); } >/dev/null && { |
|
|
5072 | test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" || |
|
|
5073 | test ! -s conftest.err |
|
|
5074 | }; then |
|
|
5075 | # Broken: success on invalid input. |
|
|
5076 | continue |
|
|
5077 | else |
|
|
5078 | echo "$as_me: failed program was:" >&5 |
|
|
5079 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5080 | |
|
|
5081 | # Passes both tests. |
|
|
5082 | ac_preproc_ok=: |
|
|
5083 | break |
|
|
5084 | fi |
|
|
5085 | |
|
|
5086 | rm -f conftest.err conftest.$ac_ext |
|
|
5087 | |
|
|
5088 | done |
|
|
5089 | # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped. |
|
|
5090 | rm -f conftest.err conftest.$ac_ext |
|
|
5091 | if $ac_preproc_ok; then |
|
|
5092 | : |
|
|
5093 | else |
|
|
5094 | { { echo "$as_me:$LINENO: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5095 | See \`config.log' for more details." >&5 |
|
|
5096 | echo "$as_me: error: C++ preprocessor \"$CXXCPP\" fails sanity check |
|
|
5097 | See \`config.log' for more details." >&2;} |
|
|
5098 | { (exit 1); exit 1; }; } |
|
|
5099 | fi |
|
|
5100 | |
|
|
5101 | ac_ext=cpp |
|
|
5102 | ac_cpp='$CXXCPP $CPPFLAGS' |
|
|
5103 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
|
|
5104 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
|
|
5105 | ac_compiler_gnu=$ac_cv_cxx_compiler_gnu |
|
|
5106 | |
5982 | |
5107 | |
5983 | |
5108 | { echo "$as_me:$LINENO: checking for X" >&5 |
5984 | { echo "$as_me:$LINENO: checking for X" >&5 |
5109 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5985 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5110 | |
5986 | |
… | |
… | |
6563 | #define HAVE_SYS_WAIT_H 1 |
7439 | #define HAVE_SYS_WAIT_H 1 |
6564 | _ACEOF |
7440 | _ACEOF |
6565 | |
7441 | |
6566 | fi |
7442 | fi |
6567 | |
7443 | |
6568 | { echo "$as_me:$LINENO: checking for ANSI C header files" >&5 |
|
|
6569 | echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; } |
|
|
6570 | if test "${ac_cv_header_stdc+set}" = set; then |
|
|
6571 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6572 | else |
|
|
6573 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6574 | /* confdefs.h. */ |
|
|
6575 | _ACEOF |
|
|
6576 | cat confdefs.h >>conftest.$ac_ext |
|
|
6577 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6578 | /* end confdefs.h. */ |
|
|
6579 | #include <stdlib.h> |
|
|
6580 | #include <stdarg.h> |
|
|
6581 | #include <string.h> |
|
|
6582 | #include <float.h> |
|
|
6583 | |
|
|
6584 | int |
|
|
6585 | main () |
|
|
6586 | { |
|
|
6587 | |
|
|
6588 | ; |
|
|
6589 | return 0; |
|
|
6590 | } |
|
|
6591 | _ACEOF |
|
|
6592 | rm -f conftest.$ac_objext |
|
|
6593 | if { (ac_try="$ac_compile" |
|
|
6594 | case "(($ac_try" in |
|
|
6595 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6596 | *) ac_try_echo=$ac_try;; |
|
|
6597 | esac |
|
|
6598 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6599 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6600 | ac_status=$? |
|
|
6601 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6602 | rm -f conftest.er1 |
|
|
6603 | cat conftest.err >&5 |
|
|
6604 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6605 | (exit $ac_status); } && { |
|
|
6606 | test -z "$ac_cxx_werror_flag" || |
|
|
6607 | test ! -s conftest.err |
|
|
6608 | } && test -s conftest.$ac_objext; then |
|
|
6609 | ac_cv_header_stdc=yes |
|
|
6610 | else |
|
|
6611 | echo "$as_me: failed program was:" >&5 |
|
|
6612 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6613 | |
|
|
6614 | ac_cv_header_stdc=no |
|
|
6615 | fi |
|
|
6616 | |
|
|
6617 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6618 | |
|
|
6619 | if test $ac_cv_header_stdc = yes; then |
|
|
6620 | # SunOS 4.x string.h does not declare mem*, contrary to ANSI. |
|
|
6621 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6622 | /* confdefs.h. */ |
|
|
6623 | _ACEOF |
|
|
6624 | cat confdefs.h >>conftest.$ac_ext |
|
|
6625 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6626 | /* end confdefs.h. */ |
|
|
6627 | #include <string.h> |
|
|
6628 | |
|
|
6629 | _ACEOF |
|
|
6630 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6631 | $EGREP "memchr" >/dev/null 2>&1; then |
|
|
6632 | : |
|
|
6633 | else |
|
|
6634 | ac_cv_header_stdc=no |
|
|
6635 | fi |
|
|
6636 | rm -f conftest* |
|
|
6637 | |
|
|
6638 | fi |
|
|
6639 | |
|
|
6640 | if test $ac_cv_header_stdc = yes; then |
|
|
6641 | # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI. |
|
|
6642 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6643 | /* confdefs.h. */ |
|
|
6644 | _ACEOF |
|
|
6645 | cat confdefs.h >>conftest.$ac_ext |
|
|
6646 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6647 | /* end confdefs.h. */ |
|
|
6648 | #include <stdlib.h> |
|
|
6649 | |
|
|
6650 | _ACEOF |
|
|
6651 | if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | |
|
|
6652 | $EGREP "free" >/dev/null 2>&1; then |
|
|
6653 | : |
|
|
6654 | else |
|
|
6655 | ac_cv_header_stdc=no |
|
|
6656 | fi |
|
|
6657 | rm -f conftest* |
|
|
6658 | |
|
|
6659 | fi |
|
|
6660 | |
|
|
6661 | if test $ac_cv_header_stdc = yes; then |
|
|
6662 | # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi. |
|
|
6663 | if test "$cross_compiling" = yes; then |
|
|
6664 | : |
|
|
6665 | else |
|
|
6666 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6667 | /* confdefs.h. */ |
|
|
6668 | _ACEOF |
|
|
6669 | cat confdefs.h >>conftest.$ac_ext |
|
|
6670 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6671 | /* end confdefs.h. */ |
|
|
6672 | #include <ctype.h> |
|
|
6673 | #include <stdlib.h> |
|
|
6674 | #if ((' ' & 0x0FF) == 0x020) |
|
|
6675 | # define ISLOWER(c) ('a' <= (c) && (c) <= 'z') |
|
|
6676 | # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c)) |
|
|
6677 | #else |
|
|
6678 | # define ISLOWER(c) \ |
|
|
6679 | (('a' <= (c) && (c) <= 'i') \ |
|
|
6680 | || ('j' <= (c) && (c) <= 'r') \ |
|
|
6681 | || ('s' <= (c) && (c) <= 'z')) |
|
|
6682 | # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c)) |
|
|
6683 | #endif |
|
|
6684 | |
|
|
6685 | #define XOR(e, f) (((e) && !(f)) || (!(e) && (f))) |
|
|
6686 | int |
|
|
6687 | main () |
|
|
6688 | { |
|
|
6689 | int i; |
|
|
6690 | for (i = 0; i < 256; i++) |
|
|
6691 | if (XOR (islower (i), ISLOWER (i)) |
|
|
6692 | || toupper (i) != TOUPPER (i)) |
|
|
6693 | return 2; |
|
|
6694 | return 0; |
|
|
6695 | } |
|
|
6696 | _ACEOF |
|
|
6697 | rm -f conftest$ac_exeext |
|
|
6698 | if { (ac_try="$ac_link" |
|
|
6699 | case "(($ac_try" in |
|
|
6700 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6701 | *) ac_try_echo=$ac_try;; |
|
|
6702 | esac |
|
|
6703 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6704 | (eval "$ac_link") 2>&5 |
|
|
6705 | ac_status=$? |
|
|
6706 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6707 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
6708 | { (case "(($ac_try" in |
|
|
6709 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6710 | *) ac_try_echo=$ac_try;; |
|
|
6711 | esac |
|
|
6712 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6713 | (eval "$ac_try") 2>&5 |
|
|
6714 | ac_status=$? |
|
|
6715 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6716 | (exit $ac_status); }; }; then |
|
|
6717 | : |
|
|
6718 | else |
|
|
6719 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
6720 | echo "$as_me: failed program was:" >&5 |
|
|
6721 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6722 | |
|
|
6723 | ( exit $ac_status ) |
|
|
6724 | ac_cv_header_stdc=no |
|
|
6725 | fi |
|
|
6726 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
6727 | fi |
|
|
6728 | |
|
|
6729 | |
|
|
6730 | fi |
|
|
6731 | fi |
|
|
6732 | { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5 |
|
|
6733 | echo "${ECHO_T}$ac_cv_header_stdc" >&6; } |
|
|
6734 | if test $ac_cv_header_stdc = yes; then |
|
|
6735 | |
|
|
6736 | cat >>confdefs.h <<\_ACEOF |
|
|
6737 | #define STDC_HEADERS 1 |
|
|
6738 | _ACEOF |
|
|
6739 | |
|
|
6740 | fi |
|
|
6741 | |
|
|
6742 | # On IRIX 5.3, sys/types and inttypes.h are conflicting. |
|
|
6743 | |
|
|
6744 | |
|
|
6745 | |
|
|
6746 | |
|
|
6747 | |
|
|
6748 | |
|
|
6749 | |
|
|
6750 | |
|
|
6751 | |
|
|
6752 | for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \ |
|
|
6753 | inttypes.h stdint.h unistd.h |
|
|
6754 | do |
|
|
6755 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
6756 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
|
|
6757 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
|
|
6758 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6759 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6760 | else |
|
|
6761 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6762 | /* confdefs.h. */ |
|
|
6763 | _ACEOF |
|
|
6764 | cat confdefs.h >>conftest.$ac_ext |
|
|
6765 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6766 | /* end confdefs.h. */ |
|
|
6767 | $ac_includes_default |
|
|
6768 | |
|
|
6769 | #include <$ac_header> |
|
|
6770 | _ACEOF |
|
|
6771 | rm -f conftest.$ac_objext |
|
|
6772 | if { (ac_try="$ac_compile" |
|
|
6773 | case "(($ac_try" in |
|
|
6774 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6775 | *) ac_try_echo=$ac_try;; |
|
|
6776 | esac |
|
|
6777 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6778 | (eval "$ac_compile") 2>conftest.er1 |
|
|
6779 | ac_status=$? |
|
|
6780 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6781 | rm -f conftest.er1 |
|
|
6782 | cat conftest.err >&5 |
|
|
6783 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6784 | (exit $ac_status); } && { |
|
|
6785 | test -z "$ac_cxx_werror_flag" || |
|
|
6786 | test ! -s conftest.err |
|
|
6787 | } && test -s conftest.$ac_objext; then |
|
|
6788 | eval "$as_ac_Header=yes" |
|
|
6789 | else |
|
|
6790 | echo "$as_me: failed program was:" >&5 |
|
|
6791 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6792 | |
|
|
6793 | eval "$as_ac_Header=no" |
|
|
6794 | fi |
|
|
6795 | |
|
|
6796 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
6797 | fi |
|
|
6798 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
6799 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6800 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6801 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
6802 | cat >>confdefs.h <<_ACEOF |
|
|
6803 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
6804 | _ACEOF |
|
|
6805 | |
|
|
6806 | fi |
|
|
6807 | |
|
|
6808 | done |
|
|
6809 | |
|
|
6810 | |
|
|
6811 | |
7444 | |
6812 | |
7445 | |
6813 | |
7446 | |
6814 | |
7447 | |
6815 | |
7448 | |
… | |
… | |
9577 | _ACEOF |
10210 | _ACEOF |
9578 | |
10211 | |
9579 | |
10212 | |
9580 | |
10213 | |
9581 | |
10214 | |
9582 | |
|
|
9583 | |
|
|
9584 | for ac_func in \ |
10215 | for ac_func in unsetenv |
9585 | unsetenv \ |
|
|
9586 | setutent \ |
|
|
9587 | on_exit \ |
|
|
9588 | |
|
|
9589 | do |
10216 | do |
9590 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10217 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9591 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10218 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9592 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10219 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
9593 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
10220 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
9732 | |
10359 | |
9733 | |
10360 | |
9734 | |
10361 | |
9735 | |
10362 | |
9736 | for ac_func in \ |
10363 | for ac_func in \ |
9737 | ttyslot \ |
|
|
9738 | updwtmp \ |
10364 | updwtmp \ |
9739 | updwtmpx \ |
10365 | updwtmpx \ |
|
|
10366 | updlastlogx \ |
9740 | |
10367 | |
9741 | do |
10368 | do |
9742 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10369 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9743 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
10370 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9744 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
10371 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
11165 | |
11792 | |
11166 | cat >>confdefs.h <<_ACEOF |
11793 | cat >>confdefs.h <<_ACEOF |
11167 | #define LASTLOG_FILE "$path_lastlog" |
11794 | #define LASTLOG_FILE "$path_lastlog" |
11168 | _ACEOF |
11795 | _ACEOF |
11169 | |
11796 | |
11170 | if test -d "$path_lastlog"; then |
|
|
11171 | |
|
|
11172 | cat >>confdefs.h <<\_ACEOF |
|
|
11173 | #define LASTLOG_IS_DIR 1 |
|
|
11174 | _ACEOF |
|
|
11175 | |
|
|
11176 | fi |
|
|
11177 | fi |
11797 | fi |
11178 | |
11798 | |
11179 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11799 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
11180 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11800 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
11181 | if test "${path_lastlogx+set}" = set; then |
11801 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
11263 | |
11883 | |
11264 | fi |
11884 | fi |
11265 | |
11885 | |
11266 | |
11886 | |
11267 | |
11887 | |
11268 | { echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 |
|
|
11269 | echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } |
|
|
11270 | if test "${rxvt_cv_path_ttytab+set}" = set; then |
|
|
11271 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
11272 | else |
|
|
11273 | for ttys_file in /etc/ttys /etc/ttytab; |
|
|
11274 | do |
|
|
11275 | if test -f "$ttys_file" ; then |
|
|
11276 | rxvt_cv_path_ttytab=$ttys_file |
|
|
11277 | break |
|
|
11278 | fi |
|
|
11279 | done |
|
|
11280 | |
11888 | |
11281 | fi |
|
|
11282 | { echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 |
|
|
11283 | echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } |
|
|
11284 | if test x$rxvt_cv_path_ttytab != x; then |
|
|
11285 | |
|
|
11286 | cat >>confdefs.h <<_ACEOF |
|
|
11287 | #define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" |
|
|
11288 | _ACEOF |
|
|
11289 | |
|
|
11290 | fi |
|
|
11291 | |
|
|
11292 | |
|
|
11293 | ac_save_LIBS=$LIBS |
11889 | save_LIBS=$LIBS |
11294 | ac_save_CFLAGS=$CFLAGS |
11890 | save_CFLAGS=$CFLAGS |
11295 | CFLAGS="$CFLAGS $X_CFLAGS" |
11891 | CFLAGS="$CFLAGS $X_CFLAGS" |
11296 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11892 | LIBS="$LIBS $X_LIBS $X_EXTRA_LIBS -lX11" |
11297 | if test x$support_xim = xyes; then |
11893 | if test x$support_xim = xyes; then |
11298 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11894 | { echo "$as_me:$LINENO: checking for working Xlocale" >&5 |
11299 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
11895 | echo $ECHO_N "checking for working Xlocale... $ECHO_C" >&6; } |
… | |
… | |
11474 | cat >>confdefs.h <<\_ACEOF |
12070 | cat >>confdefs.h <<\_ACEOF |
11475 | #define HAVE_XSETLOCALE 1 |
12071 | #define HAVE_XSETLOCALE 1 |
11476 | _ACEOF |
12072 | _ACEOF |
11477 | |
12073 | |
11478 | fi |
12074 | fi |
11479 | LIBS=$ac_save_LIBS |
12075 | LIBS=$save_LIBS |
11480 | CFLAGS=$ac_save_CFLAGS |
12076 | CFLAGS=$save_CFLAGS |
11481 | |
12077 | |
11482 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
12078 | { echo "$as_me:$LINENO: checking for working plain setlocale" >&5 |
11483 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
12079 | echo $ECHO_N "checking for working plain setlocale... $ECHO_C" >&6; } |
11484 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
12080 | if test "${rxvt_cv_func_setlocale+set}" = set; then |
11485 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
12081 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12378 | echo "${ECHO_T}no" >&6; } |
12974 | echo "${ECHO_T}no" >&6; } |
12379 | fi |
12975 | fi |
12380 | |
12976 | |
12381 | |
12977 | |
12382 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12978 | if test $PKG_CONFIG != no && $PKG_CONFIG --exists xft; then |
12383 | LIBS="$LIBS `$PKG_CONFIG xft --libs`" |
12979 | X_LIBS="`$PKG_CONFIG xft --libs` $X_LIBS" |
12384 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12980 | CPPFLAGS="$CPPFLAGS `$PKG_CONFIG xft --cflags`" |
12385 | else |
12981 | else |
12386 | # Extract the first word of "xft-config", so it can be a program name with args. |
12982 | # Extract the first word of "xft-config", so it can be a program name with args. |
12387 | set dummy xft-config; ac_word=$2 |
12983 | set dummy xft-config; ac_word=$2 |
12388 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
12984 | { echo "$as_me:$LINENO: checking for $ac_word" >&5 |
… | |
… | |
12423 | echo "${ECHO_T}no" >&6; } |
13019 | echo "${ECHO_T}no" >&6; } |
12424 | fi |
13020 | fi |
12425 | |
13021 | |
12426 | |
13022 | |
12427 | if test $XFT_CONFIG != no; then |
13023 | if test $XFT_CONFIG != no; then |
12428 | LIBS="$LIBS `$XFT_CONFIG --libs`" |
13024 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
12429 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13025 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
12430 | fi |
13026 | fi |
12431 | fi |
13027 | fi |
12432 | |
13028 | |
12433 | |
13029 | |
… | |
… | |
12570 | support_xft=no |
13166 | support_xft=no |
12571 | fi |
13167 | fi |
12572 | |
13168 | |
12573 | done |
13169 | done |
12574 | |
13170 | |
|
|
13171 | ac_save_LIBS="$LIBS" |
|
|
13172 | LIBS="$LIBS $X_LIBS" |
12575 | |
13173 | |
12576 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13174 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
12577 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13175 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
12578 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13176 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
12579 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
12643 | |
13241 | |
12644 | else |
13242 | else |
12645 | support_xft=no |
13243 | support_xft=no |
12646 | fi |
13244 | fi |
12647 | |
13245 | |
|
|
13246 | LIBS="$ac_save_LIBS" |
12648 | |
13247 | |
12649 | if test x$support_xft = xyes; then |
13248 | if test x$support_xft = xyes; then |
12650 | |
13249 | |
12651 | cat >>confdefs.h <<\_ACEOF |
13250 | cat >>confdefs.h <<\_ACEOF |
12652 | #define XFT 1 |
13251 | #define XFT 1 |
… | |
… | |
13797 | GREP!$GREP$ac_delim |
14396 | GREP!$GREP$ac_delim |
13798 | EGREP!$EGREP$ac_delim |
14397 | EGREP!$EGREP$ac_delim |
13799 | LINKER!$LINKER$ac_delim |
14398 | LINKER!$LINKER$ac_delim |
13800 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
14399 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
13801 | RXVTNAME!$RXVTNAME$ac_delim |
14400 | RXVTNAME!$RXVTNAME$ac_delim |
|
|
14401 | CXXCPP!$CXXCPP$ac_delim |
13802 | TIC!$TIC$ac_delim |
14402 | TIC!$TIC$ac_delim |
13803 | XMKMF!$XMKMF$ac_delim |
14403 | XMKMF!$XMKMF$ac_delim |
13804 | CXXCPP!$CXXCPP$ac_delim |
|
|
13805 | X_CFLAGS!$X_CFLAGS$ac_delim |
14404 | X_CFLAGS!$X_CFLAGS$ac_delim |
13806 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14405 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
13807 | X_LIBS!$X_LIBS$ac_delim |
14406 | X_LIBS!$X_LIBS$ac_delim |
13808 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14407 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
13809 | afterimage_config!$afterimage_config$ac_delim |
14408 | afterimage_config!$afterimage_config$ac_delim |