… | |
… | |
684 | X_CFLAGS |
684 | X_CFLAGS |
685 | X_PRE_LIBS |
685 | X_PRE_LIBS |
686 | X_LIBS |
686 | X_LIBS |
687 | X_EXTRA_LIBS |
687 | X_EXTRA_LIBS |
688 | afterimage_config |
688 | afterimage_config |
689 | rxvt_int16_typedef |
|
|
690 | rxvt_uint16_typedef |
|
|
691 | rxvt_int32_typedef |
|
|
692 | rxvt_uint32_typedef |
|
|
693 | rxvt_intp_define |
|
|
694 | rxvt_u_intp_define |
|
|
695 | PKG_CONFIG |
689 | PKG_CONFIG |
696 | XFT_CONFIG |
690 | XFT_CONFIG |
697 | PERL |
691 | PERL |
698 | PERLLIB |
692 | PERLLIB |
699 | PERLFLAGS |
693 | PERLFLAGS |
700 | PERLPRIVLIBEXP |
694 | PERLPRIVLIBEXP |
701 | IF_PERL |
695 | IF_PERL |
702 | PERL_O |
696 | PERL_O |
703 | AFTERIMAGE_CFLAGS |
697 | AFTERIMAGE_CFLAGS |
704 | AFTERIMAGE_LIBS |
698 | AFTERIMAGE_LIBS |
705 | include_stdint_h |
|
|
706 | include_stdarg_h |
|
|
707 | include_stdlib_h |
|
|
708 | include_unistd_h |
|
|
709 | include_string_h |
|
|
710 | include_fcntl_h |
|
|
711 | include_util_h |
|
|
712 | include_assert_h |
|
|
713 | include_sys_ioctl_h |
|
|
714 | include_sys_select_h |
|
|
715 | include_sys_strredir_h |
|
|
716 | include_sys_time_h |
|
|
717 | include_time_h |
|
|
718 | LIBOBJS |
699 | LIBOBJS |
719 | LTLIBOBJS' |
700 | LTLIBOBJS' |
720 | ac_subst_files='' |
701 | ac_subst_files='' |
721 | ac_precious_vars='build_alias |
702 | ac_precious_vars='build_alias |
722 | host_alias |
703 | host_alias |
… | |
… | |
1312 | |
1293 | |
1313 | Optional Features: |
1294 | Optional Features: |
1314 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1315 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1316 | --enable-everything enable standard non-multichoice features |
1297 | --enable-everything enable standard non-multichoice features |
1317 | NOTE: this option is order dependent |
1298 | NOTE: this option is order dependent |
1318 | --enable-warnings turn on g++ warnings |
1299 | --enable-warnings turn on g++ warnings |
1319 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1300 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1320 | --enable-combining enable composition of base and combining characters |
1301 | --enable-combining enable composition of base and combining characters |
1321 | --enable-xft enable xft support on systems that have it |
1302 | --enable-xft enable xft support on systems that have it |
1322 | --enable-font-styles enable bold and italic support |
1303 | --enable-font-styles enable bold and italic support |
1323 | --enable-afterimage enable integration with libAfterImage for background images |
1304 | --enable-afterimage enable integration with libAfterImage for background images |
1324 | --enable-transparency enable transparent backgrounds |
1305 | --enable-transparency enable transparent backgrounds |
1325 | --enable-fading enable colors fading when off focus |
1306 | --enable-fading enable colors fading when off focus |
1326 | --enable-rxvt-scroll enable rxvt style scrollbar |
1307 | --enable-rxvt-scroll enable rxvt style scrollbar |
1327 | --enable-next-scroll enable NeXT style scrollbar |
1308 | --enable-next-scroll enable NeXT style scrollbar |
1328 | --enable-xterm-scroll enable Xterm style scrollbar |
1309 | --enable-xterm-scroll enable Xterm style scrollbar |
… | |
… | |
4385 | fi |
4366 | fi |
4386 | |
4367 | |
4387 | fi |
4368 | fi |
4388 | |
4369 | |
4389 | |
4370 | |
4390 | |
|
|
4391 | support_frills=yes |
4371 | support_frills=yes |
4392 | support_inheritpixmap=yes |
4372 | support_inheritpixmap=yes |
4393 | support_fading=yes |
4373 | support_fading=yes |
4394 | support_keepscrolling=yes |
4374 | support_keepscrolling=yes |
4395 | support_selectionscrolling=yes |
4375 | support_selectionscrolling=yes |
… | |
… | |
4410 | support_8bitctrls=no |
4390 | support_8bitctrls=no |
4411 | support_iso14755=yes |
4391 | support_iso14755=yes |
4412 | support_styles=yes |
4392 | support_styles=yes |
4413 | support_perl=yes |
4393 | support_perl=yes |
4414 | codesets=all |
4394 | codesets=all |
4415 | |
|
|
4416 | |
4395 | |
4417 | |
4396 | |
4418 | # Check whether --enable-everything was given. |
4397 | # Check whether --enable-everything was given. |
4419 | if test "${enable_everything+set}" = set; then |
4398 | if test "${enable_everything+set}" = set; then |
4420 | enableval=$enable_everything; |
4399 | enableval=$enable_everything; |
… | |
… | |
5853 | fi |
5832 | fi |
5854 | |
5833 | |
5855 | fi |
5834 | fi |
5856 | |
5835 | |
5857 | |
5836 | |
|
|
5837 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5838 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5839 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5841 | else |
|
|
5842 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5843 | /* confdefs.h. */ |
|
|
5844 | _ACEOF |
|
|
5845 | cat confdefs.h >>conftest.$ac_ext |
|
|
5846 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5847 | /* end confdefs.h. */ |
|
|
5848 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5849 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5850 | #define nanosleep innocuous_nanosleep |
|
|
5851 | |
|
|
5852 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5853 | which can conflict with char nanosleep (); below. |
|
|
5854 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5855 | <limits.h> exists even on freestanding compilers. */ |
|
|
5856 | |
|
|
5857 | #ifdef __STDC__ |
|
|
5858 | # include <limits.h> |
|
|
5859 | #else |
|
|
5860 | # include <assert.h> |
|
|
5861 | #endif |
|
|
5862 | |
|
|
5863 | #undef nanosleep |
|
|
5864 | |
|
|
5865 | /* Override any GCC internal prototype to avoid an error. |
|
|
5866 | Use char because int might match the return type of a GCC |
|
|
5867 | builtin and then its argument prototype would still apply. */ |
|
|
5868 | #ifdef __cplusplus |
|
|
5869 | extern "C" |
|
|
5870 | #endif |
|
|
5871 | char nanosleep (); |
|
|
5872 | /* The GNU C library defines this for functions which it implements |
|
|
5873 | to always fail with ENOSYS. Some functions are actually named |
|
|
5874 | something starting with __ and the normal name is an alias. */ |
|
|
5875 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5876 | choke me |
|
|
5877 | #endif |
|
|
5878 | |
|
|
5879 | int |
|
|
5880 | main () |
|
|
5881 | { |
|
|
5882 | return nanosleep (); |
|
|
5883 | ; |
|
|
5884 | return 0; |
|
|
5885 | } |
|
|
5886 | _ACEOF |
|
|
5887 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5888 | if { (ac_try="$ac_link" |
|
|
5889 | case "(($ac_try" in |
|
|
5890 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5891 | *) ac_try_echo=$ac_try;; |
|
|
5892 | esac |
|
|
5893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5894 | (eval "$ac_link") 2>conftest.er1 |
|
|
5895 | ac_status=$? |
|
|
5896 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5897 | rm -f conftest.er1 |
|
|
5898 | cat conftest.err >&5 |
|
|
5899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5900 | (exit $ac_status); } && { |
|
|
5901 | test -z "$ac_cxx_werror_flag" || |
|
|
5902 | test ! -s conftest.err |
|
|
5903 | } && test -s conftest$ac_exeext && |
|
|
5904 | $as_test_x conftest$ac_exeext; then |
|
|
5905 | ac_cv_func_nanosleep=yes |
|
|
5906 | else |
|
|
5907 | echo "$as_me: failed program was:" >&5 |
|
|
5908 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5909 | |
|
|
5910 | ac_cv_func_nanosleep=no |
|
|
5911 | fi |
|
|
5912 | |
|
|
5913 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5914 | conftest$ac_exeext conftest.$ac_ext |
|
|
5915 | fi |
|
|
5916 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5917 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5918 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5919 | : |
|
|
5920 | else |
|
|
5921 | |
|
|
5922 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5923 | |
|
|
5924 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5925 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5926 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5928 | else |
|
|
5929 | ac_check_lib_save_LIBS=$LIBS |
|
|
5930 | LIBS="-lrt $LIBS" |
|
|
5931 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5932 | /* confdefs.h. */ |
|
|
5933 | _ACEOF |
|
|
5934 | cat confdefs.h >>conftest.$ac_ext |
|
|
5935 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5936 | /* end confdefs.h. */ |
|
|
5937 | |
|
|
5938 | /* Override any GCC internal prototype to avoid an error. |
|
|
5939 | Use char because int might match the return type of a GCC |
|
|
5940 | builtin and then its argument prototype would still apply. */ |
|
|
5941 | #ifdef __cplusplus |
|
|
5942 | extern "C" |
|
|
5943 | #endif |
|
|
5944 | char nanosleep (); |
|
|
5945 | int |
|
|
5946 | main () |
|
|
5947 | { |
|
|
5948 | return nanosleep (); |
|
|
5949 | ; |
|
|
5950 | return 0; |
|
|
5951 | } |
|
|
5952 | _ACEOF |
|
|
5953 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5954 | if { (ac_try="$ac_link" |
|
|
5955 | case "(($ac_try" in |
|
|
5956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5957 | *) ac_try_echo=$ac_try;; |
|
|
5958 | esac |
|
|
5959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5960 | (eval "$ac_link") 2>conftest.er1 |
|
|
5961 | ac_status=$? |
|
|
5962 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5963 | rm -f conftest.er1 |
|
|
5964 | cat conftest.err >&5 |
|
|
5965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5966 | (exit $ac_status); } && { |
|
|
5967 | test -z "$ac_cxx_werror_flag" || |
|
|
5968 | test ! -s conftest.err |
|
|
5969 | } && test -s conftest$ac_exeext && |
|
|
5970 | $as_test_x conftest$ac_exeext; then |
|
|
5971 | ac_cv_lib_rt_nanosleep=yes |
|
|
5972 | else |
|
|
5973 | echo "$as_me: failed program was:" >&5 |
|
|
5974 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5975 | |
|
|
5976 | ac_cv_lib_rt_nanosleep=no |
|
|
5977 | fi |
|
|
5978 | |
|
|
5979 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5980 | conftest$ac_exeext conftest.$ac_ext |
|
|
5981 | LIBS=$ac_check_lib_save_LIBS |
|
|
5982 | fi |
|
|
5983 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
5984 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
5985 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
5986 | cat >>confdefs.h <<_ACEOF |
|
|
5987 | #define HAVE_LIBRT 1 |
|
|
5988 | _ACEOF |
|
|
5989 | |
|
|
5990 | LIBS="-lrt $LIBS" |
|
|
5991 | |
|
|
5992 | fi |
|
|
5993 | |
|
|
5994 | unset ac_cv_func_nanosleep |
|
|
5995 | |
|
|
5996 | for ac_func in nanosleep |
|
|
5997 | do |
|
|
5998 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5999 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
6000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6001 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6003 | else |
|
|
6004 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6005 | /* confdefs.h. */ |
|
|
6006 | _ACEOF |
|
|
6007 | cat confdefs.h >>conftest.$ac_ext |
|
|
6008 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6009 | /* end confdefs.h. */ |
|
|
6010 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6011 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6012 | #define $ac_func innocuous_$ac_func |
|
|
6013 | |
|
|
6014 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6015 | which can conflict with char $ac_func (); below. |
|
|
6016 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6017 | <limits.h> exists even on freestanding compilers. */ |
|
|
6018 | |
|
|
6019 | #ifdef __STDC__ |
|
|
6020 | # include <limits.h> |
|
|
6021 | #else |
|
|
6022 | # include <assert.h> |
|
|
6023 | #endif |
|
|
6024 | |
|
|
6025 | #undef $ac_func |
|
|
6026 | |
|
|
6027 | /* Override any GCC internal prototype to avoid an error. |
|
|
6028 | Use char because int might match the return type of a GCC |
|
|
6029 | builtin and then its argument prototype would still apply. */ |
|
|
6030 | #ifdef __cplusplus |
|
|
6031 | extern "C" |
|
|
6032 | #endif |
|
|
6033 | char $ac_func (); |
|
|
6034 | /* The GNU C library defines this for functions which it implements |
|
|
6035 | to always fail with ENOSYS. Some functions are actually named |
|
|
6036 | something starting with __ and the normal name is an alias. */ |
|
|
6037 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6038 | choke me |
|
|
6039 | #endif |
|
|
6040 | |
|
|
6041 | int |
|
|
6042 | main () |
|
|
6043 | { |
|
|
6044 | return $ac_func (); |
|
|
6045 | ; |
|
|
6046 | return 0; |
|
|
6047 | } |
|
|
6048 | _ACEOF |
|
|
6049 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6050 | if { (ac_try="$ac_link" |
|
|
6051 | case "(($ac_try" in |
|
|
6052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6053 | *) ac_try_echo=$ac_try;; |
|
|
6054 | esac |
|
|
6055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6056 | (eval "$ac_link") 2>conftest.er1 |
|
|
6057 | ac_status=$? |
|
|
6058 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6059 | rm -f conftest.er1 |
|
|
6060 | cat conftest.err >&5 |
|
|
6061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6062 | (exit $ac_status); } && { |
|
|
6063 | test -z "$ac_cxx_werror_flag" || |
|
|
6064 | test ! -s conftest.err |
|
|
6065 | } && test -s conftest$ac_exeext && |
|
|
6066 | $as_test_x conftest$ac_exeext; then |
|
|
6067 | eval "$as_ac_var=yes" |
|
|
6068 | else |
|
|
6069 | echo "$as_me: failed program was:" >&5 |
|
|
6070 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6071 | |
|
|
6072 | eval "$as_ac_var=no" |
|
|
6073 | fi |
|
|
6074 | |
|
|
6075 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6076 | conftest$ac_exeext conftest.$ac_ext |
|
|
6077 | fi |
|
|
6078 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6079 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6080 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6081 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6082 | cat >>confdefs.h <<_ACEOF |
|
|
6083 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6084 | _ACEOF |
|
|
6085 | |
|
|
6086 | fi |
|
|
6087 | done |
|
|
6088 | |
|
|
6089 | fi |
|
|
6090 | |
|
|
6091 | fi |
|
|
6092 | |
|
|
6093 | |
5858 | |
6094 | |
5859 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
6095 | { echo "$as_me:$LINENO: checking for ceil in -lm" >&5 |
5860 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
6096 | echo $ECHO_N "checking for ceil in -lm... $ECHO_C" >&6; } |
5861 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
6097 | if test "${ac_cv_lib_m_ceil+set}" = set; then |
5862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
6098 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
7372 | |
7608 | |
7373 | |
7609 | |
7374 | |
7610 | |
7375 | |
7611 | |
7376 | |
7612 | |
7377 | |
|
|
7378 | |
|
|
7379 | |
|
|
7380 | |
|
|
7381 | |
|
|
7382 | |
|
|
7383 | |
|
|
7384 | |
|
|
7385 | |
|
|
7386 | |
|
|
7387 | for ac_header in \ |
7613 | for ac_header in \ |
7388 | assert.h \ |
|
|
7389 | fcntl.h \ |
|
|
7390 | stdarg.h \ |
|
|
7391 | stdlib.h \ |
|
|
7392 | string.h \ |
|
|
7393 | termios.h \ |
|
|
7394 | unistd.h \ |
|
|
7395 | sys/byteorder.h \ |
7614 | sys/byteorder.h \ |
7396 | sys/ioctl.h \ |
7615 | sys/ioctl.h \ |
7397 | sys/select.h \ |
|
|
7398 | sys/sockio.h \ |
7616 | sys/sockio.h \ |
7399 | sys/strredir.h \ |
7617 | sys/strredir.h \ |
7400 | sys/time.h \ |
|
|
7401 | stdint.h \ |
7618 | stdint.h \ |
7402 | wchar.h \ |
7619 | wchar.h \ |
7403 | cwchar \ |
7620 | cwchar \ |
7404 | clocale \ |
|
|
7405 | |
7621 | |
7406 | do |
7622 | do |
7407 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7623 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7408 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7624 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7409 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7625 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7540 | fi |
7756 | fi |
7541 | |
7757 | |
7542 | done |
7758 | done |
7543 | |
7759 | |
7544 | |
7760 | |
7545 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
|
|
7546 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
|
|
7547 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
|
|
7548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7549 | else |
|
|
7550 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7551 | /* confdefs.h. */ |
|
|
7552 | _ACEOF |
|
|
7553 | cat confdefs.h >>conftest.$ac_ext |
|
|
7554 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7555 | /* end confdefs.h. */ |
|
|
7556 | #include <stdio.h> |
|
|
7557 | #include <sys/ioctl.h> |
|
|
7558 | #ifdef HAVE_TERMIOS_H |
|
|
7559 | #include <termios.h> |
|
|
7560 | #endif |
|
|
7561 | int |
|
|
7562 | main () |
|
|
7563 | { |
|
|
7564 | int a = ECHO; |
|
|
7565 | ; |
|
|
7566 | return 0; |
|
|
7567 | } |
|
|
7568 | _ACEOF |
|
|
7569 | rm -f conftest.$ac_objext |
|
|
7570 | if { (ac_try="$ac_compile" |
|
|
7571 | case "(($ac_try" in |
|
|
7572 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7573 | *) ac_try_echo=$ac_try;; |
|
|
7574 | esac |
|
|
7575 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7576 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7577 | ac_status=$? |
|
|
7578 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7579 | rm -f conftest.er1 |
|
|
7580 | cat conftest.err >&5 |
|
|
7581 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7582 | (exit $ac_status); } && { |
|
|
7583 | test -z "$ac_cxx_werror_flag" || |
|
|
7584 | test ! -s conftest.err |
|
|
7585 | } && test -s conftest.$ac_objext; then |
|
|
7586 | rxvt_cv_header_sysioctl=yes |
|
|
7587 | else |
|
|
7588 | echo "$as_me: failed program was:" >&5 |
|
|
7589 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7590 | |
|
|
7591 | rxvt_cv_header_sysioctl=no |
|
|
7592 | fi |
|
|
7593 | |
|
|
7594 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7595 | fi |
|
|
7596 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
|
|
7597 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
|
|
7598 | |
|
|
7599 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7761 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7600 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7762 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7601 | if test "${rxvt_cv_xpointer+set}" = set; then |
7763 | if test "${rxvt_cv_xpointer+set}" = set; then |
7602 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7603 | else |
7765 | else |
… | |
… | |
7880 | _ACEOF |
8042 | _ACEOF |
7881 | |
8043 | |
7882 | fi |
8044 | fi |
7883 | |
8045 | |
7884 | |
8046 | |
7885 | { echo "$as_me:$LINENO: checking for short" >&5 |
8047 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
7886 | echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
8048 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
7887 | if test "${ac_cv_type_short+set}" = set; then |
8049 | if test "${ac_cv_c_int16_t+set}" = set; then |
7888 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7889 | else |
8051 | else |
|
|
8052 | ac_cv_c_int16_t=no |
|
|
8053 | for ac_type in 'int16_t' 'int' 'long int' \ |
|
|
8054 | 'long long int' 'short int' 'signed char'; do |
7890 | cat >conftest.$ac_ext <<_ACEOF |
8055 | cat >conftest.$ac_ext <<_ACEOF |
7891 | /* confdefs.h. */ |
8056 | /* confdefs.h. */ |
7892 | _ACEOF |
8057 | _ACEOF |
7893 | cat confdefs.h >>conftest.$ac_ext |
8058 | cat confdefs.h >>conftest.$ac_ext |
7894 | cat >>conftest.$ac_ext <<_ACEOF |
8059 | cat >>conftest.$ac_ext <<_ACEOF |
7895 | /* end confdefs.h. */ |
8060 | /* end confdefs.h. */ |
7896 | $ac_includes_default |
8061 | $ac_includes_default |
7897 | typedef short ac__type_new_; |
|
|
7898 | int |
8062 | int |
7899 | main () |
8063 | main () |
7900 | { |
8064 | { |
7901 | if ((ac__type_new_ *) 0) |
8065 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; |
7902 | return 0; |
8066 | test_array [0] = 0 |
7903 | if (sizeof (ac__type_new_)) |
8067 | |
7904 | return 0; |
|
|
7905 | ; |
8068 | ; |
7906 | return 0; |
8069 | return 0; |
7907 | } |
8070 | } |
7908 | _ACEOF |
8071 | _ACEOF |
7909 | rm -f conftest.$ac_objext |
8072 | rm -f conftest.$ac_objext |
… | |
… | |
7921 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7922 | (exit $ac_status); } && { |
8085 | (exit $ac_status); } && { |
7923 | test -z "$ac_cxx_werror_flag" || |
8086 | test -z "$ac_cxx_werror_flag" || |
7924 | test ! -s conftest.err |
8087 | test ! -s conftest.err |
7925 | } && test -s conftest.$ac_objext; then |
8088 | } && test -s conftest.$ac_objext; then |
7926 | ac_cv_type_short=yes |
|
|
7927 | else |
|
|
7928 | echo "$as_me: failed program was:" >&5 |
|
|
7929 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7930 | |
|
|
7931 | ac_cv_type_short=no |
|
|
7932 | fi |
|
|
7933 | |
|
|
7934 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7935 | fi |
|
|
7936 | { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
|
|
7937 | echo "${ECHO_T}$ac_cv_type_short" >&6; } |
|
|
7938 | |
|
|
7939 | # The cast to long int works around a bug in the HP C Compiler |
|
|
7940 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
7941 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
7942 | # This bug is HP SR number 8606223364. |
|
|
7943 | { echo "$as_me:$LINENO: checking size of short" >&5 |
|
|
7944 | echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
|
|
7945 | if test "${ac_cv_sizeof_short+set}" = set; then |
|
|
7946 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7947 | else |
|
|
7948 | if test "$cross_compiling" = yes; then |
|
|
7949 | # Depending upon the size, compute the lo and hi bounds. |
|
|
7950 | cat >conftest.$ac_ext <<_ACEOF |
8089 | cat >conftest.$ac_ext <<_ACEOF |
7951 | /* confdefs.h. */ |
8090 | /* confdefs.h. */ |
7952 | _ACEOF |
8091 | _ACEOF |
7953 | cat confdefs.h >>conftest.$ac_ext |
8092 | cat confdefs.h >>conftest.$ac_ext |
7954 | cat >>conftest.$ac_ext <<_ACEOF |
8093 | cat >>conftest.$ac_ext <<_ACEOF |
7955 | /* end confdefs.h. */ |
8094 | /* end confdefs.h. */ |
7956 | $ac_includes_default |
8095 | $ac_includes_default |
7957 | typedef short ac__type_sizeof_; |
|
|
7958 | int |
8096 | int |
7959 | main () |
8097 | main () |
7960 | { |
8098 | { |
7961 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
8099 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) |
|
|
8100 | < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; |
7962 | test_array [0] = 0 |
8101 | test_array [0] = 0 |
7963 | |
8102 | |
7964 | ; |
8103 | ; |
7965 | return 0; |
8104 | return 0; |
7966 | } |
8105 | } |
… | |
… | |
7980 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7981 | (exit $ac_status); } && { |
8120 | (exit $ac_status); } && { |
7982 | test -z "$ac_cxx_werror_flag" || |
8121 | test -z "$ac_cxx_werror_flag" || |
7983 | test ! -s conftest.err |
8122 | test ! -s conftest.err |
7984 | } && test -s conftest.$ac_objext; then |
8123 | } && test -s conftest.$ac_objext; then |
7985 | ac_lo=0 ac_mid=0 |
8124 | : |
7986 | while :; do |
8125 | else |
|
|
8126 | echo "$as_me: failed program was:" >&5 |
|
|
8127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8128 | |
|
|
8129 | case $ac_type in |
|
|
8130 | int16_t) ac_cv_c_int16_t=yes ;; |
|
|
8131 | *) ac_cv_c_int16_t=$ac_type ;; |
|
|
8132 | esac |
|
|
8133 | |
|
|
8134 | fi |
|
|
8135 | |
|
|
8136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8137 | else |
|
|
8138 | echo "$as_me: failed program was:" >&5 |
|
|
8139 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8140 | |
|
|
8141 | |
|
|
8142 | fi |
|
|
8143 | |
|
|
8144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8145 | test "$ac_cv_c_int16_t" != no && break |
|
|
8146 | done |
|
|
8147 | fi |
|
|
8148 | { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 |
|
|
8149 | echo "${ECHO_T}$ac_cv_c_int16_t" >&6; } |
|
|
8150 | case $ac_cv_c_int16_t in #( |
|
|
8151 | no|yes) ;; #( |
|
|
8152 | *) |
|
|
8153 | |
|
|
8154 | cat >>confdefs.h <<_ACEOF |
|
|
8155 | #define int16_t $ac_cv_c_int16_t |
|
|
8156 | _ACEOF |
|
|
8157 | ;; |
|
|
8158 | esac |
|
|
8159 | |
|
|
8160 | |
|
|
8161 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
8162 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
8163 | if test "${ac_cv_c_uint16_t+set}" = set; then |
|
|
8164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8165 | else |
|
|
8166 | ac_cv_c_uint16_t=no |
|
|
8167 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
|
|
8168 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
7987 | cat >conftest.$ac_ext <<_ACEOF |
8169 | cat >conftest.$ac_ext <<_ACEOF |
7988 | /* confdefs.h. */ |
8170 | /* confdefs.h. */ |
7989 | _ACEOF |
8171 | _ACEOF |
7990 | cat confdefs.h >>conftest.$ac_ext |
8172 | cat confdefs.h >>conftest.$ac_ext |
7991 | cat >>conftest.$ac_ext <<_ACEOF |
8173 | cat >>conftest.$ac_ext <<_ACEOF |
7992 | /* end confdefs.h. */ |
8174 | /* end confdefs.h. */ |
7993 | $ac_includes_default |
8175 | $ac_includes_default |
7994 | typedef short ac__type_sizeof_; |
|
|
7995 | int |
8176 | int |
7996 | main () |
8177 | main () |
7997 | { |
8178 | { |
7998 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8179 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
7999 | test_array [0] = 0 |
8180 | test_array [0] = 0 |
8000 | |
8181 | |
8001 | ; |
8182 | ; |
8002 | return 0; |
8183 | return 0; |
8003 | } |
8184 | } |
… | |
… | |
8017 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8018 | (exit $ac_status); } && { |
8199 | (exit $ac_status); } && { |
8019 | test -z "$ac_cxx_werror_flag" || |
8200 | test -z "$ac_cxx_werror_flag" || |
8020 | test ! -s conftest.err |
8201 | test ! -s conftest.err |
8021 | } && test -s conftest.$ac_objext; then |
8202 | } && test -s conftest.$ac_objext; then |
8022 | ac_hi=$ac_mid; break |
8203 | case $ac_type in |
|
|
8204 | uint16_t) ac_cv_c_uint16_t=yes ;; |
|
|
8205 | *) ac_cv_c_uint16_t=$ac_type ;; |
|
|
8206 | esac |
|
|
8207 | |
8023 | else |
8208 | else |
8024 | echo "$as_me: failed program was:" >&5 |
8209 | echo "$as_me: failed program was:" >&5 |
8025 | sed 's/^/| /' conftest.$ac_ext >&5 |
8210 | sed 's/^/| /' conftest.$ac_ext >&5 |
8026 | |
8211 | |
8027 | ac_lo=`expr $ac_mid + 1` |
8212 | |
8028 | if test $ac_lo -le $ac_mid; then |
|
|
8029 | ac_lo= ac_hi= |
|
|
8030 | break |
|
|
8031 | fi |
|
|
8032 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8033 | fi |
8213 | fi |
8034 | |
8214 | |
8035 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8216 | test "$ac_cv_c_uint16_t" != no && break |
8036 | done |
8217 | done |
8037 | else |
8218 | fi |
8038 | echo "$as_me: failed program was:" >&5 |
8219 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
8039 | sed 's/^/| /' conftest.$ac_ext >&5 |
8220 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } |
|
|
8221 | case $ac_cv_c_uint16_t in #( |
|
|
8222 | no|yes) ;; #( |
|
|
8223 | *) |
8040 | |
8224 | |
|
|
8225 | |
|
|
8226 | cat >>confdefs.h <<_ACEOF |
|
|
8227 | #define uint16_t $ac_cv_c_uint16_t |
|
|
8228 | _ACEOF |
|
|
8229 | ;; |
|
|
8230 | esac |
|
|
8231 | |
|
|
8232 | |
|
|
8233 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
8234 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
8235 | if test "${ac_cv_c_int32_t+set}" = set; then |
|
|
8236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8237 | else |
|
|
8238 | ac_cv_c_int32_t=no |
|
|
8239 | for ac_type in 'int32_t' 'int' 'long int' \ |
|
|
8240 | 'long long int' 'short int' 'signed char'; do |
8041 | cat >conftest.$ac_ext <<_ACEOF |
8241 | cat >conftest.$ac_ext <<_ACEOF |
8042 | /* confdefs.h. */ |
8242 | /* confdefs.h. */ |
8043 | _ACEOF |
8243 | _ACEOF |
8044 | cat confdefs.h >>conftest.$ac_ext |
8244 | cat confdefs.h >>conftest.$ac_ext |
8045 | cat >>conftest.$ac_ext <<_ACEOF |
8245 | cat >>conftest.$ac_ext <<_ACEOF |
8046 | /* end confdefs.h. */ |
8246 | /* end confdefs.h. */ |
8047 | $ac_includes_default |
8247 | $ac_includes_default |
8048 | typedef short ac__type_sizeof_; |
|
|
8049 | int |
8248 | int |
8050 | main () |
8249 | main () |
8051 | { |
8250 | { |
8052 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8251 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; |
8053 | test_array [0] = 0 |
8252 | test_array [0] = 0 |
8054 | |
8253 | |
8055 | ; |
8254 | ; |
8056 | return 0; |
8255 | return 0; |
8057 | } |
8256 | } |
… | |
… | |
8071 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8072 | (exit $ac_status); } && { |
8271 | (exit $ac_status); } && { |
8073 | test -z "$ac_cxx_werror_flag" || |
8272 | test -z "$ac_cxx_werror_flag" || |
8074 | test ! -s conftest.err |
8273 | test ! -s conftest.err |
8075 | } && test -s conftest.$ac_objext; then |
8274 | } && test -s conftest.$ac_objext; then |
8076 | ac_hi=-1 ac_mid=-1 |
|
|
8077 | while :; do |
|
|
8078 | cat >conftest.$ac_ext <<_ACEOF |
8275 | cat >conftest.$ac_ext <<_ACEOF |
8079 | /* confdefs.h. */ |
8276 | /* confdefs.h. */ |
8080 | _ACEOF |
8277 | _ACEOF |
8081 | cat confdefs.h >>conftest.$ac_ext |
8278 | cat confdefs.h >>conftest.$ac_ext |
8082 | cat >>conftest.$ac_ext <<_ACEOF |
8279 | cat >>conftest.$ac_ext <<_ACEOF |
8083 | /* end confdefs.h. */ |
8280 | /* end confdefs.h. */ |
8084 | $ac_includes_default |
8281 | $ac_includes_default |
8085 | typedef short ac__type_sizeof_; |
|
|
8086 | int |
8282 | int |
8087 | main () |
8283 | main () |
8088 | { |
8284 | { |
8089 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8285 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) |
|
|
8286 | < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; |
8090 | test_array [0] = 0 |
8287 | test_array [0] = 0 |
8091 | |
8288 | |
8092 | ; |
8289 | ; |
8093 | return 0; |
8290 | return 0; |
8094 | } |
8291 | } |
… | |
… | |
8108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8109 | (exit $ac_status); } && { |
8306 | (exit $ac_status); } && { |
8110 | test -z "$ac_cxx_werror_flag" || |
8307 | test -z "$ac_cxx_werror_flag" || |
8111 | test ! -s conftest.err |
8308 | test ! -s conftest.err |
8112 | } && test -s conftest.$ac_objext; then |
8309 | } && test -s conftest.$ac_objext; then |
8113 | ac_lo=$ac_mid; break |
8310 | : |
8114 | else |
8311 | else |
8115 | echo "$as_me: failed program was:" >&5 |
8312 | echo "$as_me: failed program was:" >&5 |
8116 | sed 's/^/| /' conftest.$ac_ext >&5 |
8313 | sed 's/^/| /' conftest.$ac_ext >&5 |
8117 | |
8314 | |
8118 | ac_hi=`expr '(' $ac_mid ')' - 1` |
8315 | case $ac_type in |
8119 | if test $ac_mid -le $ac_hi; then |
8316 | int32_t) ac_cv_c_int32_t=yes ;; |
8120 | ac_lo= ac_hi= |
8317 | *) ac_cv_c_int32_t=$ac_type ;; |
8121 | break |
8318 | esac |
8122 | fi |
8319 | |
8123 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8124 | fi |
8320 | fi |
8125 | |
8321 | |
8126 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8322 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8127 | done |
|
|
8128 | else |
8323 | else |
8129 | echo "$as_me: failed program was:" >&5 |
8324 | echo "$as_me: failed program was:" >&5 |
8130 | sed 's/^/| /' conftest.$ac_ext >&5 |
8325 | sed 's/^/| /' conftest.$ac_ext >&5 |
8131 | |
8326 | |
8132 | ac_lo= ac_hi= |
8327 | |
8133 | fi |
8328 | fi |
8134 | |
8329 | |
8135 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8330 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8331 | test "$ac_cv_c_int32_t" != no && break |
|
|
8332 | done |
8136 | fi |
8333 | fi |
|
|
8334 | { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 |
|
|
8335 | echo "${ECHO_T}$ac_cv_c_int32_t" >&6; } |
|
|
8336 | case $ac_cv_c_int32_t in #( |
|
|
8337 | no|yes) ;; #( |
|
|
8338 | *) |
8137 | |
8339 | |
8138 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8340 | cat >>confdefs.h <<_ACEOF |
8139 | # Binary search between lo and hi bounds. |
8341 | #define int32_t $ac_cv_c_int32_t |
8140 | while test "x$ac_lo" != "x$ac_hi"; do |
8342 | _ACEOF |
8141 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8343 | ;; |
|
|
8344 | esac |
|
|
8345 | |
|
|
8346 | |
|
|
8347 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
8348 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
8349 | if test "${ac_cv_c_uint32_t+set}" = set; then |
|
|
8350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8351 | else |
|
|
8352 | ac_cv_c_uint32_t=no |
|
|
8353 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
|
|
8354 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8142 | cat >conftest.$ac_ext <<_ACEOF |
8355 | cat >conftest.$ac_ext <<_ACEOF |
8143 | /* confdefs.h. */ |
8356 | /* confdefs.h. */ |
8144 | _ACEOF |
8357 | _ACEOF |
8145 | cat confdefs.h >>conftest.$ac_ext |
8358 | cat confdefs.h >>conftest.$ac_ext |
8146 | cat >>conftest.$ac_ext <<_ACEOF |
8359 | cat >>conftest.$ac_ext <<_ACEOF |
8147 | /* end confdefs.h. */ |
8360 | /* end confdefs.h. */ |
8148 | $ac_includes_default |
8361 | $ac_includes_default |
8149 | typedef short ac__type_sizeof_; |
|
|
8150 | int |
8362 | int |
8151 | main () |
8363 | main () |
8152 | { |
8364 | { |
8153 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8365 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
8154 | test_array [0] = 0 |
8366 | test_array [0] = 0 |
8155 | |
8367 | |
8156 | ; |
8368 | ; |
8157 | return 0; |
8369 | return 0; |
8158 | } |
8370 | } |
… | |
… | |
8172 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8173 | (exit $ac_status); } && { |
8385 | (exit $ac_status); } && { |
8174 | test -z "$ac_cxx_werror_flag" || |
8386 | test -z "$ac_cxx_werror_flag" || |
8175 | test ! -s conftest.err |
8387 | test ! -s conftest.err |
8176 | } && test -s conftest.$ac_objext; then |
8388 | } && test -s conftest.$ac_objext; then |
8177 | ac_hi=$ac_mid |
8389 | case $ac_type in |
|
|
8390 | uint32_t) ac_cv_c_uint32_t=yes ;; |
|
|
8391 | *) ac_cv_c_uint32_t=$ac_type ;; |
|
|
8392 | esac |
|
|
8393 | |
8178 | else |
8394 | else |
8179 | echo "$as_me: failed program was:" >&5 |
8395 | echo "$as_me: failed program was:" >&5 |
8180 | sed 's/^/| /' conftest.$ac_ext >&5 |
8396 | sed 's/^/| /' conftest.$ac_ext >&5 |
8181 | |
8397 | |
8182 | ac_lo=`expr '(' $ac_mid ')' + 1` |
8398 | |
8183 | fi |
8399 | fi |
8184 | |
8400 | |
8185 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8401 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8186 | done |
8402 | test "$ac_cv_c_uint32_t" != no && break |
8187 | case $ac_lo in |
8403 | done |
8188 | ?*) ac_cv_sizeof_short=$ac_lo;; |
|
|
8189 | '') if test "$ac_cv_type_short" = yes; then |
|
|
8190 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8191 | See \`config.log' for more details." >&5 |
|
|
8192 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8193 | See \`config.log' for more details." >&2;} |
|
|
8194 | { (exit 77); exit 77; }; } |
|
|
8195 | else |
|
|
8196 | ac_cv_sizeof_short=0 |
|
|
8197 | fi ;; |
|
|
8198 | esac |
|
|
8199 | else |
|
|
8200 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8201 | /* confdefs.h. */ |
|
|
8202 | _ACEOF |
|
|
8203 | cat confdefs.h >>conftest.$ac_ext |
|
|
8204 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8205 | /* end confdefs.h. */ |
|
|
8206 | $ac_includes_default |
|
|
8207 | typedef short ac__type_sizeof_; |
|
|
8208 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8209 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8210 | #include <stdio.h> |
|
|
8211 | #include <stdlib.h> |
|
|
8212 | int |
|
|
8213 | main () |
|
|
8214 | { |
|
|
8215 | |
|
|
8216 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8217 | if (! f) |
|
|
8218 | return 1; |
|
|
8219 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8220 | { |
|
|
8221 | long int i = longval (); |
|
|
8222 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8223 | return 1; |
|
|
8224 | fprintf (f, "%ld\n", i); |
|
|
8225 | } |
|
|
8226 | else |
|
|
8227 | { |
|
|
8228 | unsigned long int i = ulongval (); |
|
|
8229 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8230 | return 1; |
|
|
8231 | fprintf (f, "%lu\n", i); |
|
|
8232 | } |
|
|
8233 | return ferror (f) || fclose (f) != 0; |
|
|
8234 | |
|
|
8235 | ; |
|
|
8236 | return 0; |
|
|
8237 | } |
|
|
8238 | _ACEOF |
|
|
8239 | rm -f conftest$ac_exeext |
|
|
8240 | if { (ac_try="$ac_link" |
|
|
8241 | case "(($ac_try" in |
|
|
8242 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8243 | *) ac_try_echo=$ac_try;; |
|
|
8244 | esac |
|
|
8245 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8246 | (eval "$ac_link") 2>&5 |
|
|
8247 | ac_status=$? |
|
|
8248 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8249 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8250 | { (case "(($ac_try" in |
|
|
8251 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8252 | *) ac_try_echo=$ac_try;; |
|
|
8253 | esac |
|
|
8254 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8255 | (eval "$ac_try") 2>&5 |
|
|
8256 | ac_status=$? |
|
|
8257 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8258 | (exit $ac_status); }; }; then |
|
|
8259 | ac_cv_sizeof_short=`cat conftest.val` |
|
|
8260 | else |
|
|
8261 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8262 | echo "$as_me: failed program was:" >&5 |
|
|
8263 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8264 | |
|
|
8265 | ( exit $ac_status ) |
|
|
8266 | if test "$ac_cv_type_short" = yes; then |
|
|
8267 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8268 | See \`config.log' for more details." >&5 |
|
|
8269 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8270 | See \`config.log' for more details." >&2;} |
|
|
8271 | { (exit 77); exit 77; }; } |
|
|
8272 | else |
|
|
8273 | ac_cv_sizeof_short=0 |
|
|
8274 | fi |
|
|
8275 | fi |
8404 | fi |
8276 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8277 | fi |
|
|
8278 | rm -f conftest.val |
|
|
8279 | fi |
|
|
8280 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
8405 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
8281 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
8406 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } |
|
|
8407 | case $ac_cv_c_uint32_t in #( |
|
|
8408 | no|yes) ;; #( |
|
|
8409 | *) |
8282 | |
8410 | |
|
|
8411 | cat >>confdefs.h <<\_ACEOF |
|
|
8412 | #define _UINT32_T 1 |
|
|
8413 | _ACEOF |
8283 | |
8414 | |
8284 | |
8415 | |
8285 | cat >>confdefs.h <<_ACEOF |
8416 | cat >>confdefs.h <<_ACEOF |
8286 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
8417 | #define uint32_t $ac_cv_c_uint32_t |
8287 | _ACEOF |
8418 | _ACEOF |
8288 | |
8419 | ;; |
8289 | |
|
|
8290 | { echo "$as_me:$LINENO: checking for int" >&5 |
|
|
8291 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
|
|
8292 | if test "${ac_cv_type_int+set}" = set; then |
|
|
8293 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8294 | else |
|
|
8295 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8296 | /* confdefs.h. */ |
|
|
8297 | _ACEOF |
|
|
8298 | cat confdefs.h >>conftest.$ac_ext |
|
|
8299 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8300 | /* end confdefs.h. */ |
|
|
8301 | $ac_includes_default |
|
|
8302 | typedef int ac__type_new_; |
|
|
8303 | int |
|
|
8304 | main () |
|
|
8305 | { |
|
|
8306 | if ((ac__type_new_ *) 0) |
|
|
8307 | return 0; |
|
|
8308 | if (sizeof (ac__type_new_)) |
|
|
8309 | return 0; |
|
|
8310 | ; |
|
|
8311 | return 0; |
|
|
8312 | } |
|
|
8313 | _ACEOF |
|
|
8314 | rm -f conftest.$ac_objext |
|
|
8315 | if { (ac_try="$ac_compile" |
|
|
8316 | case "(($ac_try" in |
|
|
8317 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8318 | *) ac_try_echo=$ac_try;; |
|
|
8319 | esac |
8420 | esac |
8320 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8321 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8322 | ac_status=$? |
|
|
8323 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8324 | rm -f conftest.er1 |
|
|
8325 | cat conftest.err >&5 |
|
|
8326 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8327 | (exit $ac_status); } && { |
|
|
8328 | test -z "$ac_cxx_werror_flag" || |
|
|
8329 | test ! -s conftest.err |
|
|
8330 | } && test -s conftest.$ac_objext; then |
|
|
8331 | ac_cv_type_int=yes |
|
|
8332 | else |
|
|
8333 | echo "$as_me: failed program was:" >&5 |
|
|
8334 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8335 | |
|
|
8336 | ac_cv_type_int=no |
|
|
8337 | fi |
|
|
8338 | |
|
|
8339 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8340 | fi |
|
|
8341 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
|
|
8342 | echo "${ECHO_T}$ac_cv_type_int" >&6; } |
|
|
8343 | |
|
|
8344 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8345 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8346 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8347 | # This bug is HP SR number 8606223364. |
|
|
8348 | { echo "$as_me:$LINENO: checking size of int" >&5 |
|
|
8349 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
|
|
8350 | if test "${ac_cv_sizeof_int+set}" = set; then |
|
|
8351 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8352 | else |
|
|
8353 | if test "$cross_compiling" = yes; then |
|
|
8354 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8355 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8356 | /* confdefs.h. */ |
|
|
8357 | _ACEOF |
|
|
8358 | cat confdefs.h >>conftest.$ac_ext |
|
|
8359 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8360 | /* end confdefs.h. */ |
|
|
8361 | $ac_includes_default |
|
|
8362 | typedef int ac__type_sizeof_; |
|
|
8363 | int |
|
|
8364 | main () |
|
|
8365 | { |
|
|
8366 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8367 | test_array [0] = 0 |
|
|
8368 | |
|
|
8369 | ; |
|
|
8370 | return 0; |
|
|
8371 | } |
|
|
8372 | _ACEOF |
|
|
8373 | rm -f conftest.$ac_objext |
|
|
8374 | if { (ac_try="$ac_compile" |
|
|
8375 | case "(($ac_try" in |
|
|
8376 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8377 | *) ac_try_echo=$ac_try;; |
|
|
8378 | esac |
|
|
8379 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8380 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8381 | ac_status=$? |
|
|
8382 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8383 | rm -f conftest.er1 |
|
|
8384 | cat conftest.err >&5 |
|
|
8385 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8386 | (exit $ac_status); } && { |
|
|
8387 | test -z "$ac_cxx_werror_flag" || |
|
|
8388 | test ! -s conftest.err |
|
|
8389 | } && test -s conftest.$ac_objext; then |
|
|
8390 | ac_lo=0 ac_mid=0 |
|
|
8391 | while :; do |
|
|
8392 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8393 | /* confdefs.h. */ |
|
|
8394 | _ACEOF |
|
|
8395 | cat confdefs.h >>conftest.$ac_ext |
|
|
8396 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8397 | /* end confdefs.h. */ |
|
|
8398 | $ac_includes_default |
|
|
8399 | typedef int ac__type_sizeof_; |
|
|
8400 | int |
|
|
8401 | main () |
|
|
8402 | { |
|
|
8403 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8404 | test_array [0] = 0 |
|
|
8405 | |
|
|
8406 | ; |
|
|
8407 | return 0; |
|
|
8408 | } |
|
|
8409 | _ACEOF |
|
|
8410 | rm -f conftest.$ac_objext |
|
|
8411 | if { (ac_try="$ac_compile" |
|
|
8412 | case "(($ac_try" in |
|
|
8413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8414 | *) ac_try_echo=$ac_try;; |
|
|
8415 | esac |
|
|
8416 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8417 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8418 | ac_status=$? |
|
|
8419 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8420 | rm -f conftest.er1 |
|
|
8421 | cat conftest.err >&5 |
|
|
8422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8423 | (exit $ac_status); } && { |
|
|
8424 | test -z "$ac_cxx_werror_flag" || |
|
|
8425 | test ! -s conftest.err |
|
|
8426 | } && test -s conftest.$ac_objext; then |
|
|
8427 | ac_hi=$ac_mid; break |
|
|
8428 | else |
|
|
8429 | echo "$as_me: failed program was:" >&5 |
|
|
8430 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8431 | |
|
|
8432 | ac_lo=`expr $ac_mid + 1` |
|
|
8433 | if test $ac_lo -le $ac_mid; then |
|
|
8434 | ac_lo= ac_hi= |
|
|
8435 | break |
|
|
8436 | fi |
|
|
8437 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8438 | fi |
|
|
8439 | |
|
|
8440 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8441 | done |
|
|
8442 | else |
|
|
8443 | echo "$as_me: failed program was:" >&5 |
|
|
8444 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8445 | |
|
|
8446 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8447 | /* confdefs.h. */ |
|
|
8448 | _ACEOF |
|
|
8449 | cat confdefs.h >>conftest.$ac_ext |
|
|
8450 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8451 | /* end confdefs.h. */ |
|
|
8452 | $ac_includes_default |
|
|
8453 | typedef int ac__type_sizeof_; |
|
|
8454 | int |
|
|
8455 | main () |
|
|
8456 | { |
|
|
8457 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
8458 | test_array [0] = 0 |
|
|
8459 | |
|
|
8460 | ; |
|
|
8461 | return 0; |
|
|
8462 | } |
|
|
8463 | _ACEOF |
|
|
8464 | rm -f conftest.$ac_objext |
|
|
8465 | if { (ac_try="$ac_compile" |
|
|
8466 | case "(($ac_try" in |
|
|
8467 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8468 | *) ac_try_echo=$ac_try;; |
|
|
8469 | esac |
|
|
8470 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8471 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8472 | ac_status=$? |
|
|
8473 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8474 | rm -f conftest.er1 |
|
|
8475 | cat conftest.err >&5 |
|
|
8476 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8477 | (exit $ac_status); } && { |
|
|
8478 | test -z "$ac_cxx_werror_flag" || |
|
|
8479 | test ! -s conftest.err |
|
|
8480 | } && test -s conftest.$ac_objext; then |
|
|
8481 | ac_hi=-1 ac_mid=-1 |
|
|
8482 | while :; do |
|
|
8483 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8484 | /* confdefs.h. */ |
|
|
8485 | _ACEOF |
|
|
8486 | cat confdefs.h >>conftest.$ac_ext |
|
|
8487 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8488 | /* end confdefs.h. */ |
|
|
8489 | $ac_includes_default |
|
|
8490 | typedef int ac__type_sizeof_; |
|
|
8491 | int |
|
|
8492 | main () |
|
|
8493 | { |
|
|
8494 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
8495 | test_array [0] = 0 |
|
|
8496 | |
|
|
8497 | ; |
|
|
8498 | return 0; |
|
|
8499 | } |
|
|
8500 | _ACEOF |
|
|
8501 | rm -f conftest.$ac_objext |
|
|
8502 | if { (ac_try="$ac_compile" |
|
|
8503 | case "(($ac_try" in |
|
|
8504 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8505 | *) ac_try_echo=$ac_try;; |
|
|
8506 | esac |
|
|
8507 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8508 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8509 | ac_status=$? |
|
|
8510 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8511 | rm -f conftest.er1 |
|
|
8512 | cat conftest.err >&5 |
|
|
8513 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8514 | (exit $ac_status); } && { |
|
|
8515 | test -z "$ac_cxx_werror_flag" || |
|
|
8516 | test ! -s conftest.err |
|
|
8517 | } && test -s conftest.$ac_objext; then |
|
|
8518 | ac_lo=$ac_mid; break |
|
|
8519 | else |
|
|
8520 | echo "$as_me: failed program was:" >&5 |
|
|
8521 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8522 | |
|
|
8523 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
8524 | if test $ac_mid -le $ac_hi; then |
|
|
8525 | ac_lo= ac_hi= |
|
|
8526 | break |
|
|
8527 | fi |
|
|
8528 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8529 | fi |
|
|
8530 | |
|
|
8531 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8532 | done |
|
|
8533 | else |
|
|
8534 | echo "$as_me: failed program was:" >&5 |
|
|
8535 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8536 | |
|
|
8537 | ac_lo= ac_hi= |
|
|
8538 | fi |
|
|
8539 | |
|
|
8540 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8541 | fi |
|
|
8542 | |
|
|
8543 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8544 | # Binary search between lo and hi bounds. |
|
|
8545 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
8546 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
8547 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8548 | /* confdefs.h. */ |
|
|
8549 | _ACEOF |
|
|
8550 | cat confdefs.h >>conftest.$ac_ext |
|
|
8551 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8552 | /* end confdefs.h. */ |
|
|
8553 | $ac_includes_default |
|
|
8554 | typedef int ac__type_sizeof_; |
|
|
8555 | int |
|
|
8556 | main () |
|
|
8557 | { |
|
|
8558 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8559 | test_array [0] = 0 |
|
|
8560 | |
|
|
8561 | ; |
|
|
8562 | return 0; |
|
|
8563 | } |
|
|
8564 | _ACEOF |
|
|
8565 | rm -f conftest.$ac_objext |
|
|
8566 | if { (ac_try="$ac_compile" |
|
|
8567 | case "(($ac_try" in |
|
|
8568 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8569 | *) ac_try_echo=$ac_try;; |
|
|
8570 | esac |
|
|
8571 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8572 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8573 | ac_status=$? |
|
|
8574 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8575 | rm -f conftest.er1 |
|
|
8576 | cat conftest.err >&5 |
|
|
8577 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8578 | (exit $ac_status); } && { |
|
|
8579 | test -z "$ac_cxx_werror_flag" || |
|
|
8580 | test ! -s conftest.err |
|
|
8581 | } && test -s conftest.$ac_objext; then |
|
|
8582 | ac_hi=$ac_mid |
|
|
8583 | else |
|
|
8584 | echo "$as_me: failed program was:" >&5 |
|
|
8585 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8586 | |
|
|
8587 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
8588 | fi |
|
|
8589 | |
|
|
8590 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8591 | done |
|
|
8592 | case $ac_lo in |
|
|
8593 | ?*) ac_cv_sizeof_int=$ac_lo;; |
|
|
8594 | '') if test "$ac_cv_type_int" = yes; then |
|
|
8595 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8596 | See \`config.log' for more details." >&5 |
|
|
8597 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8598 | See \`config.log' for more details." >&2;} |
|
|
8599 | { (exit 77); exit 77; }; } |
|
|
8600 | else |
|
|
8601 | ac_cv_sizeof_int=0 |
|
|
8602 | fi ;; |
|
|
8603 | esac |
|
|
8604 | else |
|
|
8605 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8606 | /* confdefs.h. */ |
|
|
8607 | _ACEOF |
|
|
8608 | cat confdefs.h >>conftest.$ac_ext |
|
|
8609 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8610 | /* end confdefs.h. */ |
|
|
8611 | $ac_includes_default |
|
|
8612 | typedef int ac__type_sizeof_; |
|
|
8613 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8614 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8615 | #include <stdio.h> |
|
|
8616 | #include <stdlib.h> |
|
|
8617 | int |
|
|
8618 | main () |
|
|
8619 | { |
|
|
8620 | |
|
|
8621 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8622 | if (! f) |
|
|
8623 | return 1; |
|
|
8624 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8625 | { |
|
|
8626 | long int i = longval (); |
|
|
8627 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8628 | return 1; |
|
|
8629 | fprintf (f, "%ld\n", i); |
|
|
8630 | } |
|
|
8631 | else |
|
|
8632 | { |
|
|
8633 | unsigned long int i = ulongval (); |
|
|
8634 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8635 | return 1; |
|
|
8636 | fprintf (f, "%lu\n", i); |
|
|
8637 | } |
|
|
8638 | return ferror (f) || fclose (f) != 0; |
|
|
8639 | |
|
|
8640 | ; |
|
|
8641 | return 0; |
|
|
8642 | } |
|
|
8643 | _ACEOF |
|
|
8644 | rm -f conftest$ac_exeext |
|
|
8645 | if { (ac_try="$ac_link" |
|
|
8646 | case "(($ac_try" in |
|
|
8647 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8648 | *) ac_try_echo=$ac_try;; |
|
|
8649 | esac |
|
|
8650 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8651 | (eval "$ac_link") 2>&5 |
|
|
8652 | ac_status=$? |
|
|
8653 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8654 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8655 | { (case "(($ac_try" in |
|
|
8656 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8657 | *) ac_try_echo=$ac_try;; |
|
|
8658 | esac |
|
|
8659 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8660 | (eval "$ac_try") 2>&5 |
|
|
8661 | ac_status=$? |
|
|
8662 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8663 | (exit $ac_status); }; }; then |
|
|
8664 | ac_cv_sizeof_int=`cat conftest.val` |
|
|
8665 | else |
|
|
8666 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8667 | echo "$as_me: failed program was:" >&5 |
|
|
8668 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8669 | |
|
|
8670 | ( exit $ac_status ) |
|
|
8671 | if test "$ac_cv_type_int" = yes; then |
|
|
8672 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8673 | See \`config.log' for more details." >&5 |
|
|
8674 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8675 | See \`config.log' for more details." >&2;} |
|
|
8676 | { (exit 77); exit 77; }; } |
|
|
8677 | else |
|
|
8678 | ac_cv_sizeof_int=0 |
|
|
8679 | fi |
|
|
8680 | fi |
|
|
8681 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8682 | fi |
|
|
8683 | rm -f conftest.val |
|
|
8684 | fi |
|
|
8685 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
|
|
8686 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
|
|
8687 | |
|
|
8688 | |
|
|
8689 | |
|
|
8690 | cat >>confdefs.h <<_ACEOF |
|
|
8691 | #define SIZEOF_INT $ac_cv_sizeof_int |
|
|
8692 | _ACEOF |
|
|
8693 | |
|
|
8694 | |
|
|
8695 | { echo "$as_me:$LINENO: checking for long long" >&5 |
|
|
8696 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
|
|
8697 | if test "${ac_cv_type_long_long+set}" = set; then |
|
|
8698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8699 | else |
|
|
8700 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8701 | /* confdefs.h. */ |
|
|
8702 | _ACEOF |
|
|
8703 | cat confdefs.h >>conftest.$ac_ext |
|
|
8704 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8705 | /* end confdefs.h. */ |
|
|
8706 | $ac_includes_default |
|
|
8707 | typedef long long ac__type_new_; |
|
|
8708 | int |
|
|
8709 | main () |
|
|
8710 | { |
|
|
8711 | if ((ac__type_new_ *) 0) |
|
|
8712 | return 0; |
|
|
8713 | if (sizeof (ac__type_new_)) |
|
|
8714 | return 0; |
|
|
8715 | ; |
|
|
8716 | return 0; |
|
|
8717 | } |
|
|
8718 | _ACEOF |
|
|
8719 | rm -f conftest.$ac_objext |
|
|
8720 | if { (ac_try="$ac_compile" |
|
|
8721 | case "(($ac_try" in |
|
|
8722 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8723 | *) ac_try_echo=$ac_try;; |
|
|
8724 | esac |
|
|
8725 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8726 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8727 | ac_status=$? |
|
|
8728 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8729 | rm -f conftest.er1 |
|
|
8730 | cat conftest.err >&5 |
|
|
8731 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8732 | (exit $ac_status); } && { |
|
|
8733 | test -z "$ac_cxx_werror_flag" || |
|
|
8734 | test ! -s conftest.err |
|
|
8735 | } && test -s conftest.$ac_objext; then |
|
|
8736 | ac_cv_type_long_long=yes |
|
|
8737 | else |
|
|
8738 | echo "$as_me: failed program was:" >&5 |
|
|
8739 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8740 | |
|
|
8741 | ac_cv_type_long_long=no |
|
|
8742 | fi |
|
|
8743 | |
|
|
8744 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8745 | fi |
|
|
8746 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
|
|
8747 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
|
|
8748 | |
|
|
8749 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8750 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8751 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8752 | # This bug is HP SR number 8606223364. |
|
|
8753 | { echo "$as_me:$LINENO: checking size of long long" >&5 |
|
|
8754 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
|
|
8755 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
|
|
8756 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8757 | else |
|
|
8758 | if test "$cross_compiling" = yes; then |
|
|
8759 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8760 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8761 | /* confdefs.h. */ |
|
|
8762 | _ACEOF |
|
|
8763 | cat confdefs.h >>conftest.$ac_ext |
|
|
8764 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8765 | /* end confdefs.h. */ |
|
|
8766 | $ac_includes_default |
|
|
8767 | typedef long long ac__type_sizeof_; |
|
|
8768 | int |
|
|
8769 | main () |
|
|
8770 | { |
|
|
8771 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8772 | test_array [0] = 0 |
|
|
8773 | |
|
|
8774 | ; |
|
|
8775 | return 0; |
|
|
8776 | } |
|
|
8777 | _ACEOF |
|
|
8778 | rm -f conftest.$ac_objext |
|
|
8779 | if { (ac_try="$ac_compile" |
|
|
8780 | case "(($ac_try" in |
|
|
8781 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8782 | *) ac_try_echo=$ac_try;; |
|
|
8783 | esac |
|
|
8784 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8785 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8786 | ac_status=$? |
|
|
8787 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8788 | rm -f conftest.er1 |
|
|
8789 | cat conftest.err >&5 |
|
|
8790 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8791 | (exit $ac_status); } && { |
|
|
8792 | test -z "$ac_cxx_werror_flag" || |
|
|
8793 | test ! -s conftest.err |
|
|
8794 | } && test -s conftest.$ac_objext; then |
|
|
8795 | ac_lo=0 ac_mid=0 |
|
|
8796 | while :; do |
|
|
8797 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8798 | /* confdefs.h. */ |
|
|
8799 | _ACEOF |
|
|
8800 | cat confdefs.h >>conftest.$ac_ext |
|
|
8801 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8802 | /* end confdefs.h. */ |
|
|
8803 | $ac_includes_default |
|
|
8804 | typedef long long ac__type_sizeof_; |
|
|
8805 | int |
|
|
8806 | main () |
|
|
8807 | { |
|
|
8808 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8809 | test_array [0] = 0 |
|
|
8810 | |
|
|
8811 | ; |
|
|
8812 | return 0; |
|
|
8813 | } |
|
|
8814 | _ACEOF |
|
|
8815 | rm -f conftest.$ac_objext |
|
|
8816 | if { (ac_try="$ac_compile" |
|
|
8817 | case "(($ac_try" in |
|
|
8818 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8819 | *) ac_try_echo=$ac_try;; |
|
|
8820 | esac |
|
|
8821 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8822 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8823 | ac_status=$? |
|
|
8824 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8825 | rm -f conftest.er1 |
|
|
8826 | cat conftest.err >&5 |
|
|
8827 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8828 | (exit $ac_status); } && { |
|
|
8829 | test -z "$ac_cxx_werror_flag" || |
|
|
8830 | test ! -s conftest.err |
|
|
8831 | } && test -s conftest.$ac_objext; then |
|
|
8832 | ac_hi=$ac_mid; break |
|
|
8833 | else |
|
|
8834 | echo "$as_me: failed program was:" >&5 |
|
|
8835 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8836 | |
|
|
8837 | ac_lo=`expr $ac_mid + 1` |
|
|
8838 | if test $ac_lo -le $ac_mid; then |
|
|
8839 | ac_lo= ac_hi= |
|
|
8840 | break |
|
|
8841 | fi |
|
|
8842 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8843 | fi |
|
|
8844 | |
|
|
8845 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8846 | done |
|
|
8847 | else |
|
|
8848 | echo "$as_me: failed program was:" >&5 |
|
|
8849 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8850 | |
|
|
8851 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8852 | /* confdefs.h. */ |
|
|
8853 | _ACEOF |
|
|
8854 | cat confdefs.h >>conftest.$ac_ext |
|
|
8855 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8856 | /* end confdefs.h. */ |
|
|
8857 | $ac_includes_default |
|
|
8858 | typedef long long ac__type_sizeof_; |
|
|
8859 | int |
|
|
8860 | main () |
|
|
8861 | { |
|
|
8862 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
8863 | test_array [0] = 0 |
|
|
8864 | |
|
|
8865 | ; |
|
|
8866 | return 0; |
|
|
8867 | } |
|
|
8868 | _ACEOF |
|
|
8869 | rm -f conftest.$ac_objext |
|
|
8870 | if { (ac_try="$ac_compile" |
|
|
8871 | case "(($ac_try" in |
|
|
8872 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8873 | *) ac_try_echo=$ac_try;; |
|
|
8874 | esac |
|
|
8875 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8876 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8877 | ac_status=$? |
|
|
8878 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8879 | rm -f conftest.er1 |
|
|
8880 | cat conftest.err >&5 |
|
|
8881 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8882 | (exit $ac_status); } && { |
|
|
8883 | test -z "$ac_cxx_werror_flag" || |
|
|
8884 | test ! -s conftest.err |
|
|
8885 | } && test -s conftest.$ac_objext; then |
|
|
8886 | ac_hi=-1 ac_mid=-1 |
|
|
8887 | while :; do |
|
|
8888 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8889 | /* confdefs.h. */ |
|
|
8890 | _ACEOF |
|
|
8891 | cat confdefs.h >>conftest.$ac_ext |
|
|
8892 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8893 | /* end confdefs.h. */ |
|
|
8894 | $ac_includes_default |
|
|
8895 | typedef long long ac__type_sizeof_; |
|
|
8896 | int |
|
|
8897 | main () |
|
|
8898 | { |
|
|
8899 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
8900 | test_array [0] = 0 |
|
|
8901 | |
|
|
8902 | ; |
|
|
8903 | return 0; |
|
|
8904 | } |
|
|
8905 | _ACEOF |
|
|
8906 | rm -f conftest.$ac_objext |
|
|
8907 | if { (ac_try="$ac_compile" |
|
|
8908 | case "(($ac_try" in |
|
|
8909 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8910 | *) ac_try_echo=$ac_try;; |
|
|
8911 | esac |
|
|
8912 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8913 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8914 | ac_status=$? |
|
|
8915 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8916 | rm -f conftest.er1 |
|
|
8917 | cat conftest.err >&5 |
|
|
8918 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8919 | (exit $ac_status); } && { |
|
|
8920 | test -z "$ac_cxx_werror_flag" || |
|
|
8921 | test ! -s conftest.err |
|
|
8922 | } && test -s conftest.$ac_objext; then |
|
|
8923 | ac_lo=$ac_mid; break |
|
|
8924 | else |
|
|
8925 | echo "$as_me: failed program was:" >&5 |
|
|
8926 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8927 | |
|
|
8928 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
8929 | if test $ac_mid -le $ac_hi; then |
|
|
8930 | ac_lo= ac_hi= |
|
|
8931 | break |
|
|
8932 | fi |
|
|
8933 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8934 | fi |
|
|
8935 | |
|
|
8936 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8937 | done |
|
|
8938 | else |
|
|
8939 | echo "$as_me: failed program was:" >&5 |
|
|
8940 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8941 | |
|
|
8942 | ac_lo= ac_hi= |
|
|
8943 | fi |
|
|
8944 | |
|
|
8945 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8946 | fi |
|
|
8947 | |
|
|
8948 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8949 | # Binary search between lo and hi bounds. |
|
|
8950 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
8951 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
8952 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8953 | /* confdefs.h. */ |
|
|
8954 | _ACEOF |
|
|
8955 | cat confdefs.h >>conftest.$ac_ext |
|
|
8956 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8957 | /* end confdefs.h. */ |
|
|
8958 | $ac_includes_default |
|
|
8959 | typedef long long ac__type_sizeof_; |
|
|
8960 | int |
|
|
8961 | main () |
|
|
8962 | { |
|
|
8963 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8964 | test_array [0] = 0 |
|
|
8965 | |
|
|
8966 | ; |
|
|
8967 | return 0; |
|
|
8968 | } |
|
|
8969 | _ACEOF |
|
|
8970 | rm -f conftest.$ac_objext |
|
|
8971 | if { (ac_try="$ac_compile" |
|
|
8972 | case "(($ac_try" in |
|
|
8973 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8974 | *) ac_try_echo=$ac_try;; |
|
|
8975 | esac |
|
|
8976 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8977 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8978 | ac_status=$? |
|
|
8979 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8980 | rm -f conftest.er1 |
|
|
8981 | cat conftest.err >&5 |
|
|
8982 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8983 | (exit $ac_status); } && { |
|
|
8984 | test -z "$ac_cxx_werror_flag" || |
|
|
8985 | test ! -s conftest.err |
|
|
8986 | } && test -s conftest.$ac_objext; then |
|
|
8987 | ac_hi=$ac_mid |
|
|
8988 | else |
|
|
8989 | echo "$as_me: failed program was:" >&5 |
|
|
8990 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8991 | |
|
|
8992 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
8993 | fi |
|
|
8994 | |
|
|
8995 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8996 | done |
|
|
8997 | case $ac_lo in |
|
|
8998 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
|
|
8999 | '') if test "$ac_cv_type_long_long" = yes; then |
|
|
9000 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9001 | See \`config.log' for more details." >&5 |
|
|
9002 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9003 | See \`config.log' for more details." >&2;} |
|
|
9004 | { (exit 77); exit 77; }; } |
|
|
9005 | else |
|
|
9006 | ac_cv_sizeof_long_long=0 |
|
|
9007 | fi ;; |
|
|
9008 | esac |
|
|
9009 | else |
|
|
9010 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9011 | /* confdefs.h. */ |
|
|
9012 | _ACEOF |
|
|
9013 | cat confdefs.h >>conftest.$ac_ext |
|
|
9014 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9015 | /* end confdefs.h. */ |
|
|
9016 | $ac_includes_default |
|
|
9017 | typedef long long ac__type_sizeof_; |
|
|
9018 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9019 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9020 | #include <stdio.h> |
|
|
9021 | #include <stdlib.h> |
|
|
9022 | int |
|
|
9023 | main () |
|
|
9024 | { |
|
|
9025 | |
|
|
9026 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9027 | if (! f) |
|
|
9028 | return 1; |
|
|
9029 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9030 | { |
|
|
9031 | long int i = longval (); |
|
|
9032 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9033 | return 1; |
|
|
9034 | fprintf (f, "%ld\n", i); |
|
|
9035 | } |
|
|
9036 | else |
|
|
9037 | { |
|
|
9038 | unsigned long int i = ulongval (); |
|
|
9039 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9040 | return 1; |
|
|
9041 | fprintf (f, "%lu\n", i); |
|
|
9042 | } |
|
|
9043 | return ferror (f) || fclose (f) != 0; |
|
|
9044 | |
|
|
9045 | ; |
|
|
9046 | return 0; |
|
|
9047 | } |
|
|
9048 | _ACEOF |
|
|
9049 | rm -f conftest$ac_exeext |
|
|
9050 | if { (ac_try="$ac_link" |
|
|
9051 | case "(($ac_try" in |
|
|
9052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9053 | *) ac_try_echo=$ac_try;; |
|
|
9054 | esac |
|
|
9055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9056 | (eval "$ac_link") 2>&5 |
|
|
9057 | ac_status=$? |
|
|
9058 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9059 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9060 | { (case "(($ac_try" in |
|
|
9061 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9062 | *) ac_try_echo=$ac_try;; |
|
|
9063 | esac |
|
|
9064 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9065 | (eval "$ac_try") 2>&5 |
|
|
9066 | ac_status=$? |
|
|
9067 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9068 | (exit $ac_status); }; }; then |
|
|
9069 | ac_cv_sizeof_long_long=`cat conftest.val` |
|
|
9070 | else |
|
|
9071 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9072 | echo "$as_me: failed program was:" >&5 |
|
|
9073 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9074 | |
|
|
9075 | ( exit $ac_status ) |
|
|
9076 | if test "$ac_cv_type_long_long" = yes; then |
|
|
9077 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9078 | See \`config.log' for more details." >&5 |
|
|
9079 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9080 | See \`config.log' for more details." >&2;} |
|
|
9081 | { (exit 77); exit 77; }; } |
|
|
9082 | else |
|
|
9083 | ac_cv_sizeof_long_long=0 |
|
|
9084 | fi |
|
|
9085 | fi |
|
|
9086 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9087 | fi |
|
|
9088 | rm -f conftest.val |
|
|
9089 | fi |
|
|
9090 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
|
|
9091 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
|
|
9092 | |
|
|
9093 | |
|
|
9094 | |
|
|
9095 | cat >>confdefs.h <<_ACEOF |
|
|
9096 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
|
|
9097 | _ACEOF |
|
|
9098 | |
|
|
9099 | |
|
|
9100 | { echo "$as_me:$LINENO: checking for int *" >&5 |
|
|
9101 | echo $ECHO_N "checking for int *... $ECHO_C" >&6; } |
|
|
9102 | if test "${ac_cv_type_int_p+set}" = set; then |
|
|
9103 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9104 | else |
|
|
9105 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9106 | /* confdefs.h. */ |
|
|
9107 | _ACEOF |
|
|
9108 | cat confdefs.h >>conftest.$ac_ext |
|
|
9109 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9110 | /* end confdefs.h. */ |
|
|
9111 | $ac_includes_default |
|
|
9112 | typedef int * ac__type_new_; |
|
|
9113 | int |
|
|
9114 | main () |
|
|
9115 | { |
|
|
9116 | if ((ac__type_new_ *) 0) |
|
|
9117 | return 0; |
|
|
9118 | if (sizeof (ac__type_new_)) |
|
|
9119 | return 0; |
|
|
9120 | ; |
|
|
9121 | return 0; |
|
|
9122 | } |
|
|
9123 | _ACEOF |
|
|
9124 | rm -f conftest.$ac_objext |
|
|
9125 | if { (ac_try="$ac_compile" |
|
|
9126 | case "(($ac_try" in |
|
|
9127 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9128 | *) ac_try_echo=$ac_try;; |
|
|
9129 | esac |
|
|
9130 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9131 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9132 | ac_status=$? |
|
|
9133 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9134 | rm -f conftest.er1 |
|
|
9135 | cat conftest.err >&5 |
|
|
9136 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9137 | (exit $ac_status); } && { |
|
|
9138 | test -z "$ac_cxx_werror_flag" || |
|
|
9139 | test ! -s conftest.err |
|
|
9140 | } && test -s conftest.$ac_objext; then |
|
|
9141 | ac_cv_type_int_p=yes |
|
|
9142 | else |
|
|
9143 | echo "$as_me: failed program was:" >&5 |
|
|
9144 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9145 | |
|
|
9146 | ac_cv_type_int_p=no |
|
|
9147 | fi |
|
|
9148 | |
|
|
9149 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9150 | fi |
|
|
9151 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5 |
|
|
9152 | echo "${ECHO_T}$ac_cv_type_int_p" >&6; } |
|
|
9153 | |
|
|
9154 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9155 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9156 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9157 | # This bug is HP SR number 8606223364. |
|
|
9158 | { echo "$as_me:$LINENO: checking size of int *" >&5 |
|
|
9159 | echo $ECHO_N "checking size of int *... $ECHO_C" >&6; } |
|
|
9160 | if test "${ac_cv_sizeof_int_p+set}" = set; then |
|
|
9161 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9162 | else |
|
|
9163 | if test "$cross_compiling" = yes; then |
|
|
9164 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9165 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9166 | /* confdefs.h. */ |
|
|
9167 | _ACEOF |
|
|
9168 | cat confdefs.h >>conftest.$ac_ext |
|
|
9169 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9170 | /* end confdefs.h. */ |
|
|
9171 | $ac_includes_default |
|
|
9172 | typedef int * ac__type_sizeof_; |
|
|
9173 | int |
|
|
9174 | main () |
|
|
9175 | { |
|
|
9176 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9177 | test_array [0] = 0 |
|
|
9178 | |
|
|
9179 | ; |
|
|
9180 | return 0; |
|
|
9181 | } |
|
|
9182 | _ACEOF |
|
|
9183 | rm -f conftest.$ac_objext |
|
|
9184 | if { (ac_try="$ac_compile" |
|
|
9185 | case "(($ac_try" in |
|
|
9186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9187 | *) ac_try_echo=$ac_try;; |
|
|
9188 | esac |
|
|
9189 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9190 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9191 | ac_status=$? |
|
|
9192 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9193 | rm -f conftest.er1 |
|
|
9194 | cat conftest.err >&5 |
|
|
9195 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9196 | (exit $ac_status); } && { |
|
|
9197 | test -z "$ac_cxx_werror_flag" || |
|
|
9198 | test ! -s conftest.err |
|
|
9199 | } && test -s conftest.$ac_objext; then |
|
|
9200 | ac_lo=0 ac_mid=0 |
|
|
9201 | while :; do |
|
|
9202 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9203 | /* confdefs.h. */ |
|
|
9204 | _ACEOF |
|
|
9205 | cat confdefs.h >>conftest.$ac_ext |
|
|
9206 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9207 | /* end confdefs.h. */ |
|
|
9208 | $ac_includes_default |
|
|
9209 | typedef int * ac__type_sizeof_; |
|
|
9210 | int |
|
|
9211 | main () |
|
|
9212 | { |
|
|
9213 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9214 | test_array [0] = 0 |
|
|
9215 | |
|
|
9216 | ; |
|
|
9217 | return 0; |
|
|
9218 | } |
|
|
9219 | _ACEOF |
|
|
9220 | rm -f conftest.$ac_objext |
|
|
9221 | if { (ac_try="$ac_compile" |
|
|
9222 | case "(($ac_try" in |
|
|
9223 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9224 | *) ac_try_echo=$ac_try;; |
|
|
9225 | esac |
|
|
9226 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9227 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9228 | ac_status=$? |
|
|
9229 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9230 | rm -f conftest.er1 |
|
|
9231 | cat conftest.err >&5 |
|
|
9232 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9233 | (exit $ac_status); } && { |
|
|
9234 | test -z "$ac_cxx_werror_flag" || |
|
|
9235 | test ! -s conftest.err |
|
|
9236 | } && test -s conftest.$ac_objext; then |
|
|
9237 | ac_hi=$ac_mid; break |
|
|
9238 | else |
|
|
9239 | echo "$as_me: failed program was:" >&5 |
|
|
9240 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9241 | |
|
|
9242 | ac_lo=`expr $ac_mid + 1` |
|
|
9243 | if test $ac_lo -le $ac_mid; then |
|
|
9244 | ac_lo= ac_hi= |
|
|
9245 | break |
|
|
9246 | fi |
|
|
9247 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9248 | fi |
|
|
9249 | |
|
|
9250 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9251 | done |
|
|
9252 | else |
|
|
9253 | echo "$as_me: failed program was:" >&5 |
|
|
9254 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9255 | |
|
|
9256 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9257 | /* confdefs.h. */ |
|
|
9258 | _ACEOF |
|
|
9259 | cat confdefs.h >>conftest.$ac_ext |
|
|
9260 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9261 | /* end confdefs.h. */ |
|
|
9262 | $ac_includes_default |
|
|
9263 | typedef int * ac__type_sizeof_; |
|
|
9264 | int |
|
|
9265 | main () |
|
|
9266 | { |
|
|
9267 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9268 | test_array [0] = 0 |
|
|
9269 | |
|
|
9270 | ; |
|
|
9271 | return 0; |
|
|
9272 | } |
|
|
9273 | _ACEOF |
|
|
9274 | rm -f conftest.$ac_objext |
|
|
9275 | if { (ac_try="$ac_compile" |
|
|
9276 | case "(($ac_try" in |
|
|
9277 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9278 | *) ac_try_echo=$ac_try;; |
|
|
9279 | esac |
|
|
9280 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9281 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9282 | ac_status=$? |
|
|
9283 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9284 | rm -f conftest.er1 |
|
|
9285 | cat conftest.err >&5 |
|
|
9286 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9287 | (exit $ac_status); } && { |
|
|
9288 | test -z "$ac_cxx_werror_flag" || |
|
|
9289 | test ! -s conftest.err |
|
|
9290 | } && test -s conftest.$ac_objext; then |
|
|
9291 | ac_hi=-1 ac_mid=-1 |
|
|
9292 | while :; do |
|
|
9293 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9294 | /* confdefs.h. */ |
|
|
9295 | _ACEOF |
|
|
9296 | cat confdefs.h >>conftest.$ac_ext |
|
|
9297 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9298 | /* end confdefs.h. */ |
|
|
9299 | $ac_includes_default |
|
|
9300 | typedef int * ac__type_sizeof_; |
|
|
9301 | int |
|
|
9302 | main () |
|
|
9303 | { |
|
|
9304 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9305 | test_array [0] = 0 |
|
|
9306 | |
|
|
9307 | ; |
|
|
9308 | return 0; |
|
|
9309 | } |
|
|
9310 | _ACEOF |
|
|
9311 | rm -f conftest.$ac_objext |
|
|
9312 | if { (ac_try="$ac_compile" |
|
|
9313 | case "(($ac_try" in |
|
|
9314 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9315 | *) ac_try_echo=$ac_try;; |
|
|
9316 | esac |
|
|
9317 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9318 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9319 | ac_status=$? |
|
|
9320 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9321 | rm -f conftest.er1 |
|
|
9322 | cat conftest.err >&5 |
|
|
9323 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9324 | (exit $ac_status); } && { |
|
|
9325 | test -z "$ac_cxx_werror_flag" || |
|
|
9326 | test ! -s conftest.err |
|
|
9327 | } && test -s conftest.$ac_objext; then |
|
|
9328 | ac_lo=$ac_mid; break |
|
|
9329 | else |
|
|
9330 | echo "$as_me: failed program was:" >&5 |
|
|
9331 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9332 | |
|
|
9333 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9334 | if test $ac_mid -le $ac_hi; then |
|
|
9335 | ac_lo= ac_hi= |
|
|
9336 | break |
|
|
9337 | fi |
|
|
9338 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9339 | fi |
|
|
9340 | |
|
|
9341 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9342 | done |
|
|
9343 | else |
|
|
9344 | echo "$as_me: failed program was:" >&5 |
|
|
9345 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9346 | |
|
|
9347 | ac_lo= ac_hi= |
|
|
9348 | fi |
|
|
9349 | |
|
|
9350 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9351 | fi |
|
|
9352 | |
|
|
9353 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9354 | # Binary search between lo and hi bounds. |
|
|
9355 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9356 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9357 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9358 | /* confdefs.h. */ |
|
|
9359 | _ACEOF |
|
|
9360 | cat confdefs.h >>conftest.$ac_ext |
|
|
9361 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9362 | /* end confdefs.h. */ |
|
|
9363 | $ac_includes_default |
|
|
9364 | typedef int * ac__type_sizeof_; |
|
|
9365 | int |
|
|
9366 | main () |
|
|
9367 | { |
|
|
9368 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9369 | test_array [0] = 0 |
|
|
9370 | |
|
|
9371 | ; |
|
|
9372 | return 0; |
|
|
9373 | } |
|
|
9374 | _ACEOF |
|
|
9375 | rm -f conftest.$ac_objext |
|
|
9376 | if { (ac_try="$ac_compile" |
|
|
9377 | case "(($ac_try" in |
|
|
9378 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9379 | *) ac_try_echo=$ac_try;; |
|
|
9380 | esac |
|
|
9381 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9382 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9383 | ac_status=$? |
|
|
9384 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9385 | rm -f conftest.er1 |
|
|
9386 | cat conftest.err >&5 |
|
|
9387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9388 | (exit $ac_status); } && { |
|
|
9389 | test -z "$ac_cxx_werror_flag" || |
|
|
9390 | test ! -s conftest.err |
|
|
9391 | } && test -s conftest.$ac_objext; then |
|
|
9392 | ac_hi=$ac_mid |
|
|
9393 | else |
|
|
9394 | echo "$as_me: failed program was:" >&5 |
|
|
9395 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9396 | |
|
|
9397 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9398 | fi |
|
|
9399 | |
|
|
9400 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9401 | done |
|
|
9402 | case $ac_lo in |
|
|
9403 | ?*) ac_cv_sizeof_int_p=$ac_lo;; |
|
|
9404 | '') if test "$ac_cv_type_int_p" = yes; then |
|
|
9405 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9406 | See \`config.log' for more details." >&5 |
|
|
9407 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9408 | See \`config.log' for more details." >&2;} |
|
|
9409 | { (exit 77); exit 77; }; } |
|
|
9410 | else |
|
|
9411 | ac_cv_sizeof_int_p=0 |
|
|
9412 | fi ;; |
|
|
9413 | esac |
|
|
9414 | else |
|
|
9415 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9416 | /* confdefs.h. */ |
|
|
9417 | _ACEOF |
|
|
9418 | cat confdefs.h >>conftest.$ac_ext |
|
|
9419 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9420 | /* end confdefs.h. */ |
|
|
9421 | $ac_includes_default |
|
|
9422 | typedef int * ac__type_sizeof_; |
|
|
9423 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9424 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9425 | #include <stdio.h> |
|
|
9426 | #include <stdlib.h> |
|
|
9427 | int |
|
|
9428 | main () |
|
|
9429 | { |
|
|
9430 | |
|
|
9431 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9432 | if (! f) |
|
|
9433 | return 1; |
|
|
9434 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9435 | { |
|
|
9436 | long int i = longval (); |
|
|
9437 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9438 | return 1; |
|
|
9439 | fprintf (f, "%ld\n", i); |
|
|
9440 | } |
|
|
9441 | else |
|
|
9442 | { |
|
|
9443 | unsigned long int i = ulongval (); |
|
|
9444 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9445 | return 1; |
|
|
9446 | fprintf (f, "%lu\n", i); |
|
|
9447 | } |
|
|
9448 | return ferror (f) || fclose (f) != 0; |
|
|
9449 | |
|
|
9450 | ; |
|
|
9451 | return 0; |
|
|
9452 | } |
|
|
9453 | _ACEOF |
|
|
9454 | rm -f conftest$ac_exeext |
|
|
9455 | if { (ac_try="$ac_link" |
|
|
9456 | case "(($ac_try" in |
|
|
9457 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9458 | *) ac_try_echo=$ac_try;; |
|
|
9459 | esac |
|
|
9460 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9461 | (eval "$ac_link") 2>&5 |
|
|
9462 | ac_status=$? |
|
|
9463 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9464 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9465 | { (case "(($ac_try" in |
|
|
9466 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9467 | *) ac_try_echo=$ac_try;; |
|
|
9468 | esac |
|
|
9469 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9470 | (eval "$ac_try") 2>&5 |
|
|
9471 | ac_status=$? |
|
|
9472 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9473 | (exit $ac_status); }; }; then |
|
|
9474 | ac_cv_sizeof_int_p=`cat conftest.val` |
|
|
9475 | else |
|
|
9476 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9477 | echo "$as_me: failed program was:" >&5 |
|
|
9478 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9479 | |
|
|
9480 | ( exit $ac_status ) |
|
|
9481 | if test "$ac_cv_type_int_p" = yes; then |
|
|
9482 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9483 | See \`config.log' for more details." >&5 |
|
|
9484 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9485 | See \`config.log' for more details." >&2;} |
|
|
9486 | { (exit 77); exit 77; }; } |
|
|
9487 | else |
|
|
9488 | ac_cv_sizeof_int_p=0 |
|
|
9489 | fi |
|
|
9490 | fi |
|
|
9491 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9492 | fi |
|
|
9493 | rm -f conftest.val |
|
|
9494 | fi |
|
|
9495 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5 |
|
|
9496 | echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; } |
|
|
9497 | |
|
|
9498 | |
|
|
9499 | |
|
|
9500 | cat >>confdefs.h <<_ACEOF |
|
|
9501 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
|
|
9502 | _ACEOF |
|
|
9503 | |
|
|
9504 | |
|
|
9505 | |
|
|
9506 | |
|
|
9507 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
|
|
9508 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
|
|
9509 | if test "${rxvt_cv_int16_t+set}" = set; then |
|
|
9510 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9511 | else |
|
|
9512 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9513 | /* confdefs.h. */ |
|
|
9514 | _ACEOF |
|
|
9515 | cat confdefs.h >>conftest.$ac_ext |
|
|
9516 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9517 | /* end confdefs.h. */ |
|
|
9518 | #include <stdint.h> |
|
|
9519 | int |
|
|
9520 | main () |
|
|
9521 | { |
|
|
9522 | int16_t dummy; |
|
|
9523 | ; |
|
|
9524 | return 0; |
|
|
9525 | } |
|
|
9526 | _ACEOF |
|
|
9527 | rm -f conftest.$ac_objext |
|
|
9528 | if { (ac_try="$ac_compile" |
|
|
9529 | case "(($ac_try" in |
|
|
9530 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9531 | *) ac_try_echo=$ac_try;; |
|
|
9532 | esac |
|
|
9533 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9534 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9535 | ac_status=$? |
|
|
9536 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9537 | rm -f conftest.er1 |
|
|
9538 | cat conftest.err >&5 |
|
|
9539 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9540 | (exit $ac_status); } && { |
|
|
9541 | test -z "$ac_cxx_werror_flag" || |
|
|
9542 | test ! -s conftest.err |
|
|
9543 | } && test -s conftest.$ac_objext; then |
|
|
9544 | rxvt_cv_int16_t=yes |
|
|
9545 | else |
|
|
9546 | echo "$as_me: failed program was:" >&5 |
|
|
9547 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9548 | |
|
|
9549 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9550 | rxvt_cv_int16_t=" char" |
|
|
9551 | else |
|
|
9552 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9553 | rxvt_cv_int16_t=" short" |
|
|
9554 | else |
|
|
9555 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9556 | rxvt_cv_int16_t=" int" |
|
|
9557 | else |
|
|
9558 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9559 | rxvt_cv_int16_t=" long" |
|
|
9560 | else |
|
|
9561 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9562 | rxvt_cv_int16_t=" long long" |
|
|
9563 | else |
|
|
9564 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
|
|
9565 | fi |
|
|
9566 | fi |
|
|
9567 | fi |
|
|
9568 | fi |
|
|
9569 | fi |
|
|
9570 | fi |
|
|
9571 | |
|
|
9572 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9573 | fi |
|
|
9574 | { echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5 |
|
|
9575 | echo "${ECHO_T}$rxvt_cv_int16_t" >&6; } |
|
|
9576 | if test x"$rxvt_cv_int16_t" != xyes; then |
|
|
9577 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
|
|
9578 | else |
|
|
9579 | if test x"" = x; then |
|
|
9580 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9581 | else |
|
|
9582 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9583 | fi |
|
|
9584 | fi |
|
|
9585 | |
|
|
9586 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
9587 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
9588 | if test "${rxvt_cv_uint16_t+set}" = set; then |
|
|
9589 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9590 | else |
|
|
9591 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9592 | /* confdefs.h. */ |
|
|
9593 | _ACEOF |
|
|
9594 | cat confdefs.h >>conftest.$ac_ext |
|
|
9595 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9596 | /* end confdefs.h. */ |
|
|
9597 | #include <stdint.h> |
|
|
9598 | int |
|
|
9599 | main () |
|
|
9600 | { |
|
|
9601 | uint16_t dummy; |
|
|
9602 | ; |
|
|
9603 | return 0; |
|
|
9604 | } |
|
|
9605 | _ACEOF |
|
|
9606 | rm -f conftest.$ac_objext |
|
|
9607 | if { (ac_try="$ac_compile" |
|
|
9608 | case "(($ac_try" in |
|
|
9609 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9610 | *) ac_try_echo=$ac_try;; |
|
|
9611 | esac |
|
|
9612 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9613 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9614 | ac_status=$? |
|
|
9615 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9616 | rm -f conftest.er1 |
|
|
9617 | cat conftest.err >&5 |
|
|
9618 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9619 | (exit $ac_status); } && { |
|
|
9620 | test -z "$ac_cxx_werror_flag" || |
|
|
9621 | test ! -s conftest.err |
|
|
9622 | } && test -s conftest.$ac_objext; then |
|
|
9623 | rxvt_cv_uint16_t=yes |
|
|
9624 | else |
|
|
9625 | echo "$as_me: failed program was:" >&5 |
|
|
9626 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9627 | |
|
|
9628 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9629 | rxvt_cv_uint16_t="unsigned char" |
|
|
9630 | else |
|
|
9631 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9632 | rxvt_cv_uint16_t="unsigned short" |
|
|
9633 | else |
|
|
9634 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9635 | rxvt_cv_uint16_t="unsigned int" |
|
|
9636 | else |
|
|
9637 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9638 | rxvt_cv_uint16_t="unsigned long" |
|
|
9639 | else |
|
|
9640 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9641 | rxvt_cv_uint16_t="unsigned long long" |
|
|
9642 | else |
|
|
9643 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
|
|
9644 | fi |
|
|
9645 | fi |
|
|
9646 | fi |
|
|
9647 | fi |
|
|
9648 | fi |
|
|
9649 | fi |
|
|
9650 | |
|
|
9651 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9652 | fi |
|
|
9653 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5 |
|
|
9654 | echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; } |
|
|
9655 | if test x"$rxvt_cv_uint16_t" != xyes; then |
|
|
9656 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
|
|
9657 | else |
|
|
9658 | if test x"unsigned" = x; then |
|
|
9659 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
|
|
9660 | else |
|
|
9661 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
|
|
9662 | fi |
|
|
9663 | fi |
|
|
9664 | |
|
|
9665 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
9666 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
9667 | if test "${rxvt_cv_int32_t+set}" = set; then |
|
|
9668 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9669 | else |
|
|
9670 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9671 | /* confdefs.h. */ |
|
|
9672 | _ACEOF |
|
|
9673 | cat confdefs.h >>conftest.$ac_ext |
|
|
9674 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9675 | /* end confdefs.h. */ |
|
|
9676 | #include <stdint.h> |
|
|
9677 | int |
|
|
9678 | main () |
|
|
9679 | { |
|
|
9680 | int32_t dummy; |
|
|
9681 | ; |
|
|
9682 | return 0; |
|
|
9683 | } |
|
|
9684 | _ACEOF |
|
|
9685 | rm -f conftest.$ac_objext |
|
|
9686 | if { (ac_try="$ac_compile" |
|
|
9687 | case "(($ac_try" in |
|
|
9688 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9689 | *) ac_try_echo=$ac_try;; |
|
|
9690 | esac |
|
|
9691 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9692 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9693 | ac_status=$? |
|
|
9694 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9695 | rm -f conftest.er1 |
|
|
9696 | cat conftest.err >&5 |
|
|
9697 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9698 | (exit $ac_status); } && { |
|
|
9699 | test -z "$ac_cxx_werror_flag" || |
|
|
9700 | test ! -s conftest.err |
|
|
9701 | } && test -s conftest.$ac_objext; then |
|
|
9702 | rxvt_cv_int32_t=yes |
|
|
9703 | else |
|
|
9704 | echo "$as_me: failed program was:" >&5 |
|
|
9705 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9706 | |
|
|
9707 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
9708 | rxvt_cv_int32_t=" char" |
|
|
9709 | else |
|
|
9710 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
9711 | rxvt_cv_int32_t=" short" |
|
|
9712 | else |
|
|
9713 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
9714 | rxvt_cv_int32_t=" int" |
|
|
9715 | else |
|
|
9716 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
9717 | rxvt_cv_int32_t=" long" |
|
|
9718 | else |
|
|
9719 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
9720 | rxvt_cv_int32_t=" long long" |
|
|
9721 | else |
|
|
9722 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
|
|
9723 | fi |
|
|
9724 | fi |
|
|
9725 | fi |
|
|
9726 | fi |
|
|
9727 | fi |
|
|
9728 | fi |
|
|
9729 | |
|
|
9730 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9731 | fi |
|
|
9732 | { echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5 |
|
|
9733 | echo "${ECHO_T}$rxvt_cv_int32_t" >&6; } |
|
|
9734 | if test x"$rxvt_cv_int32_t" != xyes; then |
|
|
9735 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
|
|
9736 | else |
|
|
9737 | if test x"" = x; then |
|
|
9738 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
9739 | else |
|
|
9740 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
9741 | fi |
|
|
9742 | fi |
|
|
9743 | |
|
|
9744 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
9745 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
9746 | if test "${rxvt_cv_uint32_t+set}" = set; then |
|
|
9747 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9748 | else |
|
|
9749 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9750 | /* confdefs.h. */ |
|
|
9751 | _ACEOF |
|
|
9752 | cat confdefs.h >>conftest.$ac_ext |
|
|
9753 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9754 | /* end confdefs.h. */ |
|
|
9755 | #include <stdint.h> |
|
|
9756 | int |
|
|
9757 | main () |
|
|
9758 | { |
|
|
9759 | uint32_t dummy; |
|
|
9760 | ; |
|
|
9761 | return 0; |
|
|
9762 | } |
|
|
9763 | _ACEOF |
|
|
9764 | rm -f conftest.$ac_objext |
|
|
9765 | if { (ac_try="$ac_compile" |
|
|
9766 | case "(($ac_try" in |
|
|
9767 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9768 | *) ac_try_echo=$ac_try;; |
|
|
9769 | esac |
|
|
9770 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9771 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9772 | ac_status=$? |
|
|
9773 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9774 | rm -f conftest.er1 |
|
|
9775 | cat conftest.err >&5 |
|
|
9776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9777 | (exit $ac_status); } && { |
|
|
9778 | test -z "$ac_cxx_werror_flag" || |
|
|
9779 | test ! -s conftest.err |
|
|
9780 | } && test -s conftest.$ac_objext; then |
|
|
9781 | rxvt_cv_uint32_t=yes |
|
|
9782 | else |
|
|
9783 | echo "$as_me: failed program was:" >&5 |
|
|
9784 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9785 | |
|
|
9786 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
9787 | rxvt_cv_uint32_t="unsigned char" |
|
|
9788 | else |
|
|
9789 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
9790 | rxvt_cv_uint32_t="unsigned short" |
|
|
9791 | else |
|
|
9792 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
9793 | rxvt_cv_uint32_t="unsigned int" |
|
|
9794 | else |
|
|
9795 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
9796 | rxvt_cv_uint32_t="unsigned long" |
|
|
9797 | else |
|
|
9798 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
9799 | rxvt_cv_uint32_t="unsigned long long" |
|
|
9800 | else |
|
|
9801 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
|
|
9802 | fi |
|
|
9803 | fi |
|
|
9804 | fi |
|
|
9805 | fi |
|
|
9806 | fi |
|
|
9807 | fi |
|
|
9808 | |
|
|
9809 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9810 | fi |
|
|
9811 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5 |
|
|
9812 | echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; } |
|
|
9813 | if test x"$rxvt_cv_uint32_t" != xyes; then |
|
|
9814 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
|
|
9815 | else |
|
|
9816 | if test x"unsigned" = x; then |
|
|
9817 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
|
|
9818 | else |
|
|
9819 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
|
|
9820 | fi |
|
|
9821 | fi |
|
|
9822 | |
|
|
9823 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
|
|
9824 | rxvt_intp_define="#define intp_t int64_t" |
|
|
9825 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
|
|
9826 | else |
|
|
9827 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
|
|
9828 | rxvt_intp_define="#define intp_t int32_t" |
|
|
9829 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
|
|
9830 | else |
|
|
9831 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
|
|
9832 | rxvt_intp_define="#define intp_t int16_t" |
|
|
9833 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
|
|
9834 | else |
|
|
9835 | rxvt_intp_define="#error set intp_t" |
|
|
9836 | rxvt_u_intp_define="#error set u_intp_t" |
|
|
9837 | fi |
|
|
9838 | fi |
|
|
9839 | fi |
|
|
9840 | |
|
|
9841 | |
8421 | |
9842 | |
8422 | |
9843 | |
8423 | |
9844 | for ac_func in unsetenv |
8424 | for ac_func in unsetenv |
9845 | do |
8425 | do |
… | |
… | |
10086 | fi |
8666 | fi |
10087 | done |
8667 | done |
10088 | |
8668 | |
10089 | |
8669 | |
10090 | |
8670 | |
|
|
8671 | |
|
|
8672 | |
10091 | for ac_header in lastlog.h |
8673 | for ac_header in \ |
|
|
8674 | utmp.h \ |
|
|
8675 | utmpx.h \ |
|
|
8676 | lastlog.h \ |
|
|
8677 | |
10092 | do |
8678 | do |
10093 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8679 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10094 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8680 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10095 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8681 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10096 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8682 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
10227 | |
8813 | |
10228 | done |
8814 | done |
10229 | |
8815 | |
10230 | |
8816 | |
10231 | |
8817 | |
10232 | |
8818 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10233 | for ac_header in utmp.h |
|
|
10234 | do |
|
|
10235 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10236 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
10237 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8819 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10238 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8820 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10239 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8821 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10241 | fi |
8823 | fi |
10242 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
10243 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8824 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10244 | echo "${ECHO_T}$ac_res" >&6; } |
8825 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10245 | else |
8826 | else |
10246 | # Is the header compilable? |
8827 | # Is the header compilable? |
10247 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8828 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
10248 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8829 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
10249 | cat >conftest.$ac_ext <<_ACEOF |
8830 | cat >conftest.$ac_ext <<_ACEOF |
10250 | /* confdefs.h. */ |
8831 | /* confdefs.h. */ |
10251 | _ACEOF |
8832 | _ACEOF |
10252 | cat confdefs.h >>conftest.$ac_ext |
8833 | cat confdefs.h >>conftest.$ac_ext |
10253 | cat >>conftest.$ac_ext <<_ACEOF |
8834 | cat >>conftest.$ac_ext <<_ACEOF |
10254 | /* end confdefs.h. */ |
8835 | /* end confdefs.h. */ |
10255 | $ac_includes_default |
8836 | $ac_includes_default |
10256 | #include <$ac_header> |
8837 | #include <utmp.h> |
10257 | _ACEOF |
8838 | _ACEOF |
10258 | rm -f conftest.$ac_objext |
8839 | rm -f conftest.$ac_objext |
10259 | if { (ac_try="$ac_compile" |
8840 | if { (ac_try="$ac_compile" |
10260 | case "(($ac_try" in |
8841 | case "(($ac_try" in |
10261 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8842 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10283 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10284 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8865 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10285 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8866 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10286 | |
8867 | |
10287 | # Is the header present? |
8868 | # Is the header present? |
10288 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8869 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
10289 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8870 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
10290 | cat >conftest.$ac_ext <<_ACEOF |
8871 | cat >conftest.$ac_ext <<_ACEOF |
10291 | /* confdefs.h. */ |
8872 | /* confdefs.h. */ |
10292 | _ACEOF |
8873 | _ACEOF |
10293 | cat confdefs.h >>conftest.$ac_ext |
8874 | cat confdefs.h >>conftest.$ac_ext |
10294 | cat >>conftest.$ac_ext <<_ACEOF |
8875 | cat >>conftest.$ac_ext <<_ACEOF |
10295 | /* end confdefs.h. */ |
8876 | /* end confdefs.h. */ |
10296 | #include <$ac_header> |
8877 | #include <utmp.h> |
10297 | _ACEOF |
8878 | _ACEOF |
10298 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8879 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10299 | case "(($ac_try" in |
8880 | case "(($ac_try" in |
10300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10301 | *) ac_try_echo=$ac_try;; |
8882 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10324 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8905 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10325 | |
8906 | |
10326 | # So? What about this header? |
8907 | # So? What about this header? |
10327 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8908 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10328 | yes:no: ) |
8909 | yes:no: ) |
10329 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8910 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10330 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8911 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10331 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8912 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
10332 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8913 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
10333 | ac_header_preproc=yes |
8914 | ac_header_preproc=yes |
10334 | ;; |
8915 | ;; |
10335 | no:yes:* ) |
8916 | no:yes:* ) |
10336 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8917 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
10337 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8918 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
10338 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8919 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
10339 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8920 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
10340 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8921 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
10341 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8922 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
10342 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8923 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
10343 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8924 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10344 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8925 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
10345 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8926 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
10346 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8927 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
10347 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8928 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
10348 | |
8929 | |
10349 | ;; |
8930 | ;; |
10350 | esac |
8931 | esac |
10351 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8932 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10352 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8933 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10353 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8934 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10355 | else |
8936 | else |
10356 | eval "$as_ac_Header=\$ac_header_preproc" |
8937 | ac_cv_header_utmp_h=$ac_header_preproc |
10357 | fi |
8938 | fi |
10358 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
10359 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8939 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10360 | echo "${ECHO_T}$ac_res" >&6; } |
8940 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10361 | |
8941 | |
10362 | fi |
8942 | fi |
10363 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
8943 | if test $ac_cv_header_utmp_h = yes; then |
10364 | cat >>confdefs.h <<_ACEOF |
|
|
10365 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10366 | _ACEOF |
|
|
10367 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8944 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10368 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8945 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10369 | if test "${struct_utmp+set}" = set; then |
8946 | if test "${struct_utmp+set}" = set; then |
10370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8947 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10371 | else |
8948 | else |
10372 | cat >conftest.$ac_ext <<_ACEOF |
8949 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
10539 | |
9116 | |
10540 | fi |
9117 | fi |
10541 | |
9118 | |
10542 | fi |
9119 | fi |
10543 | |
9120 | |
10544 | done |
|
|
10545 | |
9121 | |
10546 | |
9122 | |
10547 | |
9123 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10548 | for ac_header in utmpx.h |
|
|
10549 | do |
|
|
10550 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10551 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
10552 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9124 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10553 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9125 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10554 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9126 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10556 | fi |
9128 | fi |
10557 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
10558 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9129 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10559 | echo "${ECHO_T}$ac_res" >&6; } |
9130 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10560 | else |
9131 | else |
10561 | # Is the header compilable? |
9132 | # Is the header compilable? |
10562 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9133 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
10563 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9134 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
10564 | cat >conftest.$ac_ext <<_ACEOF |
9135 | cat >conftest.$ac_ext <<_ACEOF |
10565 | /* confdefs.h. */ |
9136 | /* confdefs.h. */ |
10566 | _ACEOF |
9137 | _ACEOF |
10567 | cat confdefs.h >>conftest.$ac_ext |
9138 | cat confdefs.h >>conftest.$ac_ext |
10568 | cat >>conftest.$ac_ext <<_ACEOF |
9139 | cat >>conftest.$ac_ext <<_ACEOF |
10569 | /* end confdefs.h. */ |
9140 | /* end confdefs.h. */ |
10570 | $ac_includes_default |
9141 | $ac_includes_default |
10571 | #include <$ac_header> |
9142 | #include <utmpx.h> |
10572 | _ACEOF |
9143 | _ACEOF |
10573 | rm -f conftest.$ac_objext |
9144 | rm -f conftest.$ac_objext |
10574 | if { (ac_try="$ac_compile" |
9145 | if { (ac_try="$ac_compile" |
10575 | case "(($ac_try" in |
9146 | case "(($ac_try" in |
10576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10599 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9170 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10600 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9171 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10601 | |
9172 | |
10602 | # Is the header present? |
9173 | # Is the header present? |
10603 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9174 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
10604 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9175 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
10605 | cat >conftest.$ac_ext <<_ACEOF |
9176 | cat >conftest.$ac_ext <<_ACEOF |
10606 | /* confdefs.h. */ |
9177 | /* confdefs.h. */ |
10607 | _ACEOF |
9178 | _ACEOF |
10608 | cat confdefs.h >>conftest.$ac_ext |
9179 | cat confdefs.h >>conftest.$ac_ext |
10609 | cat >>conftest.$ac_ext <<_ACEOF |
9180 | cat >>conftest.$ac_ext <<_ACEOF |
10610 | /* end confdefs.h. */ |
9181 | /* end confdefs.h. */ |
10611 | #include <$ac_header> |
9182 | #include <utmpx.h> |
10612 | _ACEOF |
9183 | _ACEOF |
10613 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9184 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10614 | case "(($ac_try" in |
9185 | case "(($ac_try" in |
10615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10616 | *) ac_try_echo=$ac_try;; |
9187 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10639 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9210 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10640 | |
9211 | |
10641 | # So? What about this header? |
9212 | # So? What about this header? |
10642 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9213 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10643 | yes:no: ) |
9214 | yes:no: ) |
10644 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9215 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10645 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9216 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10646 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
9217 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
10647 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
9218 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
10648 | ac_header_preproc=yes |
9219 | ac_header_preproc=yes |
10649 | ;; |
9220 | ;; |
10650 | no:yes:* ) |
9221 | no:yes:* ) |
10651 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9222 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
10652 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9223 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
10653 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9224 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
10654 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9225 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
10655 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
9226 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
10656 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
9227 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
10657 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
9228 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
10658 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9229 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
10659 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9230 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
10660 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9231 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
10661 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9232 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
10662 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9233 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
10663 | |
9234 | |
10664 | ;; |
9235 | ;; |
10665 | esac |
9236 | esac |
10666 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9237 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10667 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9238 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9239 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10670 | else |
9241 | else |
10671 | eval "$as_ac_Header=\$ac_header_preproc" |
9242 | ac_cv_header_utmpx_h=$ac_header_preproc |
10672 | fi |
9243 | fi |
10673 | ac_res=`eval echo '${'$as_ac_Header'}'` |
|
|
10674 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9244 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10675 | echo "${ECHO_T}$ac_res" >&6; } |
9245 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10676 | |
9246 | |
10677 | fi |
9247 | fi |
10678 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
9248 | if test $ac_cv_header_utmpx_h = yes; then |
10679 | cat >>confdefs.h <<_ACEOF |
|
|
10680 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10681 | _ACEOF |
|
|
10682 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9249 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10683 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9250 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
10684 | if test "${struct_utmpx+set}" = set; then |
9251 | if test "${struct_utmpx+set}" = set; then |
10685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9252 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10686 | else |
9253 | else |
10687 | cat >conftest.$ac_ext <<_ACEOF |
9254 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
10854 | |
9421 | |
10855 | fi |
9422 | fi |
10856 | |
9423 | |
10857 | fi |
9424 | fi |
10858 | |
9425 | |
10859 | done |
|
|
10860 | |
9426 | |
10861 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9427 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10862 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9428 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
10863 | if test "${struct_lastlog+set}" = set; then |
9429 | if test "${struct_lastlog+set}" = set; then |
10864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9430 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
13275 | _ACEOF |
11841 | _ACEOF |
13276 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11842 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
13277 | rm -f conftest.sed |
11843 | rm -f conftest.sed |
13278 | |
11844 | |
13279 | |
11845 | |
13280 | |
|
|
13281 | |
|
|
13282 | |
|
|
13283 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13284 | include_stdint_h="#include <stdint.h>" |
|
|
13285 | else |
|
|
13286 | include_stdint_h="/* #include <stdint.h> */" |
|
|
13287 | fi |
|
|
13288 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13289 | include_stdarg_h="#include <cstdarg>" |
|
|
13290 | else |
|
|
13291 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
13292 | fi |
|
|
13293 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13294 | include_stdlib_h="#include <cstdlib>" |
|
|
13295 | else |
|
|
13296 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
13297 | fi |
|
|
13298 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13299 | include_unistd_h="#include <unistd.h>" |
|
|
13300 | else |
|
|
13301 | include_unistd_h="/* #include <unistd.h> */" |
|
|
13302 | fi |
|
|
13303 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13304 | include_string_h="#include <cstring>" |
|
|
13305 | else |
|
|
13306 | include_string_h="/* #include <cstring> */" |
|
|
13307 | fi |
|
|
13308 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13309 | include_fcntl_h="#include <fcntl.h>" |
|
|
13310 | else |
|
|
13311 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
13312 | fi |
|
|
13313 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13314 | include_util_h="#include <util.h>" |
|
|
13315 | else |
|
|
13316 | include_util_h="/* #include <util.h> */" |
|
|
13317 | fi |
|
|
13318 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13319 | include_assert_h="#include <assert.h>" |
|
|
13320 | else |
|
|
13321 | include_assert_h="/* #include <assert.h> */" |
|
|
13322 | fi |
|
|
13323 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13324 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
13325 | else |
|
|
13326 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
13327 | fi |
|
|
13328 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13329 | include_sys_select_h="#include <sys/select.h>" |
|
|
13330 | else |
|
|
13331 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
13332 | fi |
|
|
13333 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13334 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
13335 | else |
|
|
13336 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
13337 | fi |
|
|
13338 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13339 | include_sys_time_h="#include <sys/time.h>" |
|
|
13340 | else |
|
|
13341 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
13342 | fi |
|
|
13343 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
13344 | include_time_h="#include <time.h>" |
|
|
13345 | else |
|
|
13346 | include_time_h="/* #include <time.h> */" |
|
|
13347 | fi |
|
|
13348 | |
|
|
13349 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11846 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
13350 | |
11847 | |
13351 | cat >confcache <<\_ACEOF |
11848 | cat >confcache <<\_ACEOF |
13352 | # This file is a shell script that caches the results of configure |
11849 | # This file is a shell script that caches the results of configure |
13353 | # tests run on this system so they can be shared between configure |
11850 | # tests run on this system so they can be shared between configure |
13354 | # scripts and configure runs, see configure's option --config-cache. |
11851 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
13903 | case $ac_config_target in |
12400 | case $ac_config_target in |
13904 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12401 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
13905 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12402 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
13906 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12403 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
13907 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12404 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
13908 | "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
13909 | |
12405 | |
13910 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12406 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
13911 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12407 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
13912 | { (exit 1); exit 1; }; };; |
12408 | { (exit 1); exit 1; }; };; |
13913 | esac |
12409 | esac |
… | |
… | |
14038 | X_CFLAGS!$X_CFLAGS$ac_delim |
12534 | X_CFLAGS!$X_CFLAGS$ac_delim |
14039 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
12535 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14040 | X_LIBS!$X_LIBS$ac_delim |
12536 | X_LIBS!$X_LIBS$ac_delim |
14041 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
12537 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14042 | afterimage_config!$afterimage_config$ac_delim |
12538 | afterimage_config!$afterimage_config$ac_delim |
14043 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
|
|
14044 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
|
|
14045 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
|
|
14046 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
|
|
14047 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
|
|
14048 | rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim |
|
|
14049 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
12539 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
14050 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
12540 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14051 | PERL!$PERL$ac_delim |
12541 | PERL!$PERL$ac_delim |
14052 | PERLLIB!$PERLLIB$ac_delim |
12542 | PERLLIB!$PERLLIB$ac_delim |
14053 | PERLFLAGS!$PERLFLAGS$ac_delim |
12543 | PERLFLAGS!$PERLFLAGS$ac_delim |
14054 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12544 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14055 | IF_PERL!$IF_PERL$ac_delim |
12545 | IF_PERL!$IF_PERL$ac_delim |
14056 | PERL_O!$PERL_O$ac_delim |
12546 | PERL_O!$PERL_O$ac_delim |
14057 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12547 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14058 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12548 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14059 | include_stdint_h!$include_stdint_h$ac_delim |
12549 | LIBOBJS!$LIBOBJS$ac_delim |
14060 | include_stdarg_h!$include_stdarg_h$ac_delim |
12550 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14061 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14062 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14063 | include_string_h!$include_string_h$ac_delim |
|
|
14064 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14065 | include_util_h!$include_util_h$ac_delim |
|
|
14066 | include_assert_h!$include_assert_h$ac_delim |
|
|
14067 | _ACEOF |
12551 | _ACEOF |
14068 | |
12552 | |
14069 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
12553 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
14070 | break |
12554 | break |
14071 | elif $ac_last_try; then |
12555 | elif $ac_last_try; then |
14072 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12556 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14073 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12557 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14074 | { (exit 1); exit 1; }; } |
12558 | { (exit 1); exit 1; }; } |
… | |
… | |
14083 | ac_eof=`expr $ac_eof + 1` |
12567 | ac_eof=`expr $ac_eof + 1` |
14084 | fi |
12568 | fi |
14085 | |
12569 | |
14086 | cat >>$CONFIG_STATUS <<_ACEOF |
12570 | cat >>$CONFIG_STATUS <<_ACEOF |
14087 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
12571 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
14088 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
14089 | _ACEOF |
|
|
14090 | sed ' |
|
|
14091 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
14092 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
14093 | :n |
|
|
14094 | t n |
|
|
14095 | s/'"$ac_delim"'$/,g/; t |
|
|
14096 | s/$/\\/; p |
|
|
14097 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
14098 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
14099 | rm -f conf$$subs.sed |
|
|
14100 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14101 | CEOF$ac_eof |
|
|
14102 | _ACEOF |
|
|
14103 | |
|
|
14104 | |
|
|
14105 | ac_delim='%!_!# ' |
|
|
14106 | for ac_last_try in false false false false false :; do |
|
|
14107 | cat >conf$$subs.sed <<_ACEOF |
|
|
14108 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
|
|
14109 | include_sys_select_h!$include_sys_select_h$ac_delim |
|
|
14110 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
14111 | include_sys_time_h!$include_sys_time_h$ac_delim |
|
|
14112 | include_time_h!$include_time_h$ac_delim |
|
|
14113 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
14114 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
14115 | _ACEOF |
|
|
14116 | |
|
|
14117 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then |
|
|
14118 | break |
|
|
14119 | elif $ac_last_try; then |
|
|
14120 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
14121 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
14122 | { (exit 1); exit 1; }; } |
|
|
14123 | else |
|
|
14124 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
14125 | fi |
|
|
14126 | done |
|
|
14127 | |
|
|
14128 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
14129 | if test -n "$ac_eof"; then |
|
|
14130 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
14131 | ac_eof=`expr $ac_eof + 1` |
|
|
14132 | fi |
|
|
14133 | |
|
|
14134 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14135 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
14136 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
12572 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14137 | _ACEOF |
12573 | _ACEOF |
14138 | sed ' |
12574 | sed ' |
14139 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
12575 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14140 | s/^/s,@/; s/!/@,|#_!!_#|/ |
12576 | s/^/s,@/; s/!/@,|#_!!_#|/ |
… | |
… | |
14393 | s&@builddir@&$ac_builddir&;t t |
12829 | s&@builddir@&$ac_builddir&;t t |
14394 | s&@abs_builddir@&$ac_abs_builddir&;t t |
12830 | s&@abs_builddir@&$ac_abs_builddir&;t t |
14395 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
12831 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14396 | s&@INSTALL@&$ac_INSTALL&;t t |
12832 | s&@INSTALL@&$ac_INSTALL&;t t |
14397 | $ac_datarootdir_hack |
12833 | $ac_datarootdir_hack |
14398 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
12834 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
14399 | |
12835 | |
14400 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
12836 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14401 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
12837 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14402 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
12838 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14403 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
12839 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |