… | |
… | |
5837 | fi |
5837 | fi |
5838 | |
5838 | |
5839 | fi |
5839 | fi |
5840 | |
5840 | |
5841 | |
5841 | |
|
|
5842 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5843 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5844 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5845 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5846 | else |
|
|
5847 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5848 | /* confdefs.h. */ |
|
|
5849 | _ACEOF |
|
|
5850 | cat confdefs.h >>conftest.$ac_ext |
|
|
5851 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5852 | /* end confdefs.h. */ |
|
|
5853 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5854 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5855 | #define nanosleep innocuous_nanosleep |
|
|
5856 | |
|
|
5857 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5858 | which can conflict with char nanosleep (); below. |
|
|
5859 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5860 | <limits.h> exists even on freestanding compilers. */ |
|
|
5861 | |
|
|
5862 | #ifdef __STDC__ |
|
|
5863 | # include <limits.h> |
|
|
5864 | #else |
|
|
5865 | # include <assert.h> |
|
|
5866 | #endif |
|
|
5867 | |
|
|
5868 | #undef nanosleep |
|
|
5869 | |
|
|
5870 | /* Override any GCC internal prototype to avoid an error. |
|
|
5871 | Use char because int might match the return type of a GCC |
|
|
5872 | builtin and then its argument prototype would still apply. */ |
|
|
5873 | #ifdef __cplusplus |
|
|
5874 | extern "C" |
|
|
5875 | #endif |
|
|
5876 | char nanosleep (); |
|
|
5877 | /* The GNU C library defines this for functions which it implements |
|
|
5878 | to always fail with ENOSYS. Some functions are actually named |
|
|
5879 | something starting with __ and the normal name is an alias. */ |
|
|
5880 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5881 | choke me |
|
|
5882 | #endif |
|
|
5883 | |
|
|
5884 | int |
|
|
5885 | main () |
|
|
5886 | { |
|
|
5887 | return nanosleep (); |
|
|
5888 | ; |
|
|
5889 | return 0; |
|
|
5890 | } |
|
|
5891 | _ACEOF |
|
|
5892 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5893 | if { (ac_try="$ac_link" |
|
|
5894 | case "(($ac_try" in |
|
|
5895 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5896 | *) ac_try_echo=$ac_try;; |
|
|
5897 | esac |
|
|
5898 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5899 | (eval "$ac_link") 2>conftest.er1 |
|
|
5900 | ac_status=$? |
|
|
5901 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5902 | rm -f conftest.er1 |
|
|
5903 | cat conftest.err >&5 |
|
|
5904 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5905 | (exit $ac_status); } && { |
|
|
5906 | test -z "$ac_cxx_werror_flag" || |
|
|
5907 | test ! -s conftest.err |
|
|
5908 | } && test -s conftest$ac_exeext && |
|
|
5909 | $as_test_x conftest$ac_exeext; then |
|
|
5910 | ac_cv_func_nanosleep=yes |
|
|
5911 | else |
|
|
5912 | echo "$as_me: failed program was:" >&5 |
|
|
5913 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5914 | |
|
|
5915 | ac_cv_func_nanosleep=no |
|
|
5916 | fi |
|
|
5917 | |
|
|
5918 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5919 | conftest$ac_exeext conftest.$ac_ext |
|
|
5920 | fi |
|
|
5921 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5922 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5923 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5924 | : |
|
|
5925 | else |
|
|
5926 | |
|
|
5927 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5928 | |
|
|
5929 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5930 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5931 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5932 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5933 | else |
|
|
5934 | ac_check_lib_save_LIBS=$LIBS |
|
|
5935 | LIBS="-lrt $LIBS" |
|
|
5936 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5937 | /* confdefs.h. */ |
|
|
5938 | _ACEOF |
|
|
5939 | cat confdefs.h >>conftest.$ac_ext |
|
|
5940 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5941 | /* end confdefs.h. */ |
|
|
5942 | |
|
|
5943 | /* Override any GCC internal prototype to avoid an error. |
|
|
5944 | Use char because int might match the return type of a GCC |
|
|
5945 | builtin and then its argument prototype would still apply. */ |
|
|
5946 | #ifdef __cplusplus |
|
|
5947 | extern "C" |
|
|
5948 | #endif |
|
|
5949 | char nanosleep (); |
|
|
5950 | int |
|
|
5951 | main () |
|
|
5952 | { |
|
|
5953 | return nanosleep (); |
|
|
5954 | ; |
|
|
5955 | return 0; |
|
|
5956 | } |
|
|
5957 | _ACEOF |
|
|
5958 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5959 | if { (ac_try="$ac_link" |
|
|
5960 | case "(($ac_try" in |
|
|
5961 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5962 | *) ac_try_echo=$ac_try;; |
|
|
5963 | esac |
|
|
5964 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5965 | (eval "$ac_link") 2>conftest.er1 |
|
|
5966 | ac_status=$? |
|
|
5967 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5968 | rm -f conftest.er1 |
|
|
5969 | cat conftest.err >&5 |
|
|
5970 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5971 | (exit $ac_status); } && { |
|
|
5972 | test -z "$ac_cxx_werror_flag" || |
|
|
5973 | test ! -s conftest.err |
|
|
5974 | } && test -s conftest$ac_exeext && |
|
|
5975 | $as_test_x conftest$ac_exeext; then |
|
|
5976 | ac_cv_lib_rt_nanosleep=yes |
|
|
5977 | else |
|
|
5978 | echo "$as_me: failed program was:" >&5 |
|
|
5979 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5980 | |
|
|
5981 | ac_cv_lib_rt_nanosleep=no |
|
|
5982 | fi |
|
|
5983 | |
|
|
5984 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5985 | conftest$ac_exeext conftest.$ac_ext |
|
|
5986 | LIBS=$ac_check_lib_save_LIBS |
|
|
5987 | fi |
|
|
5988 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
5989 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
5990 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
5991 | cat >>confdefs.h <<_ACEOF |
|
|
5992 | #define HAVE_LIBRT 1 |
|
|
5993 | _ACEOF |
|
|
5994 | |
|
|
5995 | LIBS="-lrt $LIBS" |
|
|
5996 | |
|
|
5997 | fi |
|
|
5998 | |
|
|
5999 | unset ac_cv_func_nanosleep |
|
|
6000 | |
|
|
6001 | for ac_func in nanosleep |
|
|
6002 | do |
|
|
6003 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
6004 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
6005 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6006 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6007 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6008 | else |
|
|
6009 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6010 | /* confdefs.h. */ |
|
|
6011 | _ACEOF |
|
|
6012 | cat confdefs.h >>conftest.$ac_ext |
|
|
6013 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6014 | /* end confdefs.h. */ |
|
|
6015 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6016 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6017 | #define $ac_func innocuous_$ac_func |
|
|
6018 | |
|
|
6019 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6020 | which can conflict with char $ac_func (); below. |
|
|
6021 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6022 | <limits.h> exists even on freestanding compilers. */ |
|
|
6023 | |
|
|
6024 | #ifdef __STDC__ |
|
|
6025 | # include <limits.h> |
|
|
6026 | #else |
|
|
6027 | # include <assert.h> |
|
|
6028 | #endif |
|
|
6029 | |
|
|
6030 | #undef $ac_func |
|
|
6031 | |
|
|
6032 | /* Override any GCC internal prototype to avoid an error. |
|
|
6033 | Use char because int might match the return type of a GCC |
|
|
6034 | builtin and then its argument prototype would still apply. */ |
|
|
6035 | #ifdef __cplusplus |
|
|
6036 | extern "C" |
|
|
6037 | #endif |
|
|
6038 | char $ac_func (); |
|
|
6039 | /* The GNU C library defines this for functions which it implements |
|
|
6040 | to always fail with ENOSYS. Some functions are actually named |
|
|
6041 | something starting with __ and the normal name is an alias. */ |
|
|
6042 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6043 | choke me |
|
|
6044 | #endif |
|
|
6045 | |
|
|
6046 | int |
|
|
6047 | main () |
|
|
6048 | { |
|
|
6049 | return $ac_func (); |
|
|
6050 | ; |
|
|
6051 | return 0; |
|
|
6052 | } |
|
|
6053 | _ACEOF |
|
|
6054 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6055 | if { (ac_try="$ac_link" |
|
|
6056 | case "(($ac_try" in |
|
|
6057 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6058 | *) ac_try_echo=$ac_try;; |
|
|
6059 | esac |
|
|
6060 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6061 | (eval "$ac_link") 2>conftest.er1 |
|
|
6062 | ac_status=$? |
|
|
6063 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6064 | rm -f conftest.er1 |
|
|
6065 | cat conftest.err >&5 |
|
|
6066 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6067 | (exit $ac_status); } && { |
|
|
6068 | test -z "$ac_cxx_werror_flag" || |
|
|
6069 | test ! -s conftest.err |
|
|
6070 | } && test -s conftest$ac_exeext && |
|
|
6071 | $as_test_x conftest$ac_exeext; then |
|
|
6072 | eval "$as_ac_var=yes" |
|
|
6073 | else |
|
|
6074 | echo "$as_me: failed program was:" >&5 |
|
|
6075 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6076 | |
|
|
6077 | eval "$as_ac_var=no" |
|
|
6078 | fi |
|
|
6079 | |
|
|
6080 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6081 | conftest$ac_exeext conftest.$ac_ext |
|
|
6082 | fi |
|
|
6083 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6084 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6085 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6086 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6087 | cat >>confdefs.h <<_ACEOF |
|
|
6088 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6089 | _ACEOF |
|
|
6090 | |
|
|
6091 | fi |
|
|
6092 | done |
|
|
6093 | |
|
|
6094 | fi |
|
|
6095 | |
|
|
6096 | fi |
|
|
6097 | |
|
|
6098 | |
5842 | |
6099 | |
5843 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
6100 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
5844 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
6101 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
5845 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
6102 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
5846 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6103 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7356 | |
7613 | |
7357 | |
7614 | |
7358 | |
7615 | |
7359 | |
7616 | |
7360 | |
7617 | |
7361 | |
|
|
7362 | for ac_header in \ |
7618 | for ac_header in \ |
7363 | sys/byteorder.h \ |
7619 | sys/byteorder.h \ |
7364 | sys/ioctl.h \ |
7620 | sys/ioctl.h \ |
7365 | sys/sockio.h \ |
7621 | sys/sockio.h \ |
7366 | sys/strredir.h \ |
7622 | sys/strredir.h \ |
7367 | stdint.h \ |
7623 | stdint.h \ |
7368 | wchar.h \ |
7624 | wchar.h \ |
7369 | cwchar \ |
7625 | cwchar \ |
7370 | clocale \ |
|
|
7371 | |
7626 | |
7372 | do |
7627 | do |
7373 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7628 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7374 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7629 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7375 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7630 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
8469 | fi |
8724 | fi |
8470 | done |
8725 | done |
8471 | |
8726 | |
8472 | |
8727 | |
8473 | |
8728 | |
|
|
8729 | |
|
|
8730 | |
8474 | for ac_header in lastlog.h |
8731 | for ac_header in \ |
|
|
8732 | utmp.h \ |
|
|
8733 | utmpx.h \ |
|
|
8734 | lastlog.h \ |
|
|
8735 | |
8475 | do |
8736 | do |
8476 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8737 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8477 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8738 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8478 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8739 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8479 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8740 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
8610 | |
8871 | |
8611 | done |
8872 | done |
8612 | |
8873 | |
8613 | |
8874 | |
8614 | |
8875 | |
8615 | |
8876 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8616 | for ac_header in utmp.h |
|
|
8617 | do |
|
|
8618 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8619 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
8620 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8877 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8621 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8878 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8622 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8879 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8880 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8624 | fi |
8881 | fi |
8625 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
8626 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8882 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8627 | echo "${ECHO_T}$ac_res" >&6; } |
8883 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8628 | else |
8884 | else |
8629 | # Is the header compilable? |
8885 | # Is the header compilable? |
8630 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8886 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
8631 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8887 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
8632 | cat >conftest.$ac_ext <<_ACEOF |
8888 | cat >conftest.$ac_ext <<_ACEOF |
8633 | /* confdefs.h. */ |
8889 | /* confdefs.h. */ |
8634 | _ACEOF |
8890 | _ACEOF |
8635 | cat confdefs.h >>conftest.$ac_ext |
8891 | cat confdefs.h >>conftest.$ac_ext |
8636 | cat >>conftest.$ac_ext <<_ACEOF |
8892 | cat >>conftest.$ac_ext <<_ACEOF |
8637 | /* end confdefs.h. */ |
8893 | /* end confdefs.h. */ |
8638 | $ac_includes_default |
8894 | $ac_includes_default |
8639 | #include <$ac_header> |
8895 | #include <utmp.h> |
8640 | _ACEOF |
8896 | _ACEOF |
8641 | rm -f conftest.$ac_objext |
8897 | rm -f conftest.$ac_objext |
8642 | if { (ac_try="$ac_compile" |
8898 | if { (ac_try="$ac_compile" |
8643 | case "(($ac_try" in |
8899 | case "(($ac_try" in |
8644 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8900 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
8666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8922 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8667 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8923 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8668 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8924 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8669 | |
8925 | |
8670 | # Is the header present? |
8926 | # Is the header present? |
8671 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8927 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
8672 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8928 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
8673 | cat >conftest.$ac_ext <<_ACEOF |
8929 | cat >conftest.$ac_ext <<_ACEOF |
8674 | /* confdefs.h. */ |
8930 | /* confdefs.h. */ |
8675 | _ACEOF |
8931 | _ACEOF |
8676 | cat confdefs.h >>conftest.$ac_ext |
8932 | cat confdefs.h >>conftest.$ac_ext |
8677 | cat >>conftest.$ac_ext <<_ACEOF |
8933 | cat >>conftest.$ac_ext <<_ACEOF |
8678 | /* end confdefs.h. */ |
8934 | /* end confdefs.h. */ |
8679 | #include <$ac_header> |
8935 | #include <utmp.h> |
8680 | _ACEOF |
8936 | _ACEOF |
8681 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8937 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8682 | case "(($ac_try" in |
8938 | case "(($ac_try" in |
8683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8939 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8684 | *) ac_try_echo=$ac_try;; |
8940 | *) ac_try_echo=$ac_try;; |
… | |
… | |
8707 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8963 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8708 | |
8964 | |
8709 | # So? What about this header? |
8965 | # So? What about this header? |
8710 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8966 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8711 | yes:no: ) |
8967 | yes:no: ) |
8712 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8968 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8713 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8969 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8714 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8970 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
8715 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8971 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
8716 | ac_header_preproc=yes |
8972 | ac_header_preproc=yes |
8717 | ;; |
8973 | ;; |
8718 | no:yes:* ) |
8974 | no:yes:* ) |
8719 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8975 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
8720 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8976 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
8721 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8977 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
8722 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8978 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
8723 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8979 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
8724 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8980 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
8725 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8981 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
8726 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8982 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8727 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8983 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
8728 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8984 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
8729 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8985 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
8730 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8986 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
8731 | |
8987 | |
8732 | ;; |
8988 | ;; |
8733 | esac |
8989 | esac |
8734 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8990 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8735 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8991 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8736 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8992 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8737 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8993 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8738 | else |
8994 | else |
8739 | eval "$as_ac_Header=\$ac_header_preproc" |
8995 | ac_cv_header_utmp_h=$ac_header_preproc |
8740 | fi |
8996 | fi |
8741 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
8742 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8997 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8743 | echo "${ECHO_T}$ac_res" >&6; } |
8998 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8744 | |
8999 | |
8745 | fi |
9000 | fi |
8746 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9001 | if test $ac_cv_header_utmp_h = yes; then |
8747 | cat >>confdefs.h <<_ACEOF |
|
|
8748 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8749 | _ACEOF |
|
|
8750 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
9002 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8751 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
9003 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8752 | if test "${struct_utmp+set}" = set; then |
9004 | if test "${struct_utmp+set}" = set; then |
8753 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9005 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8754 | else |
9006 | else |
8755 | cat >conftest.$ac_ext <<_ACEOF |
9007 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
8922 | |
9174 | |
8923 | fi |
9175 | fi |
8924 | |
9176 | |
8925 | fi |
9177 | fi |
8926 | |
9178 | |
8927 | done |
|
|
8928 | |
9179 | |
8929 | |
9180 | |
8930 | |
9181 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
8931 | for ac_header in utmpx.h |
|
|
8932 | do |
|
|
8933 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8934 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
8935 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9182 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
8936 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9183 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
8937 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9184 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
8938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9185 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8939 | fi |
9186 | fi |
8940 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
8941 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9187 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
8942 | echo "${ECHO_T}$ac_res" >&6; } |
9188 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
8943 | else |
9189 | else |
8944 | # Is the header compilable? |
9190 | # Is the header compilable? |
8945 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9191 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
8946 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9192 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
8947 | cat >conftest.$ac_ext <<_ACEOF |
9193 | cat >conftest.$ac_ext <<_ACEOF |
8948 | /* confdefs.h. */ |
9194 | /* confdefs.h. */ |
8949 | _ACEOF |
9195 | _ACEOF |
8950 | cat confdefs.h >>conftest.$ac_ext |
9196 | cat confdefs.h >>conftest.$ac_ext |
8951 | cat >>conftest.$ac_ext <<_ACEOF |
9197 | cat >>conftest.$ac_ext <<_ACEOF |
8952 | /* end confdefs.h. */ |
9198 | /* end confdefs.h. */ |
8953 | $ac_includes_default |
9199 | $ac_includes_default |
8954 | #include <$ac_header> |
9200 | #include <utmpx.h> |
8955 | _ACEOF |
9201 | _ACEOF |
8956 | rm -f conftest.$ac_objext |
9202 | rm -f conftest.$ac_objext |
8957 | if { (ac_try="$ac_compile" |
9203 | if { (ac_try="$ac_compile" |
8958 | case "(($ac_try" in |
9204 | case "(($ac_try" in |
8959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9205 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
8981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9227 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8982 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9228 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8983 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9229 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8984 | |
9230 | |
8985 | # Is the header present? |
9231 | # Is the header present? |
8986 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9232 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
8987 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9233 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
8988 | cat >conftest.$ac_ext <<_ACEOF |
9234 | cat >conftest.$ac_ext <<_ACEOF |
8989 | /* confdefs.h. */ |
9235 | /* confdefs.h. */ |
8990 | _ACEOF |
9236 | _ACEOF |
8991 | cat confdefs.h >>conftest.$ac_ext |
9237 | cat confdefs.h >>conftest.$ac_ext |
8992 | cat >>conftest.$ac_ext <<_ACEOF |
9238 | cat >>conftest.$ac_ext <<_ACEOF |
8993 | /* end confdefs.h. */ |
9239 | /* end confdefs.h. */ |
8994 | #include <$ac_header> |
9240 | #include <utmpx.h> |
8995 | _ACEOF |
9241 | _ACEOF |
8996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9242 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8997 | case "(($ac_try" in |
9243 | case "(($ac_try" in |
8998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9244 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8999 | *) ac_try_echo=$ac_try;; |
9245 | *) ac_try_echo=$ac_try;; |
… | |
… | |
9022 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9268 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9023 | |
9269 | |
9024 | # So? What about this header? |
9270 | # So? What about this header? |
9025 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9271 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9026 | yes:no: ) |
9272 | yes:no: ) |
9027 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9273 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9028 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9274 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9029 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
9275 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
9030 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
9276 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
9031 | ac_header_preproc=yes |
9277 | ac_header_preproc=yes |
9032 | ;; |
9278 | ;; |
9033 | no:yes:* ) |
9279 | no:yes:* ) |
9034 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9280 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
9035 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9281 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
9036 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9282 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
9037 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9283 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
9038 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
9284 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
9039 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
9285 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
9040 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
9286 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
9041 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9287 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9042 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9288 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
9043 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9289 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
9044 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9290 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
9045 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9291 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
9046 | |
9292 | |
9047 | ;; |
9293 | ;; |
9048 | esac |
9294 | esac |
9049 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9295 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9050 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9296 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9051 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9297 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9298 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9053 | else |
9299 | else |
9054 | eval "$as_ac_Header=\$ac_header_preproc" |
9300 | ac_cv_header_utmpx_h=$ac_header_preproc |
9055 | fi |
9301 | fi |
9056 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
9057 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9302 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9058 | echo "${ECHO_T}$ac_res" >&6; } |
9303 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9059 | |
9304 | |
9060 | fi |
9305 | fi |
9061 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9306 | if test $ac_cv_header_utmpx_h = yes; then |
9062 | cat >>confdefs.h <<_ACEOF |
|
|
9063 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9064 | _ACEOF |
|
|
9065 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9307 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9066 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9308 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9067 | if test "${struct_utmpx+set}" = set; then |
9309 | if test "${struct_utmpx+set}" = set; then |
9068 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9310 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9069 | else |
9311 | else |
9070 | cat >conftest.$ac_ext <<_ACEOF |
9312 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9237 | |
9479 | |
9238 | fi |
9480 | fi |
9239 | |
9481 | |
9240 | fi |
9482 | fi |
9241 | |
9483 | |
9242 | done |
|
|
9243 | |
9484 | |
9244 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9485 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9245 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9486 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9246 | if test "${struct_lastlog+set}" = set; then |
9487 | if test "${struct_lastlog+set}" = set; then |
9247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9488 | echo $ECHO_N "(cached) $ECHO_C" >&6 |