… | |
… | |
658 | host_cpu |
658 | host_cpu |
659 | host_vendor |
659 | host_vendor |
660 | host_os |
660 | host_os |
661 | VERSION |
661 | VERSION |
662 | DATE |
662 | DATE |
663 | LSMDATE |
|
|
664 | LIBVERSION |
|
|
665 | CC |
663 | CC |
666 | CFLAGS |
664 | CFLAGS |
667 | LDFLAGS |
665 | LDFLAGS |
668 | CPPFLAGS |
666 | CPPFLAGS |
669 | ac_ct_CC |
667 | ac_ct_CC |
… | |
… | |
677 | INSTALL_SCRIPT |
675 | INSTALL_SCRIPT |
678 | INSTALL_DATA |
676 | INSTALL_DATA |
679 | GREP |
677 | GREP |
680 | EGREP |
678 | EGREP |
681 | LINKER |
679 | LINKER |
682 | INSTALL_LIBRXVT |
|
|
683 | RXVTNAME |
680 | RXVTNAME |
684 | CXXCPP |
681 | CXXCPP |
685 | TIC |
682 | TIC |
686 | XMKMF |
683 | XMKMF |
687 | X_CFLAGS |
684 | X_CFLAGS |
688 | X_PRE_LIBS |
685 | X_PRE_LIBS |
689 | X_LIBS |
686 | X_LIBS |
690 | X_EXTRA_LIBS |
687 | X_EXTRA_LIBS |
691 | afterimage_config |
688 | afterimage_config |
692 | rxvt_int16_typedef |
|
|
693 | rxvt_uint16_typedef |
|
|
694 | rxvt_int32_typedef |
|
|
695 | rxvt_uint32_typedef |
|
|
696 | rxvt_intp_define |
|
|
697 | rxvt_u_intp_define |
|
|
698 | PKG_CONFIG |
689 | PKG_CONFIG |
699 | XFT_CONFIG |
690 | XFT_CONFIG |
700 | PERL |
691 | PERL |
701 | PERLLIB |
692 | PERLLIB |
702 | PERLFLAGS |
693 | PERLFLAGS |
… | |
… | |
704 | IF_PERL |
695 | IF_PERL |
705 | PERL_O |
696 | PERL_O |
706 | AFTERIMAGE_CFLAGS |
697 | AFTERIMAGE_CFLAGS |
707 | AFTERIMAGE_LIBS |
698 | AFTERIMAGE_LIBS |
708 | include_stdint_h |
699 | include_stdint_h |
709 | include_stdarg_h |
|
|
710 | include_stdlib_h |
|
|
711 | include_unistd_h |
|
|
712 | include_string_h |
|
|
713 | include_fcntl_h |
|
|
714 | include_util_h |
|
|
715 | include_assert_h |
|
|
716 | include_sys_ioctl_h |
700 | include_sys_ioctl_h |
717 | include_sys_select_h |
|
|
718 | include_sys_strredir_h |
701 | include_sys_strredir_h |
719 | include_sys_time_h |
|
|
720 | include_time_h |
|
|
721 | LIBOBJS |
702 | LIBOBJS |
722 | LTLIBOBJS' |
703 | LTLIBOBJS' |
723 | ac_subst_files='' |
704 | ac_subst_files='' |
724 | ac_precious_vars='build_alias |
705 | ac_precious_vars='build_alias |
725 | host_alias |
706 | host_alias |
… | |
… | |
1316 | Optional Features: |
1297 | Optional Features: |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1298 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1299 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1319 | --enable-everything enable standard non-multichoice features |
1300 | --enable-everything enable standard non-multichoice features |
1320 | NOTE: this option is order dependent |
1301 | NOTE: this option is order dependent |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1302 | --enable-warnings turn on g++ warnings |
1323 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1303 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1324 | --enable-combining enable composition of base and combining characters |
1304 | --enable-combining enable composition of base and combining characters |
1325 | --enable-xft enable xft support on systems that have it |
1305 | --enable-xft enable xft support on systems that have it |
1326 | --enable-font-styles enable bold and italic support |
1306 | --enable-font-styles enable bold and italic support |
… | |
… | |
1328 | --enable-transparency enable transparent backgrounds |
1308 | --enable-transparency enable transparent backgrounds |
1329 | --enable-fading enable colors fading when off focus |
1309 | --enable-fading enable colors fading when off focus |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1310 | --enable-rxvt-scroll enable rxvt style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1311 | --enable-next-scroll enable NeXT style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1312 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1313 | --enable-plain-scroll enable plain style scrollbar |
1333 | --enable-perl enable embedded perl interpreter |
1314 | --enable-perl enable embedded perl interpreter |
1334 | --enable-plain-scroll enable plain style scrollbar |
|
|
1335 | --enable-xim XIM (X Input Method) protocol support |
1315 | --enable-xim XIM (X Input Method) protocol support |
1336 | --disable-backspace-key disable handling of the backspace key |
1316 | --disable-backspace-key disable handling of the backspace key |
1337 | --disable-delete-key disable handling of the delete key |
1317 | --disable-delete-key disable handling of the delete key |
1338 | --disable-resources disable all resource checking |
1318 | --disable-resources disable all resource checking |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1319 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
… | |
… | |
1927 | echo "configuring for rxvt $VERSION" |
1907 | echo "configuring for rxvt $VERSION" |
1928 | echo "" |
1908 | echo "" |
1929 | |
1909 | |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
1910 | orig_CXXFLAGS="$CXXFLAGS" |
1931 | |
1911 | |
1932 | |
|
|
1933 | ac_ext=c |
1912 | ac_ext=c |
1934 | ac_cpp='$CPP $CPPFLAGS' |
1913 | ac_cpp='$CPP $CPPFLAGS' |
1935 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1914 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1936 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1915 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1937 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1916 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3715 | echo "${ECHO_T}no" >&6; } |
3694 | echo "${ECHO_T}no" >&6; } |
3716 | fi |
3695 | fi |
3717 | rm -f conftest* |
3696 | rm -f conftest* |
3718 | |
3697 | |
3719 | |
3698 | |
|
|
3699 | |
|
|
3700 | cat >>confdefs.h <<\_ACEOF |
|
|
3701 | #define _GNU_SOURCE 1 |
|
|
3702 | _ACEOF |
|
|
3703 | |
|
|
3704 | |
3720 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3705 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3706 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | if test "${ac_cv_search_strerror+set}" = set; then |
3707 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3708 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | else |
3709 | else |
… | |
… | |
3871 | LINKER=$LINKER |
3856 | LINKER=$LINKER |
3872 | |
3857 | |
3873 | |
3858 | |
3874 | if test -z "$orig_CXXFLAGS"; then |
3859 | if test -z "$orig_CXXFLAGS"; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3860 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3861 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3862 | cat >conftest.$ac_ext <<_ACEOF |
3878 | /* confdefs.h. */ |
3863 | /* confdefs.h. */ |
3879 | _ACEOF |
3864 | _ACEOF |
3880 | cat confdefs.h >>conftest.$ac_ext |
3865 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
3866 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3919 | CXXFLAGS="-O" |
3904 | CXXFLAGS="-O" |
3920 | fi |
3905 | fi |
3921 | CFLAGS="$CXXFLAGS" |
3906 | CFLAGS="$CXXFLAGS" |
3922 | fi |
3907 | fi |
3923 | |
3908 | |
3924 | |
|
|
3925 | cat >>confdefs.h <<\_ACEOF |
|
|
3926 | #define _GNU_SOURCE 1 |
|
|
3927 | _ACEOF |
|
|
3928 | |
|
|
3929 | |
|
|
3930 | case $host in |
3909 | case $host in |
3931 | *-*-solaris* ) |
3910 | *-*-solaris* ) |
3932 | |
3911 | |
3933 | cat >>confdefs.h <<\_ACEOF |
3912 | cat >>confdefs.h <<\_ACEOF |
3934 | #define _XOPEN_SOURCE 500 |
3913 | #define _XOPEN_SOURCE 500 |
3935 | _ACEOF |
3914 | _ACEOF |
3936 | |
3915 | |
3937 | ;; |
3916 | ;; |
3938 | esac |
3917 | esac |
3939 | |
|
|
3940 | |
3918 | |
3941 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3919 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3942 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3920 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3943 | if test "${ac_cv_func_setlocale+set}" = set; then |
3921 | if test "${ac_cv_func_setlocale+set}" = set; then |
3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3922 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4417 | support_iso14755=yes |
4395 | support_iso14755=yes |
4418 | support_styles=yes |
4396 | support_styles=yes |
4419 | support_perl=yes |
4397 | support_perl=yes |
4420 | codesets=all |
4398 | codesets=all |
4421 | |
4399 | |
4422 | |
|
|
4423 | if test "x$enable_shared" = xyes; then |
|
|
4424 | |
|
|
4425 | cat >>confdefs.h <<\_ACEOF |
|
|
4426 | #define LIBRXVT 1 |
|
|
4427 | _ACEOF |
|
|
4428 | |
|
|
4429 | INSTALL_LIBRXVT=yes |
|
|
4430 | fi |
|
|
4431 | |
4400 | |
4432 | |
4401 | |
4433 | # Check whether --enable-everything was given. |
4402 | # Check whether --enable-everything was given. |
4434 | if test "${enable_everything+set}" = set; then |
4403 | if test "${enable_everything+set}" = set; then |
4435 | enableval=$enable_everything; |
4404 | enableval=$enable_everything; |
… | |
… | |
4641 | support_scroll_xterm=$enableval |
4610 | support_scroll_xterm=$enableval |
4642 | fi |
4611 | fi |
4643 | fi |
4612 | fi |
4644 | |
4613 | |
4645 | |
4614 | |
|
|
4615 | # Check whether --enable-plain-scroll was given. |
|
|
4616 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4617 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4618 | support_scroll_plain=$enableval |
|
|
4619 | fi |
|
|
4620 | fi |
|
|
4621 | |
|
|
4622 | |
4646 | # Check whether --enable-perl was given. |
4623 | # Check whether --enable-perl was given. |
4647 | if test "${enable_perl+set}" = set; then |
4624 | if test "${enable_perl+set}" = set; then |
4648 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4625 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4649 | support_perl=$enableval |
4626 | support_perl=$enableval |
4650 | fi |
|
|
4651 | fi |
|
|
4652 | |
|
|
4653 | |
|
|
4654 | # Check whether --enable-plain-scroll was given. |
|
|
4655 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4656 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4657 | support_scroll_plain=$enableval |
|
|
4658 | fi |
4627 | fi |
4659 | fi |
4628 | fi |
4660 | |
4629 | |
4661 | |
4630 | |
4662 | |
4631 | |
… | |
… | |
4892 | fi |
4861 | fi |
4893 | fi |
4862 | fi |
4894 | |
4863 | |
4895 | |
4864 | |
4896 | |
4865 | |
|
|
4866 | LIBEV_M4_AVOID_LIBRT=1 |
4897 | |
4867 | |
4898 | ac_ext=cpp |
4868 | ac_ext=cpp |
4899 | ac_cpp='$CXXCPP $CPPFLAGS' |
4869 | ac_cpp='$CXXCPP $CPPFLAGS' |
4900 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4870 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4901 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
4871 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
5367 | |
5337 | |
5368 | |
5338 | |
5369 | |
5339 | |
5370 | |
5340 | |
5371 | |
5341 | |
|
|
5342 | |
|
|
5343 | |
|
|
5344 | |
5372 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
5345 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
5373 | do |
5346 | do |
5374 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5347 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5375 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5348 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5376 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5349 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5377 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5350 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5510 | |
5483 | |
5511 | |
5484 | |
5512 | |
5485 | |
5513 | |
5486 | |
5514 | |
5487 | |
|
|
5488 | |
|
|
5489 | |
|
|
5490 | |
5515 | for ac_func in epoll_ctl kqueue port_create |
5491 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5516 | do |
5492 | do |
5517 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5493 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5518 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5494 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5519 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5495 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5520 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5496 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5689 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5665 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5690 | if test $ac_cv_func_clock_gettime = yes; then |
5666 | if test $ac_cv_func_clock_gettime = yes; then |
5691 | : |
5667 | : |
5692 | else |
5668 | else |
5693 | |
5669 | |
|
|
5670 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5694 | |
5671 | |
5695 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5672 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5696 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5673 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5697 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5674 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5675 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
5760 | |
5737 | |
5761 | LIBS="-lrt $LIBS" |
5738 | LIBS="-lrt $LIBS" |
5762 | |
5739 | |
5763 | fi |
5740 | fi |
5764 | |
5741 | |
|
|
5742 | unset ac_cv_func_clock_gettime |
5765 | |
5743 | |
5766 | for ac_func in clock_gettime |
5744 | for ac_func in clock_gettime |
5767 | do |
5745 | do |
5768 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5746 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5769 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5747 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
5854 | _ACEOF |
5832 | _ACEOF |
5855 | |
5833 | |
5856 | fi |
5834 | fi |
5857 | done |
5835 | done |
5858 | |
5836 | |
|
|
5837 | fi |
5859 | |
5838 | |
5860 | fi |
5839 | fi |
5861 | |
5840 | |
5862 | |
5841 | |
5863 | |
5842 | |
… | |
… | |
5974 | echo "${ECHO_T}$TIC" >&6; } |
5953 | echo "${ECHO_T}$TIC" >&6; } |
5975 | else |
5954 | else |
5976 | { echo "$as_me:$LINENO: result: no" >&5 |
5955 | { echo "$as_me:$LINENO: result: no" >&5 |
5977 | echo "${ECHO_T}no" >&6; } |
5956 | echo "${ECHO_T}no" >&6; } |
5978 | fi |
5957 | fi |
5979 | |
|
|
5980 | |
|
|
5981 | |
5958 | |
5982 | |
5959 | |
5983 | |
5960 | |
5984 | { echo "$as_me:$LINENO: checking for X" >&5 |
5961 | { echo "$as_me:$LINENO: checking for X" >&5 |
5985 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5962 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
… | |
… | |
7372 | echo "${ECHO_T}no" >&6; } |
7349 | echo "${ECHO_T}no" >&6; } |
7373 | fi |
7350 | fi |
7374 | fi |
7351 | fi |
7375 | fi |
7352 | fi |
7376 | |
7353 | |
7377 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|
|
7378 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
|
|
7379 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|
|
7380 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7381 | else |
|
|
7382 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7383 | /* confdefs.h. */ |
|
|
7384 | _ACEOF |
|
|
7385 | cat confdefs.h >>conftest.$ac_ext |
|
|
7386 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7387 | /* end confdefs.h. */ |
|
|
7388 | #include <sys/types.h> |
|
|
7389 | #include <sys/wait.h> |
|
|
7390 | #ifndef WEXITSTATUS |
|
|
7391 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|
|
7392 | #endif |
|
|
7393 | #ifndef WIFEXITED |
|
|
7394 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
|
7395 | #endif |
|
|
7396 | |
|
|
7397 | int |
|
|
7398 | main () |
|
|
7399 | { |
|
|
7400 | int s; |
|
|
7401 | wait (&s); |
|
|
7402 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
7403 | ; |
|
|
7404 | return 0; |
|
|
7405 | } |
|
|
7406 | _ACEOF |
|
|
7407 | rm -f conftest.$ac_objext |
|
|
7408 | if { (ac_try="$ac_compile" |
|
|
7409 | case "(($ac_try" in |
|
|
7410 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7411 | *) ac_try_echo=$ac_try;; |
|
|
7412 | esac |
|
|
7413 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7414 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7415 | ac_status=$? |
|
|
7416 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7417 | rm -f conftest.er1 |
|
|
7418 | cat conftest.err >&5 |
|
|
7419 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7420 | (exit $ac_status); } && { |
|
|
7421 | test -z "$ac_cxx_werror_flag" || |
|
|
7422 | test ! -s conftest.err |
|
|
7423 | } && test -s conftest.$ac_objext; then |
|
|
7424 | ac_cv_header_sys_wait_h=yes |
|
|
7425 | else |
|
|
7426 | echo "$as_me: failed program was:" >&5 |
|
|
7427 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7428 | |
|
|
7429 | ac_cv_header_sys_wait_h=no |
|
|
7430 | fi |
|
|
7431 | |
|
|
7432 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7433 | fi |
|
|
7434 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|
|
7435 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|
|
7436 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
7437 | |
|
|
7438 | cat >>confdefs.h <<\_ACEOF |
|
|
7439 | #define HAVE_SYS_WAIT_H 1 |
|
|
7440 | _ACEOF |
|
|
7441 | |
|
|
7442 | fi |
|
|
7443 | |
|
|
7444 | |
|
|
7445 | |
|
|
7446 | |
|
|
7447 | |
|
|
7448 | |
|
|
7449 | |
|
|
7450 | |
|
|
7451 | |
|
|
7452 | |
|
|
7453 | |
7354 | |
7454 | |
7355 | |
7455 | |
7356 | |
7456 | |
7357 | |
7457 | |
7358 | |
7458 | |
7359 | |
7459 | |
7360 | |
7460 | |
7361 | |
7461 | for ac_header in \ |
7362 | for ac_header in \ |
7462 | assert.h \ |
|
|
7463 | fcntl.h \ |
|
|
7464 | stdarg.h \ |
|
|
7465 | stdlib.h \ |
|
|
7466 | string.h \ |
|
|
7467 | termios.h \ |
|
|
7468 | unistd.h \ |
|
|
7469 | sys/byteorder.h \ |
7363 | sys/byteorder.h \ |
7470 | sys/ioctl.h \ |
7364 | sys/ioctl.h \ |
7471 | sys/select.h \ |
|
|
7472 | sys/sockio.h \ |
7365 | sys/sockio.h \ |
7473 | sys/strredir.h \ |
7366 | sys/strredir.h \ |
7474 | sys/time.h \ |
|
|
7475 | stdint.h \ |
7367 | stdint.h \ |
7476 | wchar.h \ |
7368 | wchar.h \ |
7477 | cwchar \ |
7369 | cwchar \ |
7478 | clocale \ |
7370 | clocale \ |
7479 | |
7371 | |
… | |
… | |
7614 | fi |
7506 | fi |
7615 | |
7507 | |
7616 | done |
7508 | done |
7617 | |
7509 | |
7618 | |
7510 | |
7619 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7620 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
|
|
7621 | if test "${ac_cv_header_time+set}" = set; then |
|
|
7622 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7623 | else |
|
|
7624 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7625 | /* confdefs.h. */ |
|
|
7626 | _ACEOF |
|
|
7627 | cat confdefs.h >>conftest.$ac_ext |
|
|
7628 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7629 | /* end confdefs.h. */ |
|
|
7630 | #include <sys/types.h> |
|
|
7631 | #include <sys/time.h> |
|
|
7632 | #include <time.h> |
|
|
7633 | |
|
|
7634 | int |
|
|
7635 | main () |
|
|
7636 | { |
|
|
7637 | if ((struct tm *) 0) |
|
|
7638 | return 0; |
|
|
7639 | ; |
|
|
7640 | return 0; |
|
|
7641 | } |
|
|
7642 | _ACEOF |
|
|
7643 | rm -f conftest.$ac_objext |
|
|
7644 | if { (ac_try="$ac_compile" |
|
|
7645 | case "(($ac_try" in |
|
|
7646 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7647 | *) ac_try_echo=$ac_try;; |
|
|
7648 | esac |
|
|
7649 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7650 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7651 | ac_status=$? |
|
|
7652 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7653 | rm -f conftest.er1 |
|
|
7654 | cat conftest.err >&5 |
|
|
7655 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7656 | (exit $ac_status); } && { |
|
|
7657 | test -z "$ac_cxx_werror_flag" || |
|
|
7658 | test ! -s conftest.err |
|
|
7659 | } && test -s conftest.$ac_objext; then |
|
|
7660 | ac_cv_header_time=yes |
|
|
7661 | else |
|
|
7662 | echo "$as_me: failed program was:" >&5 |
|
|
7663 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7664 | |
|
|
7665 | ac_cv_header_time=no |
|
|
7666 | fi |
|
|
7667 | |
|
|
7668 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7669 | fi |
|
|
7670 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
7671 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
|
|
7672 | if test $ac_cv_header_time = yes; then |
|
|
7673 | |
|
|
7674 | cat >>confdefs.h <<\_ACEOF |
|
|
7675 | #define TIME_WITH_SYS_TIME 1 |
|
|
7676 | _ACEOF |
|
|
7677 | |
|
|
7678 | fi |
|
|
7679 | |
|
|
7680 | |
|
|
7681 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7511 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
7682 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
7512 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
7683 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7513 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7684 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7514 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7685 | else |
7515 | else |
… | |
… | |
7689 | cat confdefs.h >>conftest.$ac_ext |
7519 | cat confdefs.h >>conftest.$ac_ext |
7690 | cat >>conftest.$ac_ext <<_ACEOF |
7520 | cat >>conftest.$ac_ext <<_ACEOF |
7691 | /* end confdefs.h. */ |
7521 | /* end confdefs.h. */ |
7692 | #include <stdio.h> |
7522 | #include <stdio.h> |
7693 | #include <sys/ioctl.h> |
7523 | #include <sys/ioctl.h> |
7694 | #ifdef HAVE_TERMIOS_H |
|
|
7695 | #include <termios.h> |
7524 | #include <termios.h> |
7696 | #endif |
7525 | |
7697 | int |
7526 | int |
7698 | main () |
7527 | main () |
7699 | { |
7528 | { |
7700 | int a = ECHO; |
7529 | int a = ECHO; |
7701 | ; |
7530 | ; |
… | |
… | |
7850 | cat >>confdefs.h <<\_ACEOF |
7679 | cat >>confdefs.h <<\_ACEOF |
7851 | #define XLIB_ILLEGAL_ACCESS 1 |
7680 | #define XLIB_ILLEGAL_ACCESS 1 |
7852 | _ACEOF |
7681 | _ACEOF |
7853 | |
7682 | |
7854 | fi |
7683 | fi |
7855 | |
|
|
7856 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
|
7857 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
|
|
7858 | if test "${ac_cv_c_const+set}" = set; then |
|
|
7859 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7860 | else |
|
|
7861 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7862 | /* confdefs.h. */ |
|
|
7863 | _ACEOF |
|
|
7864 | cat confdefs.h >>conftest.$ac_ext |
|
|
7865 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7866 | /* end confdefs.h. */ |
|
|
7867 | |
|
|
7868 | int |
|
|
7869 | main () |
|
|
7870 | { |
|
|
7871 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
7872 | #ifndef __cplusplus |
|
|
7873 | /* Ultrix mips cc rejects this. */ |
|
|
7874 | typedef int charset[2]; |
|
|
7875 | const charset cs; |
|
|
7876 | /* SunOS 4.1.1 cc rejects this. */ |
|
|
7877 | char const *const *pcpcc; |
|
|
7878 | char **ppc; |
|
|
7879 | /* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
7880 | struct point {int x, y;}; |
|
|
7881 | static struct point const zero = {0,0}; |
|
|
7882 | /* AIX XL C 1.02.0.0 rejects this. |
|
|
7883 | It does not let you subtract one const X* pointer from another in |
|
|
7884 | an arm of an if-expression whose if-part is not a constant |
|
|
7885 | expression */ |
|
|
7886 | const char *g = "string"; |
|
|
7887 | pcpcc = &g + (g ? g-g : 0); |
|
|
7888 | /* HPUX 7.0 cc rejects these. */ |
|
|
7889 | ++pcpcc; |
|
|
7890 | ppc = (char**) pcpcc; |
|
|
7891 | pcpcc = (char const *const *) ppc; |
|
|
7892 | { /* SCO 3.2v4 cc rejects this. */ |
|
|
7893 | char *t; |
|
|
7894 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
7895 | |
|
|
7896 | *t++ = 0; |
|
|
7897 | if (s) return 0; |
|
|
7898 | } |
|
|
7899 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
7900 | int x[] = {25, 17}; |
|
|
7901 | const int *foo = &x[0]; |
|
|
7902 | ++foo; |
|
|
7903 | } |
|
|
7904 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
7905 | typedef const int *iptr; |
|
|
7906 | iptr p = 0; |
|
|
7907 | ++p; |
|
|
7908 | } |
|
|
7909 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
7910 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
7911 | struct s { int j; const int *ap[3]; }; |
|
|
7912 | struct s *b; b->j = 5; |
|
|
7913 | } |
|
|
7914 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
7915 | const int foo = 10; |
|
|
7916 | if (!foo) return 0; |
|
|
7917 | } |
|
|
7918 | return !cs[0] && !zero.x; |
|
|
7919 | #endif |
|
|
7920 | |
|
|
7921 | ; |
|
|
7922 | return 0; |
|
|
7923 | } |
|
|
7924 | _ACEOF |
|
|
7925 | rm -f conftest.$ac_objext |
|
|
7926 | if { (ac_try="$ac_compile" |
|
|
7927 | case "(($ac_try" in |
|
|
7928 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7929 | *) ac_try_echo=$ac_try;; |
|
|
7930 | esac |
|
|
7931 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7932 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7933 | ac_status=$? |
|
|
7934 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7935 | rm -f conftest.er1 |
|
|
7936 | cat conftest.err >&5 |
|
|
7937 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7938 | (exit $ac_status); } && { |
|
|
7939 | test -z "$ac_cxx_werror_flag" || |
|
|
7940 | test ! -s conftest.err |
|
|
7941 | } && test -s conftest.$ac_objext; then |
|
|
7942 | ac_cv_c_const=yes |
|
|
7943 | else |
|
|
7944 | echo "$as_me: failed program was:" >&5 |
|
|
7945 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7946 | |
|
|
7947 | ac_cv_c_const=no |
|
|
7948 | fi |
|
|
7949 | |
|
|
7950 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7951 | fi |
|
|
7952 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
|
7953 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
|
|
7954 | if test $ac_cv_c_const = no; then |
|
|
7955 | |
|
|
7956 | cat >>confdefs.h <<\_ACEOF |
|
|
7957 | #define const |
|
|
7958 | _ACEOF |
|
|
7959 | |
|
|
7960 | fi |
|
|
7961 | |
|
|
7962 | { echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
7963 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
|
|
7964 | if test "${ac_cv_c_inline+set}" = set; then |
|
|
7965 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7966 | else |
|
|
7967 | ac_cv_c_inline=no |
|
|
7968 | for ac_kw in inline __inline__ __inline; do |
|
|
7969 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7970 | /* confdefs.h. */ |
|
|
7971 | _ACEOF |
|
|
7972 | cat confdefs.h >>conftest.$ac_ext |
|
|
7973 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7974 | /* end confdefs.h. */ |
|
|
7975 | #ifndef __cplusplus |
|
|
7976 | typedef int foo_t; |
|
|
7977 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
7978 | $ac_kw foo_t foo () {return 0; } |
|
|
7979 | #endif |
|
|
7980 | |
|
|
7981 | _ACEOF |
|
|
7982 | rm -f conftest.$ac_objext |
|
|
7983 | if { (ac_try="$ac_compile" |
|
|
7984 | case "(($ac_try" in |
|
|
7985 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7986 | *) ac_try_echo=$ac_try;; |
|
|
7987 | esac |
|
|
7988 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7989 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7990 | ac_status=$? |
|
|
7991 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7992 | rm -f conftest.er1 |
|
|
7993 | cat conftest.err >&5 |
|
|
7994 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7995 | (exit $ac_status); } && { |
|
|
7996 | test -z "$ac_cxx_werror_flag" || |
|
|
7997 | test ! -s conftest.err |
|
|
7998 | } && test -s conftest.$ac_objext; then |
|
|
7999 | ac_cv_c_inline=$ac_kw |
|
|
8000 | else |
|
|
8001 | echo "$as_me: failed program was:" >&5 |
|
|
8002 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8003 | |
|
|
8004 | |
|
|
8005 | fi |
|
|
8006 | |
|
|
8007 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8008 | test "$ac_cv_c_inline" != no && break |
|
|
8009 | done |
|
|
8010 | |
|
|
8011 | fi |
|
|
8012 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
8013 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
|
|
8014 | |
|
|
8015 | |
|
|
8016 | case $ac_cv_c_inline in |
|
|
8017 | inline | yes) ;; |
|
|
8018 | *) |
|
|
8019 | case $ac_cv_c_inline in |
|
|
8020 | no) ac_val=;; |
|
|
8021 | *) ac_val=$ac_cv_c_inline;; |
|
|
8022 | esac |
|
|
8023 | cat >>confdefs.h <<_ACEOF |
|
|
8024 | #ifndef __cplusplus |
|
|
8025 | #define inline $ac_val |
|
|
8026 | #endif |
|
|
8027 | _ACEOF |
|
|
8028 | ;; |
|
|
8029 | esac |
|
|
8030 | |
|
|
8031 | |
|
|
8032 | |
7684 | |
8033 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7685 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
8034 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7686 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
8035 | if test "${ac_cv_type_mode_t+set}" = set; then |
7687 | if test "${ac_cv_type_mode_t+set}" = set; then |
8036 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7688 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
8193 | _ACEOF |
7845 | _ACEOF |
8194 | |
7846 | |
8195 | fi |
7847 | fi |
8196 | |
7848 | |
8197 | |
7849 | |
8198 | { echo "$as_me:$LINENO: checking for short" >&5 |
7850 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
8199 | echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
7851 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
8200 | if test "${ac_cv_type_short+set}" = set; then |
7852 | if test "${ac_cv_c_int16_t+set}" = set; then |
8201 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7853 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8202 | else |
7854 | else |
|
|
7855 | ac_cv_c_int16_t=no |
|
|
7856 | for ac_type in 'int16_t' 'int' 'long int' \ |
|
|
7857 | 'long long int' 'short int' 'signed char'; do |
8203 | cat >conftest.$ac_ext <<_ACEOF |
7858 | cat >conftest.$ac_ext <<_ACEOF |
8204 | /* confdefs.h. */ |
7859 | /* confdefs.h. */ |
8205 | _ACEOF |
7860 | _ACEOF |
8206 | cat confdefs.h >>conftest.$ac_ext |
7861 | cat confdefs.h >>conftest.$ac_ext |
8207 | cat >>conftest.$ac_ext <<_ACEOF |
7862 | cat >>conftest.$ac_ext <<_ACEOF |
8208 | /* end confdefs.h. */ |
7863 | /* end confdefs.h. */ |
8209 | $ac_includes_default |
7864 | $ac_includes_default |
8210 | typedef short ac__type_new_; |
|
|
8211 | int |
7865 | int |
8212 | main () |
7866 | main () |
8213 | { |
7867 | { |
8214 | if ((ac__type_new_ *) 0) |
7868 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; |
8215 | return 0; |
7869 | test_array [0] = 0 |
8216 | if (sizeof (ac__type_new_)) |
7870 | |
8217 | return 0; |
|
|
8218 | ; |
7871 | ; |
8219 | return 0; |
7872 | return 0; |
8220 | } |
7873 | } |
8221 | _ACEOF |
7874 | _ACEOF |
8222 | rm -f conftest.$ac_objext |
7875 | rm -f conftest.$ac_objext |
… | |
… | |
8234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8235 | (exit $ac_status); } && { |
7888 | (exit $ac_status); } && { |
8236 | test -z "$ac_cxx_werror_flag" || |
7889 | test -z "$ac_cxx_werror_flag" || |
8237 | test ! -s conftest.err |
7890 | test ! -s conftest.err |
8238 | } && test -s conftest.$ac_objext; then |
7891 | } && test -s conftest.$ac_objext; then |
8239 | ac_cv_type_short=yes |
|
|
8240 | else |
|
|
8241 | echo "$as_me: failed program was:" >&5 |
|
|
8242 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8243 | |
|
|
8244 | ac_cv_type_short=no |
|
|
8245 | fi |
|
|
8246 | |
|
|
8247 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8248 | fi |
|
|
8249 | { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
|
|
8250 | echo "${ECHO_T}$ac_cv_type_short" >&6; } |
|
|
8251 | |
|
|
8252 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8253 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8254 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8255 | # This bug is HP SR number 8606223364. |
|
|
8256 | { echo "$as_me:$LINENO: checking size of short" >&5 |
|
|
8257 | echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
|
|
8258 | if test "${ac_cv_sizeof_short+set}" = set; then |
|
|
8259 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8260 | else |
|
|
8261 | if test "$cross_compiling" = yes; then |
|
|
8262 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8263 | cat >conftest.$ac_ext <<_ACEOF |
7892 | cat >conftest.$ac_ext <<_ACEOF |
8264 | /* confdefs.h. */ |
7893 | /* confdefs.h. */ |
8265 | _ACEOF |
7894 | _ACEOF |
8266 | cat confdefs.h >>conftest.$ac_ext |
7895 | cat confdefs.h >>conftest.$ac_ext |
8267 | cat >>conftest.$ac_ext <<_ACEOF |
7896 | cat >>conftest.$ac_ext <<_ACEOF |
8268 | /* end confdefs.h. */ |
7897 | /* end confdefs.h. */ |
8269 | $ac_includes_default |
7898 | $ac_includes_default |
8270 | typedef short ac__type_sizeof_; |
|
|
8271 | int |
7899 | int |
8272 | main () |
7900 | main () |
8273 | { |
7901 | { |
8274 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
7902 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) |
|
|
7903 | < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; |
8275 | test_array [0] = 0 |
7904 | test_array [0] = 0 |
8276 | |
7905 | |
8277 | ; |
7906 | ; |
8278 | return 0; |
7907 | return 0; |
8279 | } |
7908 | } |
… | |
… | |
8293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7922 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8294 | (exit $ac_status); } && { |
7923 | (exit $ac_status); } && { |
8295 | test -z "$ac_cxx_werror_flag" || |
7924 | test -z "$ac_cxx_werror_flag" || |
8296 | test ! -s conftest.err |
7925 | test ! -s conftest.err |
8297 | } && test -s conftest.$ac_objext; then |
7926 | } && test -s conftest.$ac_objext; then |
8298 | ac_lo=0 ac_mid=0 |
7927 | : |
8299 | while :; do |
7928 | else |
|
|
7929 | echo "$as_me: failed program was:" >&5 |
|
|
7930 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7931 | |
|
|
7932 | case $ac_type in |
|
|
7933 | int16_t) ac_cv_c_int16_t=yes ;; |
|
|
7934 | *) ac_cv_c_int16_t=$ac_type ;; |
|
|
7935 | esac |
|
|
7936 | |
|
|
7937 | fi |
|
|
7938 | |
|
|
7939 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7940 | else |
|
|
7941 | echo "$as_me: failed program was:" >&5 |
|
|
7942 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7943 | |
|
|
7944 | |
|
|
7945 | fi |
|
|
7946 | |
|
|
7947 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7948 | test "$ac_cv_c_int16_t" != no && break |
|
|
7949 | done |
|
|
7950 | fi |
|
|
7951 | { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 |
|
|
7952 | echo "${ECHO_T}$ac_cv_c_int16_t" >&6; } |
|
|
7953 | case $ac_cv_c_int16_t in #( |
|
|
7954 | no|yes) ;; #( |
|
|
7955 | *) |
|
|
7956 | |
|
|
7957 | cat >>confdefs.h <<_ACEOF |
|
|
7958 | #define int16_t $ac_cv_c_int16_t |
|
|
7959 | _ACEOF |
|
|
7960 | ;; |
|
|
7961 | esac |
|
|
7962 | |
|
|
7963 | |
|
|
7964 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
7965 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
7966 | if test "${ac_cv_c_uint16_t+set}" = set; then |
|
|
7967 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7968 | else |
|
|
7969 | ac_cv_c_uint16_t=no |
|
|
7970 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
|
|
7971 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8300 | cat >conftest.$ac_ext <<_ACEOF |
7972 | cat >conftest.$ac_ext <<_ACEOF |
8301 | /* confdefs.h. */ |
7973 | /* confdefs.h. */ |
8302 | _ACEOF |
7974 | _ACEOF |
8303 | cat confdefs.h >>conftest.$ac_ext |
7975 | cat confdefs.h >>conftest.$ac_ext |
8304 | cat >>conftest.$ac_ext <<_ACEOF |
7976 | cat >>conftest.$ac_ext <<_ACEOF |
8305 | /* end confdefs.h. */ |
7977 | /* end confdefs.h. */ |
8306 | $ac_includes_default |
7978 | $ac_includes_default |
8307 | typedef short ac__type_sizeof_; |
|
|
8308 | int |
7979 | int |
8309 | main () |
7980 | main () |
8310 | { |
7981 | { |
8311 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
7982 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
8312 | test_array [0] = 0 |
7983 | test_array [0] = 0 |
8313 | |
7984 | |
8314 | ; |
7985 | ; |
8315 | return 0; |
7986 | return 0; |
8316 | } |
7987 | } |
… | |
… | |
8330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8001 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8331 | (exit $ac_status); } && { |
8002 | (exit $ac_status); } && { |
8332 | test -z "$ac_cxx_werror_flag" || |
8003 | test -z "$ac_cxx_werror_flag" || |
8333 | test ! -s conftest.err |
8004 | test ! -s conftest.err |
8334 | } && test -s conftest.$ac_objext; then |
8005 | } && test -s conftest.$ac_objext; then |
8335 | ac_hi=$ac_mid; break |
8006 | case $ac_type in |
|
|
8007 | uint16_t) ac_cv_c_uint16_t=yes ;; |
|
|
8008 | *) ac_cv_c_uint16_t=$ac_type ;; |
|
|
8009 | esac |
|
|
8010 | |
8336 | else |
8011 | else |
8337 | echo "$as_me: failed program was:" >&5 |
8012 | echo "$as_me: failed program was:" >&5 |
8338 | sed 's/^/| /' conftest.$ac_ext >&5 |
8013 | sed 's/^/| /' conftest.$ac_ext >&5 |
8339 | |
8014 | |
8340 | ac_lo=`expr $ac_mid + 1` |
8015 | |
8341 | if test $ac_lo -le $ac_mid; then |
|
|
8342 | ac_lo= ac_hi= |
|
|
8343 | break |
|
|
8344 | fi |
|
|
8345 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8346 | fi |
8016 | fi |
8347 | |
8017 | |
8348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8018 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8019 | test "$ac_cv_c_uint16_t" != no && break |
8349 | done |
8020 | done |
8350 | else |
8021 | fi |
8351 | echo "$as_me: failed program was:" >&5 |
8022 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
8352 | sed 's/^/| /' conftest.$ac_ext >&5 |
8023 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } |
|
|
8024 | case $ac_cv_c_uint16_t in #( |
|
|
8025 | no|yes) ;; #( |
|
|
8026 | *) |
8353 | |
8027 | |
|
|
8028 | |
|
|
8029 | cat >>confdefs.h <<_ACEOF |
|
|
8030 | #define uint16_t $ac_cv_c_uint16_t |
|
|
8031 | _ACEOF |
|
|
8032 | ;; |
|
|
8033 | esac |
|
|
8034 | |
|
|
8035 | |
|
|
8036 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
8037 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
8038 | if test "${ac_cv_c_int32_t+set}" = set; then |
|
|
8039 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8040 | else |
|
|
8041 | ac_cv_c_int32_t=no |
|
|
8042 | for ac_type in 'int32_t' 'int' 'long int' \ |
|
|
8043 | 'long long int' 'short int' 'signed char'; do |
8354 | cat >conftest.$ac_ext <<_ACEOF |
8044 | cat >conftest.$ac_ext <<_ACEOF |
8355 | /* confdefs.h. */ |
8045 | /* confdefs.h. */ |
8356 | _ACEOF |
8046 | _ACEOF |
8357 | cat confdefs.h >>conftest.$ac_ext |
8047 | cat confdefs.h >>conftest.$ac_ext |
8358 | cat >>conftest.$ac_ext <<_ACEOF |
8048 | cat >>conftest.$ac_ext <<_ACEOF |
8359 | /* end confdefs.h. */ |
8049 | /* end confdefs.h. */ |
8360 | $ac_includes_default |
8050 | $ac_includes_default |
8361 | typedef short ac__type_sizeof_; |
|
|
8362 | int |
8051 | int |
8363 | main () |
8052 | main () |
8364 | { |
8053 | { |
8365 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8054 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; |
8366 | test_array [0] = 0 |
8055 | test_array [0] = 0 |
8367 | |
8056 | |
8368 | ; |
8057 | ; |
8369 | return 0; |
8058 | return 0; |
8370 | } |
8059 | } |
… | |
… | |
8384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8073 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8385 | (exit $ac_status); } && { |
8074 | (exit $ac_status); } && { |
8386 | test -z "$ac_cxx_werror_flag" || |
8075 | test -z "$ac_cxx_werror_flag" || |
8387 | test ! -s conftest.err |
8076 | test ! -s conftest.err |
8388 | } && test -s conftest.$ac_objext; then |
8077 | } && test -s conftest.$ac_objext; then |
8389 | ac_hi=-1 ac_mid=-1 |
|
|
8390 | while :; do |
|
|
8391 | cat >conftest.$ac_ext <<_ACEOF |
8078 | cat >conftest.$ac_ext <<_ACEOF |
8392 | /* confdefs.h. */ |
8079 | /* confdefs.h. */ |
8393 | _ACEOF |
8080 | _ACEOF |
8394 | cat confdefs.h >>conftest.$ac_ext |
8081 | cat confdefs.h >>conftest.$ac_ext |
8395 | cat >>conftest.$ac_ext <<_ACEOF |
8082 | cat >>conftest.$ac_ext <<_ACEOF |
8396 | /* end confdefs.h. */ |
8083 | /* end confdefs.h. */ |
8397 | $ac_includes_default |
8084 | $ac_includes_default |
8398 | typedef short ac__type_sizeof_; |
|
|
8399 | int |
8085 | int |
8400 | main () |
8086 | main () |
8401 | { |
8087 | { |
8402 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8088 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) |
|
|
8089 | < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; |
8403 | test_array [0] = 0 |
8090 | test_array [0] = 0 |
8404 | |
8091 | |
8405 | ; |
8092 | ; |
8406 | return 0; |
8093 | return 0; |
8407 | } |
8094 | } |
… | |
… | |
8421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8108 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8422 | (exit $ac_status); } && { |
8109 | (exit $ac_status); } && { |
8423 | test -z "$ac_cxx_werror_flag" || |
8110 | test -z "$ac_cxx_werror_flag" || |
8424 | test ! -s conftest.err |
8111 | test ! -s conftest.err |
8425 | } && test -s conftest.$ac_objext; then |
8112 | } && test -s conftest.$ac_objext; then |
8426 | ac_lo=$ac_mid; break |
8113 | : |
8427 | else |
8114 | else |
8428 | echo "$as_me: failed program was:" >&5 |
8115 | echo "$as_me: failed program was:" >&5 |
8429 | sed 's/^/| /' conftest.$ac_ext >&5 |
8116 | sed 's/^/| /' conftest.$ac_ext >&5 |
8430 | |
8117 | |
8431 | ac_hi=`expr '(' $ac_mid ')' - 1` |
8118 | case $ac_type in |
8432 | if test $ac_mid -le $ac_hi; then |
8119 | int32_t) ac_cv_c_int32_t=yes ;; |
8433 | ac_lo= ac_hi= |
8120 | *) ac_cv_c_int32_t=$ac_type ;; |
8434 | break |
8121 | esac |
8435 | fi |
8122 | |
8436 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8437 | fi |
8123 | fi |
8438 | |
8124 | |
8439 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8125 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8440 | done |
|
|
8441 | else |
8126 | else |
8442 | echo "$as_me: failed program was:" >&5 |
8127 | echo "$as_me: failed program was:" >&5 |
8443 | sed 's/^/| /' conftest.$ac_ext >&5 |
8128 | sed 's/^/| /' conftest.$ac_ext >&5 |
8444 | |
8129 | |
8445 | ac_lo= ac_hi= |
8130 | |
8446 | fi |
8131 | fi |
8447 | |
8132 | |
8448 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8133 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8134 | test "$ac_cv_c_int32_t" != no && break |
|
|
8135 | done |
8449 | fi |
8136 | fi |
|
|
8137 | { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 |
|
|
8138 | echo "${ECHO_T}$ac_cv_c_int32_t" >&6; } |
|
|
8139 | case $ac_cv_c_int32_t in #( |
|
|
8140 | no|yes) ;; #( |
|
|
8141 | *) |
8450 | |
8142 | |
8451 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8143 | cat >>confdefs.h <<_ACEOF |
8452 | # Binary search between lo and hi bounds. |
8144 | #define int32_t $ac_cv_c_int32_t |
8453 | while test "x$ac_lo" != "x$ac_hi"; do |
8145 | _ACEOF |
8454 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8146 | ;; |
|
|
8147 | esac |
|
|
8148 | |
|
|
8149 | |
|
|
8150 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
8151 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
8152 | if test "${ac_cv_c_uint32_t+set}" = set; then |
|
|
8153 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8154 | else |
|
|
8155 | ac_cv_c_uint32_t=no |
|
|
8156 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
|
|
8157 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8455 | cat >conftest.$ac_ext <<_ACEOF |
8158 | cat >conftest.$ac_ext <<_ACEOF |
8456 | /* confdefs.h. */ |
8159 | /* confdefs.h. */ |
8457 | _ACEOF |
8160 | _ACEOF |
8458 | cat confdefs.h >>conftest.$ac_ext |
8161 | cat confdefs.h >>conftest.$ac_ext |
8459 | cat >>conftest.$ac_ext <<_ACEOF |
8162 | cat >>conftest.$ac_ext <<_ACEOF |
8460 | /* end confdefs.h. */ |
8163 | /* end confdefs.h. */ |
8461 | $ac_includes_default |
8164 | $ac_includes_default |
8462 | typedef short ac__type_sizeof_; |
|
|
8463 | int |
8165 | int |
8464 | main () |
8166 | main () |
8465 | { |
8167 | { |
8466 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8168 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
8467 | test_array [0] = 0 |
8169 | test_array [0] = 0 |
8468 | |
8170 | |
8469 | ; |
8171 | ; |
8470 | return 0; |
8172 | return 0; |
8471 | } |
8173 | } |
… | |
… | |
8485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8187 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8486 | (exit $ac_status); } && { |
8188 | (exit $ac_status); } && { |
8487 | test -z "$ac_cxx_werror_flag" || |
8189 | test -z "$ac_cxx_werror_flag" || |
8488 | test ! -s conftest.err |
8190 | test ! -s conftest.err |
8489 | } && test -s conftest.$ac_objext; then |
8191 | } && test -s conftest.$ac_objext; then |
8490 | ac_hi=$ac_mid |
8192 | case $ac_type in |
|
|
8193 | uint32_t) ac_cv_c_uint32_t=yes ;; |
|
|
8194 | *) ac_cv_c_uint32_t=$ac_type ;; |
|
|
8195 | esac |
|
|
8196 | |
8491 | else |
8197 | else |
8492 | echo "$as_me: failed program was:" >&5 |
8198 | echo "$as_me: failed program was:" >&5 |
8493 | sed 's/^/| /' conftest.$ac_ext >&5 |
8199 | sed 's/^/| /' conftest.$ac_ext >&5 |
8494 | |
8200 | |
8495 | ac_lo=`expr '(' $ac_mid ')' + 1` |
8201 | |
8496 | fi |
8202 | fi |
8497 | |
8203 | |
8498 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8204 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8499 | done |
8205 | test "$ac_cv_c_uint32_t" != no && break |
8500 | case $ac_lo in |
8206 | done |
8501 | ?*) ac_cv_sizeof_short=$ac_lo;; |
|
|
8502 | '') if test "$ac_cv_type_short" = yes; then |
|
|
8503 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8504 | See \`config.log' for more details." >&5 |
|
|
8505 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8506 | See \`config.log' for more details." >&2;} |
|
|
8507 | { (exit 77); exit 77; }; } |
|
|
8508 | else |
|
|
8509 | ac_cv_sizeof_short=0 |
|
|
8510 | fi ;; |
|
|
8511 | esac |
|
|
8512 | else |
|
|
8513 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8514 | /* confdefs.h. */ |
|
|
8515 | _ACEOF |
|
|
8516 | cat confdefs.h >>conftest.$ac_ext |
|
|
8517 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8518 | /* end confdefs.h. */ |
|
|
8519 | $ac_includes_default |
|
|
8520 | typedef short ac__type_sizeof_; |
|
|
8521 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8522 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8523 | #include <stdio.h> |
|
|
8524 | #include <stdlib.h> |
|
|
8525 | int |
|
|
8526 | main () |
|
|
8527 | { |
|
|
8528 | |
|
|
8529 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8530 | if (! f) |
|
|
8531 | return 1; |
|
|
8532 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8533 | { |
|
|
8534 | long int i = longval (); |
|
|
8535 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8536 | return 1; |
|
|
8537 | fprintf (f, "%ld\n", i); |
|
|
8538 | } |
|
|
8539 | else |
|
|
8540 | { |
|
|
8541 | unsigned long int i = ulongval (); |
|
|
8542 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8543 | return 1; |
|
|
8544 | fprintf (f, "%lu\n", i); |
|
|
8545 | } |
|
|
8546 | return ferror (f) || fclose (f) != 0; |
|
|
8547 | |
|
|
8548 | ; |
|
|
8549 | return 0; |
|
|
8550 | } |
|
|
8551 | _ACEOF |
|
|
8552 | rm -f conftest$ac_exeext |
|
|
8553 | if { (ac_try="$ac_link" |
|
|
8554 | case "(($ac_try" in |
|
|
8555 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8556 | *) ac_try_echo=$ac_try;; |
|
|
8557 | esac |
|
|
8558 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8559 | (eval "$ac_link") 2>&5 |
|
|
8560 | ac_status=$? |
|
|
8561 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8562 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8563 | { (case "(($ac_try" in |
|
|
8564 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8565 | *) ac_try_echo=$ac_try;; |
|
|
8566 | esac |
|
|
8567 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8568 | (eval "$ac_try") 2>&5 |
|
|
8569 | ac_status=$? |
|
|
8570 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8571 | (exit $ac_status); }; }; then |
|
|
8572 | ac_cv_sizeof_short=`cat conftest.val` |
|
|
8573 | else |
|
|
8574 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8575 | echo "$as_me: failed program was:" >&5 |
|
|
8576 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8577 | |
|
|
8578 | ( exit $ac_status ) |
|
|
8579 | if test "$ac_cv_type_short" = yes; then |
|
|
8580 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8581 | See \`config.log' for more details." >&5 |
|
|
8582 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8583 | See \`config.log' for more details." >&2;} |
|
|
8584 | { (exit 77); exit 77; }; } |
|
|
8585 | else |
|
|
8586 | ac_cv_sizeof_short=0 |
|
|
8587 | fi |
|
|
8588 | fi |
8207 | fi |
8589 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8590 | fi |
|
|
8591 | rm -f conftest.val |
|
|
8592 | fi |
|
|
8593 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
8208 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
8594 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
8209 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } |
|
|
8210 | case $ac_cv_c_uint32_t in #( |
|
|
8211 | no|yes) ;; #( |
|
|
8212 | *) |
8595 | |
8213 | |
|
|
8214 | cat >>confdefs.h <<\_ACEOF |
|
|
8215 | #define _UINT32_T 1 |
|
|
8216 | _ACEOF |
8596 | |
8217 | |
8597 | |
8218 | |
8598 | cat >>confdefs.h <<_ACEOF |
8219 | cat >>confdefs.h <<_ACEOF |
8599 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
8220 | #define uint32_t $ac_cv_c_uint32_t |
8600 | _ACEOF |
8221 | _ACEOF |
8601 | |
8222 | ;; |
8602 | |
|
|
8603 | { echo "$as_me:$LINENO: checking for int" >&5 |
|
|
8604 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
|
|
8605 | if test "${ac_cv_type_int+set}" = set; then |
|
|
8606 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8607 | else |
|
|
8608 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8609 | /* confdefs.h. */ |
|
|
8610 | _ACEOF |
|
|
8611 | cat confdefs.h >>conftest.$ac_ext |
|
|
8612 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8613 | /* end confdefs.h. */ |
|
|
8614 | $ac_includes_default |
|
|
8615 | typedef int ac__type_new_; |
|
|
8616 | int |
|
|
8617 | main () |
|
|
8618 | { |
|
|
8619 | if ((ac__type_new_ *) 0) |
|
|
8620 | return 0; |
|
|
8621 | if (sizeof (ac__type_new_)) |
|
|
8622 | return 0; |
|
|
8623 | ; |
|
|
8624 | return 0; |
|
|
8625 | } |
|
|
8626 | _ACEOF |
|
|
8627 | rm -f conftest.$ac_objext |
|
|
8628 | if { (ac_try="$ac_compile" |
|
|
8629 | case "(($ac_try" in |
|
|
8630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8631 | *) ac_try_echo=$ac_try;; |
|
|
8632 | esac |
8223 | esac |
8633 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8634 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8635 | ac_status=$? |
|
|
8636 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8637 | rm -f conftest.er1 |
|
|
8638 | cat conftest.err >&5 |
|
|
8639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8640 | (exit $ac_status); } && { |
|
|
8641 | test -z "$ac_cxx_werror_flag" || |
|
|
8642 | test ! -s conftest.err |
|
|
8643 | } && test -s conftest.$ac_objext; then |
|
|
8644 | ac_cv_type_int=yes |
|
|
8645 | else |
|
|
8646 | echo "$as_me: failed program was:" >&5 |
|
|
8647 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8648 | |
|
|
8649 | ac_cv_type_int=no |
|
|
8650 | fi |
|
|
8651 | |
|
|
8652 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8653 | fi |
|
|
8654 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
|
|
8655 | echo "${ECHO_T}$ac_cv_type_int" >&6; } |
|
|
8656 | |
|
|
8657 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8658 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8659 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8660 | # This bug is HP SR number 8606223364. |
|
|
8661 | { echo "$as_me:$LINENO: checking size of int" >&5 |
|
|
8662 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
|
|
8663 | if test "${ac_cv_sizeof_int+set}" = set; then |
|
|
8664 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8665 | else |
|
|
8666 | if test "$cross_compiling" = yes; then |
|
|
8667 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8668 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8669 | /* confdefs.h. */ |
|
|
8670 | _ACEOF |
|
|
8671 | cat confdefs.h >>conftest.$ac_ext |
|
|
8672 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8673 | /* end confdefs.h. */ |
|
|
8674 | $ac_includes_default |
|
|
8675 | typedef int ac__type_sizeof_; |
|
|
8676 | int |
|
|
8677 | main () |
|
|
8678 | { |
|
|
8679 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8680 | test_array [0] = 0 |
|
|
8681 | |
|
|
8682 | ; |
|
|
8683 | return 0; |
|
|
8684 | } |
|
|
8685 | _ACEOF |
|
|
8686 | rm -f conftest.$ac_objext |
|
|
8687 | if { (ac_try="$ac_compile" |
|
|
8688 | case "(($ac_try" in |
|
|
8689 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8690 | *) ac_try_echo=$ac_try;; |
|
|
8691 | esac |
|
|
8692 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8693 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8694 | ac_status=$? |
|
|
8695 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8696 | rm -f conftest.er1 |
|
|
8697 | cat conftest.err >&5 |
|
|
8698 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8699 | (exit $ac_status); } && { |
|
|
8700 | test -z "$ac_cxx_werror_flag" || |
|
|
8701 | test ! -s conftest.err |
|
|
8702 | } && test -s conftest.$ac_objext; then |
|
|
8703 | ac_lo=0 ac_mid=0 |
|
|
8704 | while :; do |
|
|
8705 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8706 | /* confdefs.h. */ |
|
|
8707 | _ACEOF |
|
|
8708 | cat confdefs.h >>conftest.$ac_ext |
|
|
8709 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8710 | /* end confdefs.h. */ |
|
|
8711 | $ac_includes_default |
|
|
8712 | typedef int ac__type_sizeof_; |
|
|
8713 | int |
|
|
8714 | main () |
|
|
8715 | { |
|
|
8716 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8717 | test_array [0] = 0 |
|
|
8718 | |
|
|
8719 | ; |
|
|
8720 | return 0; |
|
|
8721 | } |
|
|
8722 | _ACEOF |
|
|
8723 | rm -f conftest.$ac_objext |
|
|
8724 | if { (ac_try="$ac_compile" |
|
|
8725 | case "(($ac_try" in |
|
|
8726 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8727 | *) ac_try_echo=$ac_try;; |
|
|
8728 | esac |
|
|
8729 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8730 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8731 | ac_status=$? |
|
|
8732 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8733 | rm -f conftest.er1 |
|
|
8734 | cat conftest.err >&5 |
|
|
8735 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8736 | (exit $ac_status); } && { |
|
|
8737 | test -z "$ac_cxx_werror_flag" || |
|
|
8738 | test ! -s conftest.err |
|
|
8739 | } && test -s conftest.$ac_objext; then |
|
|
8740 | ac_hi=$ac_mid; break |
|
|
8741 | else |
|
|
8742 | echo "$as_me: failed program was:" >&5 |
|
|
8743 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8744 | |
|
|
8745 | ac_lo=`expr $ac_mid + 1` |
|
|
8746 | if test $ac_lo -le $ac_mid; then |
|
|
8747 | ac_lo= ac_hi= |
|
|
8748 | break |
|
|
8749 | fi |
|
|
8750 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8751 | fi |
|
|
8752 | |
|
|
8753 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8754 | done |
|
|
8755 | else |
|
|
8756 | echo "$as_me: failed program was:" >&5 |
|
|
8757 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8758 | |
|
|
8759 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8760 | /* confdefs.h. */ |
|
|
8761 | _ACEOF |
|
|
8762 | cat confdefs.h >>conftest.$ac_ext |
|
|
8763 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8764 | /* end confdefs.h. */ |
|
|
8765 | $ac_includes_default |
|
|
8766 | typedef int ac__type_sizeof_; |
|
|
8767 | int |
|
|
8768 | main () |
|
|
8769 | { |
|
|
8770 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
8771 | test_array [0] = 0 |
|
|
8772 | |
|
|
8773 | ; |
|
|
8774 | return 0; |
|
|
8775 | } |
|
|
8776 | _ACEOF |
|
|
8777 | rm -f conftest.$ac_objext |
|
|
8778 | if { (ac_try="$ac_compile" |
|
|
8779 | case "(($ac_try" in |
|
|
8780 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8781 | *) ac_try_echo=$ac_try;; |
|
|
8782 | esac |
|
|
8783 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8784 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8785 | ac_status=$? |
|
|
8786 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8787 | rm -f conftest.er1 |
|
|
8788 | cat conftest.err >&5 |
|
|
8789 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8790 | (exit $ac_status); } && { |
|
|
8791 | test -z "$ac_cxx_werror_flag" || |
|
|
8792 | test ! -s conftest.err |
|
|
8793 | } && test -s conftest.$ac_objext; then |
|
|
8794 | ac_hi=-1 ac_mid=-1 |
|
|
8795 | while :; do |
|
|
8796 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8797 | /* confdefs.h. */ |
|
|
8798 | _ACEOF |
|
|
8799 | cat confdefs.h >>conftest.$ac_ext |
|
|
8800 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8801 | /* end confdefs.h. */ |
|
|
8802 | $ac_includes_default |
|
|
8803 | typedef int ac__type_sizeof_; |
|
|
8804 | int |
|
|
8805 | main () |
|
|
8806 | { |
|
|
8807 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
8808 | test_array [0] = 0 |
|
|
8809 | |
|
|
8810 | ; |
|
|
8811 | return 0; |
|
|
8812 | } |
|
|
8813 | _ACEOF |
|
|
8814 | rm -f conftest.$ac_objext |
|
|
8815 | if { (ac_try="$ac_compile" |
|
|
8816 | case "(($ac_try" in |
|
|
8817 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8818 | *) ac_try_echo=$ac_try;; |
|
|
8819 | esac |
|
|
8820 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8821 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8822 | ac_status=$? |
|
|
8823 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8824 | rm -f conftest.er1 |
|
|
8825 | cat conftest.err >&5 |
|
|
8826 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8827 | (exit $ac_status); } && { |
|
|
8828 | test -z "$ac_cxx_werror_flag" || |
|
|
8829 | test ! -s conftest.err |
|
|
8830 | } && test -s conftest.$ac_objext; then |
|
|
8831 | ac_lo=$ac_mid; break |
|
|
8832 | else |
|
|
8833 | echo "$as_me: failed program was:" >&5 |
|
|
8834 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8835 | |
|
|
8836 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
8837 | if test $ac_mid -le $ac_hi; then |
|
|
8838 | ac_lo= ac_hi= |
|
|
8839 | break |
|
|
8840 | fi |
|
|
8841 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8842 | fi |
|
|
8843 | |
|
|
8844 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8845 | done |
|
|
8846 | else |
|
|
8847 | echo "$as_me: failed program was:" >&5 |
|
|
8848 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8849 | |
|
|
8850 | ac_lo= ac_hi= |
|
|
8851 | fi |
|
|
8852 | |
|
|
8853 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8854 | fi |
|
|
8855 | |
|
|
8856 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8857 | # Binary search between lo and hi bounds. |
|
|
8858 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
8859 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
8860 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8861 | /* confdefs.h. */ |
|
|
8862 | _ACEOF |
|
|
8863 | cat confdefs.h >>conftest.$ac_ext |
|
|
8864 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8865 | /* end confdefs.h. */ |
|
|
8866 | $ac_includes_default |
|
|
8867 | typedef int ac__type_sizeof_; |
|
|
8868 | int |
|
|
8869 | main () |
|
|
8870 | { |
|
|
8871 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8872 | test_array [0] = 0 |
|
|
8873 | |
|
|
8874 | ; |
|
|
8875 | return 0; |
|
|
8876 | } |
|
|
8877 | _ACEOF |
|
|
8878 | rm -f conftest.$ac_objext |
|
|
8879 | if { (ac_try="$ac_compile" |
|
|
8880 | case "(($ac_try" in |
|
|
8881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8882 | *) ac_try_echo=$ac_try;; |
|
|
8883 | esac |
|
|
8884 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8885 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8886 | ac_status=$? |
|
|
8887 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8888 | rm -f conftest.er1 |
|
|
8889 | cat conftest.err >&5 |
|
|
8890 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8891 | (exit $ac_status); } && { |
|
|
8892 | test -z "$ac_cxx_werror_flag" || |
|
|
8893 | test ! -s conftest.err |
|
|
8894 | } && test -s conftest.$ac_objext; then |
|
|
8895 | ac_hi=$ac_mid |
|
|
8896 | else |
|
|
8897 | echo "$as_me: failed program was:" >&5 |
|
|
8898 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8899 | |
|
|
8900 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
8901 | fi |
|
|
8902 | |
|
|
8903 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8904 | done |
|
|
8905 | case $ac_lo in |
|
|
8906 | ?*) ac_cv_sizeof_int=$ac_lo;; |
|
|
8907 | '') if test "$ac_cv_type_int" = yes; then |
|
|
8908 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8909 | See \`config.log' for more details." >&5 |
|
|
8910 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8911 | See \`config.log' for more details." >&2;} |
|
|
8912 | { (exit 77); exit 77; }; } |
|
|
8913 | else |
|
|
8914 | ac_cv_sizeof_int=0 |
|
|
8915 | fi ;; |
|
|
8916 | esac |
|
|
8917 | else |
|
|
8918 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8919 | /* confdefs.h. */ |
|
|
8920 | _ACEOF |
|
|
8921 | cat confdefs.h >>conftest.$ac_ext |
|
|
8922 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8923 | /* end confdefs.h. */ |
|
|
8924 | $ac_includes_default |
|
|
8925 | typedef int ac__type_sizeof_; |
|
|
8926 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8927 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8928 | #include <stdio.h> |
|
|
8929 | #include <stdlib.h> |
|
|
8930 | int |
|
|
8931 | main () |
|
|
8932 | { |
|
|
8933 | |
|
|
8934 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8935 | if (! f) |
|
|
8936 | return 1; |
|
|
8937 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8938 | { |
|
|
8939 | long int i = longval (); |
|
|
8940 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8941 | return 1; |
|
|
8942 | fprintf (f, "%ld\n", i); |
|
|
8943 | } |
|
|
8944 | else |
|
|
8945 | { |
|
|
8946 | unsigned long int i = ulongval (); |
|
|
8947 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8948 | return 1; |
|
|
8949 | fprintf (f, "%lu\n", i); |
|
|
8950 | } |
|
|
8951 | return ferror (f) || fclose (f) != 0; |
|
|
8952 | |
|
|
8953 | ; |
|
|
8954 | return 0; |
|
|
8955 | } |
|
|
8956 | _ACEOF |
|
|
8957 | rm -f conftest$ac_exeext |
|
|
8958 | if { (ac_try="$ac_link" |
|
|
8959 | case "(($ac_try" in |
|
|
8960 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8961 | *) ac_try_echo=$ac_try;; |
|
|
8962 | esac |
|
|
8963 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8964 | (eval "$ac_link") 2>&5 |
|
|
8965 | ac_status=$? |
|
|
8966 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8967 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8968 | { (case "(($ac_try" in |
|
|
8969 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8970 | *) ac_try_echo=$ac_try;; |
|
|
8971 | esac |
|
|
8972 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8973 | (eval "$ac_try") 2>&5 |
|
|
8974 | ac_status=$? |
|
|
8975 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8976 | (exit $ac_status); }; }; then |
|
|
8977 | ac_cv_sizeof_int=`cat conftest.val` |
|
|
8978 | else |
|
|
8979 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8980 | echo "$as_me: failed program was:" >&5 |
|
|
8981 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8982 | |
|
|
8983 | ( exit $ac_status ) |
|
|
8984 | if test "$ac_cv_type_int" = yes; then |
|
|
8985 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8986 | See \`config.log' for more details." >&5 |
|
|
8987 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8988 | See \`config.log' for more details." >&2;} |
|
|
8989 | { (exit 77); exit 77; }; } |
|
|
8990 | else |
|
|
8991 | ac_cv_sizeof_int=0 |
|
|
8992 | fi |
|
|
8993 | fi |
|
|
8994 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8995 | fi |
|
|
8996 | rm -f conftest.val |
|
|
8997 | fi |
|
|
8998 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
|
|
8999 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
|
|
9000 | |
|
|
9001 | |
|
|
9002 | |
|
|
9003 | cat >>confdefs.h <<_ACEOF |
|
|
9004 | #define SIZEOF_INT $ac_cv_sizeof_int |
|
|
9005 | _ACEOF |
|
|
9006 | |
|
|
9007 | |
|
|
9008 | { echo "$as_me:$LINENO: checking for long long" >&5 |
|
|
9009 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
|
|
9010 | if test "${ac_cv_type_long_long+set}" = set; then |
|
|
9011 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9012 | else |
|
|
9013 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9014 | /* confdefs.h. */ |
|
|
9015 | _ACEOF |
|
|
9016 | cat confdefs.h >>conftest.$ac_ext |
|
|
9017 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9018 | /* end confdefs.h. */ |
|
|
9019 | $ac_includes_default |
|
|
9020 | typedef long long ac__type_new_; |
|
|
9021 | int |
|
|
9022 | main () |
|
|
9023 | { |
|
|
9024 | if ((ac__type_new_ *) 0) |
|
|
9025 | return 0; |
|
|
9026 | if (sizeof (ac__type_new_)) |
|
|
9027 | return 0; |
|
|
9028 | ; |
|
|
9029 | return 0; |
|
|
9030 | } |
|
|
9031 | _ACEOF |
|
|
9032 | rm -f conftest.$ac_objext |
|
|
9033 | if { (ac_try="$ac_compile" |
|
|
9034 | case "(($ac_try" in |
|
|
9035 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9036 | *) ac_try_echo=$ac_try;; |
|
|
9037 | esac |
|
|
9038 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9039 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9040 | ac_status=$? |
|
|
9041 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9042 | rm -f conftest.er1 |
|
|
9043 | cat conftest.err >&5 |
|
|
9044 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9045 | (exit $ac_status); } && { |
|
|
9046 | test -z "$ac_cxx_werror_flag" || |
|
|
9047 | test ! -s conftest.err |
|
|
9048 | } && test -s conftest.$ac_objext; then |
|
|
9049 | ac_cv_type_long_long=yes |
|
|
9050 | else |
|
|
9051 | echo "$as_me: failed program was:" >&5 |
|
|
9052 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9053 | |
|
|
9054 | ac_cv_type_long_long=no |
|
|
9055 | fi |
|
|
9056 | |
|
|
9057 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9058 | fi |
|
|
9059 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
|
|
9060 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
|
|
9061 | |
|
|
9062 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9063 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9064 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9065 | # This bug is HP SR number 8606223364. |
|
|
9066 | { echo "$as_me:$LINENO: checking size of long long" >&5 |
|
|
9067 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
|
|
9068 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
|
|
9069 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9070 | else |
|
|
9071 | if test "$cross_compiling" = yes; then |
|
|
9072 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9073 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9074 | /* confdefs.h. */ |
|
|
9075 | _ACEOF |
|
|
9076 | cat confdefs.h >>conftest.$ac_ext |
|
|
9077 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9078 | /* end confdefs.h. */ |
|
|
9079 | $ac_includes_default |
|
|
9080 | typedef long long ac__type_sizeof_; |
|
|
9081 | int |
|
|
9082 | main () |
|
|
9083 | { |
|
|
9084 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9085 | test_array [0] = 0 |
|
|
9086 | |
|
|
9087 | ; |
|
|
9088 | return 0; |
|
|
9089 | } |
|
|
9090 | _ACEOF |
|
|
9091 | rm -f conftest.$ac_objext |
|
|
9092 | if { (ac_try="$ac_compile" |
|
|
9093 | case "(($ac_try" in |
|
|
9094 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9095 | *) ac_try_echo=$ac_try;; |
|
|
9096 | esac |
|
|
9097 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9098 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9099 | ac_status=$? |
|
|
9100 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9101 | rm -f conftest.er1 |
|
|
9102 | cat conftest.err >&5 |
|
|
9103 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9104 | (exit $ac_status); } && { |
|
|
9105 | test -z "$ac_cxx_werror_flag" || |
|
|
9106 | test ! -s conftest.err |
|
|
9107 | } && test -s conftest.$ac_objext; then |
|
|
9108 | ac_lo=0 ac_mid=0 |
|
|
9109 | while :; do |
|
|
9110 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9111 | /* confdefs.h. */ |
|
|
9112 | _ACEOF |
|
|
9113 | cat confdefs.h >>conftest.$ac_ext |
|
|
9114 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9115 | /* end confdefs.h. */ |
|
|
9116 | $ac_includes_default |
|
|
9117 | typedef long long ac__type_sizeof_; |
|
|
9118 | int |
|
|
9119 | main () |
|
|
9120 | { |
|
|
9121 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9122 | test_array [0] = 0 |
|
|
9123 | |
|
|
9124 | ; |
|
|
9125 | return 0; |
|
|
9126 | } |
|
|
9127 | _ACEOF |
|
|
9128 | rm -f conftest.$ac_objext |
|
|
9129 | if { (ac_try="$ac_compile" |
|
|
9130 | case "(($ac_try" in |
|
|
9131 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9132 | *) ac_try_echo=$ac_try;; |
|
|
9133 | esac |
|
|
9134 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9135 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9136 | ac_status=$? |
|
|
9137 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9138 | rm -f conftest.er1 |
|
|
9139 | cat conftest.err >&5 |
|
|
9140 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9141 | (exit $ac_status); } && { |
|
|
9142 | test -z "$ac_cxx_werror_flag" || |
|
|
9143 | test ! -s conftest.err |
|
|
9144 | } && test -s conftest.$ac_objext; then |
|
|
9145 | ac_hi=$ac_mid; break |
|
|
9146 | else |
|
|
9147 | echo "$as_me: failed program was:" >&5 |
|
|
9148 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9149 | |
|
|
9150 | ac_lo=`expr $ac_mid + 1` |
|
|
9151 | if test $ac_lo -le $ac_mid; then |
|
|
9152 | ac_lo= ac_hi= |
|
|
9153 | break |
|
|
9154 | fi |
|
|
9155 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9156 | fi |
|
|
9157 | |
|
|
9158 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9159 | done |
|
|
9160 | else |
|
|
9161 | echo "$as_me: failed program was:" >&5 |
|
|
9162 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9163 | |
|
|
9164 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9165 | /* confdefs.h. */ |
|
|
9166 | _ACEOF |
|
|
9167 | cat confdefs.h >>conftest.$ac_ext |
|
|
9168 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9169 | /* end confdefs.h. */ |
|
|
9170 | $ac_includes_default |
|
|
9171 | typedef long long ac__type_sizeof_; |
|
|
9172 | int |
|
|
9173 | main () |
|
|
9174 | { |
|
|
9175 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9176 | test_array [0] = 0 |
|
|
9177 | |
|
|
9178 | ; |
|
|
9179 | return 0; |
|
|
9180 | } |
|
|
9181 | _ACEOF |
|
|
9182 | rm -f conftest.$ac_objext |
|
|
9183 | if { (ac_try="$ac_compile" |
|
|
9184 | case "(($ac_try" in |
|
|
9185 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9186 | *) ac_try_echo=$ac_try;; |
|
|
9187 | esac |
|
|
9188 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9189 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9190 | ac_status=$? |
|
|
9191 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9192 | rm -f conftest.er1 |
|
|
9193 | cat conftest.err >&5 |
|
|
9194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9195 | (exit $ac_status); } && { |
|
|
9196 | test -z "$ac_cxx_werror_flag" || |
|
|
9197 | test ! -s conftest.err |
|
|
9198 | } && test -s conftest.$ac_objext; then |
|
|
9199 | ac_hi=-1 ac_mid=-1 |
|
|
9200 | while :; do |
|
|
9201 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9202 | /* confdefs.h. */ |
|
|
9203 | _ACEOF |
|
|
9204 | cat confdefs.h >>conftest.$ac_ext |
|
|
9205 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9206 | /* end confdefs.h. */ |
|
|
9207 | $ac_includes_default |
|
|
9208 | typedef long long ac__type_sizeof_; |
|
|
9209 | int |
|
|
9210 | main () |
|
|
9211 | { |
|
|
9212 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9213 | test_array [0] = 0 |
|
|
9214 | |
|
|
9215 | ; |
|
|
9216 | return 0; |
|
|
9217 | } |
|
|
9218 | _ACEOF |
|
|
9219 | rm -f conftest.$ac_objext |
|
|
9220 | if { (ac_try="$ac_compile" |
|
|
9221 | case "(($ac_try" in |
|
|
9222 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9223 | *) ac_try_echo=$ac_try;; |
|
|
9224 | esac |
|
|
9225 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9226 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9227 | ac_status=$? |
|
|
9228 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9229 | rm -f conftest.er1 |
|
|
9230 | cat conftest.err >&5 |
|
|
9231 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9232 | (exit $ac_status); } && { |
|
|
9233 | test -z "$ac_cxx_werror_flag" || |
|
|
9234 | test ! -s conftest.err |
|
|
9235 | } && test -s conftest.$ac_objext; then |
|
|
9236 | ac_lo=$ac_mid; break |
|
|
9237 | else |
|
|
9238 | echo "$as_me: failed program was:" >&5 |
|
|
9239 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9240 | |
|
|
9241 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9242 | if test $ac_mid -le $ac_hi; then |
|
|
9243 | ac_lo= ac_hi= |
|
|
9244 | break |
|
|
9245 | fi |
|
|
9246 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9247 | fi |
|
|
9248 | |
|
|
9249 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9250 | done |
|
|
9251 | else |
|
|
9252 | echo "$as_me: failed program was:" >&5 |
|
|
9253 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9254 | |
|
|
9255 | ac_lo= ac_hi= |
|
|
9256 | fi |
|
|
9257 | |
|
|
9258 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9259 | fi |
|
|
9260 | |
|
|
9261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9262 | # Binary search between lo and hi bounds. |
|
|
9263 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9264 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9265 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9266 | /* confdefs.h. */ |
|
|
9267 | _ACEOF |
|
|
9268 | cat confdefs.h >>conftest.$ac_ext |
|
|
9269 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9270 | /* end confdefs.h. */ |
|
|
9271 | $ac_includes_default |
|
|
9272 | typedef long long ac__type_sizeof_; |
|
|
9273 | int |
|
|
9274 | main () |
|
|
9275 | { |
|
|
9276 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9277 | test_array [0] = 0 |
|
|
9278 | |
|
|
9279 | ; |
|
|
9280 | return 0; |
|
|
9281 | } |
|
|
9282 | _ACEOF |
|
|
9283 | rm -f conftest.$ac_objext |
|
|
9284 | if { (ac_try="$ac_compile" |
|
|
9285 | case "(($ac_try" in |
|
|
9286 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9287 | *) ac_try_echo=$ac_try;; |
|
|
9288 | esac |
|
|
9289 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9290 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9291 | ac_status=$? |
|
|
9292 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9293 | rm -f conftest.er1 |
|
|
9294 | cat conftest.err >&5 |
|
|
9295 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9296 | (exit $ac_status); } && { |
|
|
9297 | test -z "$ac_cxx_werror_flag" || |
|
|
9298 | test ! -s conftest.err |
|
|
9299 | } && test -s conftest.$ac_objext; then |
|
|
9300 | ac_hi=$ac_mid |
|
|
9301 | else |
|
|
9302 | echo "$as_me: failed program was:" >&5 |
|
|
9303 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9304 | |
|
|
9305 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9306 | fi |
|
|
9307 | |
|
|
9308 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9309 | done |
|
|
9310 | case $ac_lo in |
|
|
9311 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
|
|
9312 | '') if test "$ac_cv_type_long_long" = yes; then |
|
|
9313 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9314 | See \`config.log' for more details." >&5 |
|
|
9315 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9316 | See \`config.log' for more details." >&2;} |
|
|
9317 | { (exit 77); exit 77; }; } |
|
|
9318 | else |
|
|
9319 | ac_cv_sizeof_long_long=0 |
|
|
9320 | fi ;; |
|
|
9321 | esac |
|
|
9322 | else |
|
|
9323 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9324 | /* confdefs.h. */ |
|
|
9325 | _ACEOF |
|
|
9326 | cat confdefs.h >>conftest.$ac_ext |
|
|
9327 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9328 | /* end confdefs.h. */ |
|
|
9329 | $ac_includes_default |
|
|
9330 | typedef long long ac__type_sizeof_; |
|
|
9331 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9332 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9333 | #include <stdio.h> |
|
|
9334 | #include <stdlib.h> |
|
|
9335 | int |
|
|
9336 | main () |
|
|
9337 | { |
|
|
9338 | |
|
|
9339 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9340 | if (! f) |
|
|
9341 | return 1; |
|
|
9342 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9343 | { |
|
|
9344 | long int i = longval (); |
|
|
9345 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9346 | return 1; |
|
|
9347 | fprintf (f, "%ld\n", i); |
|
|
9348 | } |
|
|
9349 | else |
|
|
9350 | { |
|
|
9351 | unsigned long int i = ulongval (); |
|
|
9352 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9353 | return 1; |
|
|
9354 | fprintf (f, "%lu\n", i); |
|
|
9355 | } |
|
|
9356 | return ferror (f) || fclose (f) != 0; |
|
|
9357 | |
|
|
9358 | ; |
|
|
9359 | return 0; |
|
|
9360 | } |
|
|
9361 | _ACEOF |
|
|
9362 | rm -f conftest$ac_exeext |
|
|
9363 | if { (ac_try="$ac_link" |
|
|
9364 | case "(($ac_try" in |
|
|
9365 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9366 | *) ac_try_echo=$ac_try;; |
|
|
9367 | esac |
|
|
9368 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9369 | (eval "$ac_link") 2>&5 |
|
|
9370 | ac_status=$? |
|
|
9371 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9372 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9373 | { (case "(($ac_try" in |
|
|
9374 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9375 | *) ac_try_echo=$ac_try;; |
|
|
9376 | esac |
|
|
9377 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9378 | (eval "$ac_try") 2>&5 |
|
|
9379 | ac_status=$? |
|
|
9380 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9381 | (exit $ac_status); }; }; then |
|
|
9382 | ac_cv_sizeof_long_long=`cat conftest.val` |
|
|
9383 | else |
|
|
9384 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9385 | echo "$as_me: failed program was:" >&5 |
|
|
9386 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9387 | |
|
|
9388 | ( exit $ac_status ) |
|
|
9389 | if test "$ac_cv_type_long_long" = yes; then |
|
|
9390 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9391 | See \`config.log' for more details." >&5 |
|
|
9392 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9393 | See \`config.log' for more details." >&2;} |
|
|
9394 | { (exit 77); exit 77; }; } |
|
|
9395 | else |
|
|
9396 | ac_cv_sizeof_long_long=0 |
|
|
9397 | fi |
|
|
9398 | fi |
|
|
9399 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9400 | fi |
|
|
9401 | rm -f conftest.val |
|
|
9402 | fi |
|
|
9403 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
|
|
9404 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
|
|
9405 | |
|
|
9406 | |
|
|
9407 | |
|
|
9408 | cat >>confdefs.h <<_ACEOF |
|
|
9409 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
|
|
9410 | _ACEOF |
|
|
9411 | |
|
|
9412 | |
|
|
9413 | { echo "$as_me:$LINENO: checking for int *" >&5 |
|
|
9414 | echo $ECHO_N "checking for int *... $ECHO_C" >&6; } |
|
|
9415 | if test "${ac_cv_type_int_p+set}" = set; then |
|
|
9416 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9417 | else |
|
|
9418 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9419 | /* confdefs.h. */ |
|
|
9420 | _ACEOF |
|
|
9421 | cat confdefs.h >>conftest.$ac_ext |
|
|
9422 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9423 | /* end confdefs.h. */ |
|
|
9424 | $ac_includes_default |
|
|
9425 | typedef int * ac__type_new_; |
|
|
9426 | int |
|
|
9427 | main () |
|
|
9428 | { |
|
|
9429 | if ((ac__type_new_ *) 0) |
|
|
9430 | return 0; |
|
|
9431 | if (sizeof (ac__type_new_)) |
|
|
9432 | return 0; |
|
|
9433 | ; |
|
|
9434 | return 0; |
|
|
9435 | } |
|
|
9436 | _ACEOF |
|
|
9437 | rm -f conftest.$ac_objext |
|
|
9438 | if { (ac_try="$ac_compile" |
|
|
9439 | case "(($ac_try" in |
|
|
9440 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9441 | *) ac_try_echo=$ac_try;; |
|
|
9442 | esac |
|
|
9443 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9444 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9445 | ac_status=$? |
|
|
9446 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9447 | rm -f conftest.er1 |
|
|
9448 | cat conftest.err >&5 |
|
|
9449 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9450 | (exit $ac_status); } && { |
|
|
9451 | test -z "$ac_cxx_werror_flag" || |
|
|
9452 | test ! -s conftest.err |
|
|
9453 | } && test -s conftest.$ac_objext; then |
|
|
9454 | ac_cv_type_int_p=yes |
|
|
9455 | else |
|
|
9456 | echo "$as_me: failed program was:" >&5 |
|
|
9457 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9458 | |
|
|
9459 | ac_cv_type_int_p=no |
|
|
9460 | fi |
|
|
9461 | |
|
|
9462 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9463 | fi |
|
|
9464 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5 |
|
|
9465 | echo "${ECHO_T}$ac_cv_type_int_p" >&6; } |
|
|
9466 | |
|
|
9467 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9468 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9469 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9470 | # This bug is HP SR number 8606223364. |
|
|
9471 | { echo "$as_me:$LINENO: checking size of int *" >&5 |
|
|
9472 | echo $ECHO_N "checking size of int *... $ECHO_C" >&6; } |
|
|
9473 | if test "${ac_cv_sizeof_int_p+set}" = set; then |
|
|
9474 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9475 | else |
|
|
9476 | if test "$cross_compiling" = yes; then |
|
|
9477 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9478 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9479 | /* confdefs.h. */ |
|
|
9480 | _ACEOF |
|
|
9481 | cat confdefs.h >>conftest.$ac_ext |
|
|
9482 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9483 | /* end confdefs.h. */ |
|
|
9484 | $ac_includes_default |
|
|
9485 | typedef int * ac__type_sizeof_; |
|
|
9486 | int |
|
|
9487 | main () |
|
|
9488 | { |
|
|
9489 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9490 | test_array [0] = 0 |
|
|
9491 | |
|
|
9492 | ; |
|
|
9493 | return 0; |
|
|
9494 | } |
|
|
9495 | _ACEOF |
|
|
9496 | rm -f conftest.$ac_objext |
|
|
9497 | if { (ac_try="$ac_compile" |
|
|
9498 | case "(($ac_try" in |
|
|
9499 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9500 | *) ac_try_echo=$ac_try;; |
|
|
9501 | esac |
|
|
9502 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9503 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9504 | ac_status=$? |
|
|
9505 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9506 | rm -f conftest.er1 |
|
|
9507 | cat conftest.err >&5 |
|
|
9508 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9509 | (exit $ac_status); } && { |
|
|
9510 | test -z "$ac_cxx_werror_flag" || |
|
|
9511 | test ! -s conftest.err |
|
|
9512 | } && test -s conftest.$ac_objext; then |
|
|
9513 | ac_lo=0 ac_mid=0 |
|
|
9514 | while :; do |
|
|
9515 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9516 | /* confdefs.h. */ |
|
|
9517 | _ACEOF |
|
|
9518 | cat confdefs.h >>conftest.$ac_ext |
|
|
9519 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9520 | /* end confdefs.h. */ |
|
|
9521 | $ac_includes_default |
|
|
9522 | typedef int * ac__type_sizeof_; |
|
|
9523 | int |
|
|
9524 | main () |
|
|
9525 | { |
|
|
9526 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9527 | test_array [0] = 0 |
|
|
9528 | |
|
|
9529 | ; |
|
|
9530 | return 0; |
|
|
9531 | } |
|
|
9532 | _ACEOF |
|
|
9533 | rm -f conftest.$ac_objext |
|
|
9534 | if { (ac_try="$ac_compile" |
|
|
9535 | case "(($ac_try" in |
|
|
9536 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9537 | *) ac_try_echo=$ac_try;; |
|
|
9538 | esac |
|
|
9539 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9540 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9541 | ac_status=$? |
|
|
9542 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9543 | rm -f conftest.er1 |
|
|
9544 | cat conftest.err >&5 |
|
|
9545 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9546 | (exit $ac_status); } && { |
|
|
9547 | test -z "$ac_cxx_werror_flag" || |
|
|
9548 | test ! -s conftest.err |
|
|
9549 | } && test -s conftest.$ac_objext; then |
|
|
9550 | ac_hi=$ac_mid; break |
|
|
9551 | else |
|
|
9552 | echo "$as_me: failed program was:" >&5 |
|
|
9553 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9554 | |
|
|
9555 | ac_lo=`expr $ac_mid + 1` |
|
|
9556 | if test $ac_lo -le $ac_mid; then |
|
|
9557 | ac_lo= ac_hi= |
|
|
9558 | break |
|
|
9559 | fi |
|
|
9560 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9561 | fi |
|
|
9562 | |
|
|
9563 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9564 | done |
|
|
9565 | else |
|
|
9566 | echo "$as_me: failed program was:" >&5 |
|
|
9567 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9568 | |
|
|
9569 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9570 | /* confdefs.h. */ |
|
|
9571 | _ACEOF |
|
|
9572 | cat confdefs.h >>conftest.$ac_ext |
|
|
9573 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9574 | /* end confdefs.h. */ |
|
|
9575 | $ac_includes_default |
|
|
9576 | typedef int * ac__type_sizeof_; |
|
|
9577 | int |
|
|
9578 | main () |
|
|
9579 | { |
|
|
9580 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9581 | test_array [0] = 0 |
|
|
9582 | |
|
|
9583 | ; |
|
|
9584 | return 0; |
|
|
9585 | } |
|
|
9586 | _ACEOF |
|
|
9587 | rm -f conftest.$ac_objext |
|
|
9588 | if { (ac_try="$ac_compile" |
|
|
9589 | case "(($ac_try" in |
|
|
9590 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9591 | *) ac_try_echo=$ac_try;; |
|
|
9592 | esac |
|
|
9593 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9594 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9595 | ac_status=$? |
|
|
9596 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9597 | rm -f conftest.er1 |
|
|
9598 | cat conftest.err >&5 |
|
|
9599 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9600 | (exit $ac_status); } && { |
|
|
9601 | test -z "$ac_cxx_werror_flag" || |
|
|
9602 | test ! -s conftest.err |
|
|
9603 | } && test -s conftest.$ac_objext; then |
|
|
9604 | ac_hi=-1 ac_mid=-1 |
|
|
9605 | while :; do |
|
|
9606 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9607 | /* confdefs.h. */ |
|
|
9608 | _ACEOF |
|
|
9609 | cat confdefs.h >>conftest.$ac_ext |
|
|
9610 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9611 | /* end confdefs.h. */ |
|
|
9612 | $ac_includes_default |
|
|
9613 | typedef int * ac__type_sizeof_; |
|
|
9614 | int |
|
|
9615 | main () |
|
|
9616 | { |
|
|
9617 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9618 | test_array [0] = 0 |
|
|
9619 | |
|
|
9620 | ; |
|
|
9621 | return 0; |
|
|
9622 | } |
|
|
9623 | _ACEOF |
|
|
9624 | rm -f conftest.$ac_objext |
|
|
9625 | if { (ac_try="$ac_compile" |
|
|
9626 | case "(($ac_try" in |
|
|
9627 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9628 | *) ac_try_echo=$ac_try;; |
|
|
9629 | esac |
|
|
9630 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9631 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9632 | ac_status=$? |
|
|
9633 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9634 | rm -f conftest.er1 |
|
|
9635 | cat conftest.err >&5 |
|
|
9636 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9637 | (exit $ac_status); } && { |
|
|
9638 | test -z "$ac_cxx_werror_flag" || |
|
|
9639 | test ! -s conftest.err |
|
|
9640 | } && test -s conftest.$ac_objext; then |
|
|
9641 | ac_lo=$ac_mid; break |
|
|
9642 | else |
|
|
9643 | echo "$as_me: failed program was:" >&5 |
|
|
9644 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9645 | |
|
|
9646 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9647 | if test $ac_mid -le $ac_hi; then |
|
|
9648 | ac_lo= ac_hi= |
|
|
9649 | break |
|
|
9650 | fi |
|
|
9651 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9652 | fi |
|
|
9653 | |
|
|
9654 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9655 | done |
|
|
9656 | else |
|
|
9657 | echo "$as_me: failed program was:" >&5 |
|
|
9658 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9659 | |
|
|
9660 | ac_lo= ac_hi= |
|
|
9661 | fi |
|
|
9662 | |
|
|
9663 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9664 | fi |
|
|
9665 | |
|
|
9666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9667 | # Binary search between lo and hi bounds. |
|
|
9668 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9669 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
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 | $ac_includes_default |
|
|
9677 | typedef int * ac__type_sizeof_; |
|
|
9678 | int |
|
|
9679 | main () |
|
|
9680 | { |
|
|
9681 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9682 | test_array [0] = 0 |
|
|
9683 | |
|
|
9684 | ; |
|
|
9685 | return 0; |
|
|
9686 | } |
|
|
9687 | _ACEOF |
|
|
9688 | rm -f conftest.$ac_objext |
|
|
9689 | if { (ac_try="$ac_compile" |
|
|
9690 | case "(($ac_try" in |
|
|
9691 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9692 | *) ac_try_echo=$ac_try;; |
|
|
9693 | esac |
|
|
9694 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9695 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9696 | ac_status=$? |
|
|
9697 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9698 | rm -f conftest.er1 |
|
|
9699 | cat conftest.err >&5 |
|
|
9700 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9701 | (exit $ac_status); } && { |
|
|
9702 | test -z "$ac_cxx_werror_flag" || |
|
|
9703 | test ! -s conftest.err |
|
|
9704 | } && test -s conftest.$ac_objext; then |
|
|
9705 | ac_hi=$ac_mid |
|
|
9706 | else |
|
|
9707 | echo "$as_me: failed program was:" >&5 |
|
|
9708 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9709 | |
|
|
9710 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9711 | fi |
|
|
9712 | |
|
|
9713 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9714 | done |
|
|
9715 | case $ac_lo in |
|
|
9716 | ?*) ac_cv_sizeof_int_p=$ac_lo;; |
|
|
9717 | '') if test "$ac_cv_type_int_p" = yes; then |
|
|
9718 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9719 | See \`config.log' for more details." >&5 |
|
|
9720 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9721 | See \`config.log' for more details." >&2;} |
|
|
9722 | { (exit 77); exit 77; }; } |
|
|
9723 | else |
|
|
9724 | ac_cv_sizeof_int_p=0 |
|
|
9725 | fi ;; |
|
|
9726 | esac |
|
|
9727 | else |
|
|
9728 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9729 | /* confdefs.h. */ |
|
|
9730 | _ACEOF |
|
|
9731 | cat confdefs.h >>conftest.$ac_ext |
|
|
9732 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9733 | /* end confdefs.h. */ |
|
|
9734 | $ac_includes_default |
|
|
9735 | typedef int * ac__type_sizeof_; |
|
|
9736 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9737 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9738 | #include <stdio.h> |
|
|
9739 | #include <stdlib.h> |
|
|
9740 | int |
|
|
9741 | main () |
|
|
9742 | { |
|
|
9743 | |
|
|
9744 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9745 | if (! f) |
|
|
9746 | return 1; |
|
|
9747 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9748 | { |
|
|
9749 | long int i = longval (); |
|
|
9750 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9751 | return 1; |
|
|
9752 | fprintf (f, "%ld\n", i); |
|
|
9753 | } |
|
|
9754 | else |
|
|
9755 | { |
|
|
9756 | unsigned long int i = ulongval (); |
|
|
9757 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9758 | return 1; |
|
|
9759 | fprintf (f, "%lu\n", i); |
|
|
9760 | } |
|
|
9761 | return ferror (f) || fclose (f) != 0; |
|
|
9762 | |
|
|
9763 | ; |
|
|
9764 | return 0; |
|
|
9765 | } |
|
|
9766 | _ACEOF |
|
|
9767 | rm -f conftest$ac_exeext |
|
|
9768 | if { (ac_try="$ac_link" |
|
|
9769 | case "(($ac_try" in |
|
|
9770 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9771 | *) ac_try_echo=$ac_try;; |
|
|
9772 | esac |
|
|
9773 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9774 | (eval "$ac_link") 2>&5 |
|
|
9775 | ac_status=$? |
|
|
9776 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9777 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9778 | { (case "(($ac_try" in |
|
|
9779 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9780 | *) ac_try_echo=$ac_try;; |
|
|
9781 | esac |
|
|
9782 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9783 | (eval "$ac_try") 2>&5 |
|
|
9784 | ac_status=$? |
|
|
9785 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9786 | (exit $ac_status); }; }; then |
|
|
9787 | ac_cv_sizeof_int_p=`cat conftest.val` |
|
|
9788 | else |
|
|
9789 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9790 | echo "$as_me: failed program was:" >&5 |
|
|
9791 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9792 | |
|
|
9793 | ( exit $ac_status ) |
|
|
9794 | if test "$ac_cv_type_int_p" = yes; then |
|
|
9795 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9796 | See \`config.log' for more details." >&5 |
|
|
9797 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9798 | See \`config.log' for more details." >&2;} |
|
|
9799 | { (exit 77); exit 77; }; } |
|
|
9800 | else |
|
|
9801 | ac_cv_sizeof_int_p=0 |
|
|
9802 | fi |
|
|
9803 | fi |
|
|
9804 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9805 | fi |
|
|
9806 | rm -f conftest.val |
|
|
9807 | fi |
|
|
9808 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5 |
|
|
9809 | echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; } |
|
|
9810 | |
|
|
9811 | |
|
|
9812 | |
|
|
9813 | cat >>confdefs.h <<_ACEOF |
|
|
9814 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
|
|
9815 | _ACEOF |
|
|
9816 | |
|
|
9817 | |
|
|
9818 | |
|
|
9819 | |
|
|
9820 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
|
|
9821 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
|
|
9822 | if test "${rxvt_cv_int16_t+set}" = set; then |
|
|
9823 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9824 | else |
|
|
9825 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9826 | /* confdefs.h. */ |
|
|
9827 | _ACEOF |
|
|
9828 | cat confdefs.h >>conftest.$ac_ext |
|
|
9829 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9830 | /* end confdefs.h. */ |
|
|
9831 | #include <stdint.h> |
|
|
9832 | int |
|
|
9833 | main () |
|
|
9834 | { |
|
|
9835 | int16_t dummy; |
|
|
9836 | ; |
|
|
9837 | return 0; |
|
|
9838 | } |
|
|
9839 | _ACEOF |
|
|
9840 | rm -f conftest.$ac_objext |
|
|
9841 | if { (ac_try="$ac_compile" |
|
|
9842 | case "(($ac_try" in |
|
|
9843 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9844 | *) ac_try_echo=$ac_try;; |
|
|
9845 | esac |
|
|
9846 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9847 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9848 | ac_status=$? |
|
|
9849 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9850 | rm -f conftest.er1 |
|
|
9851 | cat conftest.err >&5 |
|
|
9852 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9853 | (exit $ac_status); } && { |
|
|
9854 | test -z "$ac_cxx_werror_flag" || |
|
|
9855 | test ! -s conftest.err |
|
|
9856 | } && test -s conftest.$ac_objext; then |
|
|
9857 | rxvt_cv_int16_t=yes |
|
|
9858 | else |
|
|
9859 | echo "$as_me: failed program was:" >&5 |
|
|
9860 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9861 | |
|
|
9862 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9863 | rxvt_cv_int16_t=" char" |
|
|
9864 | else |
|
|
9865 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9866 | rxvt_cv_int16_t=" short" |
|
|
9867 | else |
|
|
9868 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9869 | rxvt_cv_int16_t=" int" |
|
|
9870 | else |
|
|
9871 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9872 | rxvt_cv_int16_t=" long" |
|
|
9873 | else |
|
|
9874 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9875 | rxvt_cv_int16_t=" long long" |
|
|
9876 | else |
|
|
9877 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
|
|
9878 | fi |
|
|
9879 | fi |
|
|
9880 | fi |
|
|
9881 | fi |
|
|
9882 | fi |
|
|
9883 | fi |
|
|
9884 | |
|
|
9885 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9886 | fi |
|
|
9887 | { echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5 |
|
|
9888 | echo "${ECHO_T}$rxvt_cv_int16_t" >&6; } |
|
|
9889 | if test x"$rxvt_cv_int16_t" != xyes; then |
|
|
9890 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
|
|
9891 | else |
|
|
9892 | if test x"" = x; then |
|
|
9893 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9894 | else |
|
|
9895 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9896 | fi |
|
|
9897 | fi |
|
|
9898 | |
|
|
9899 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
9900 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
9901 | if test "${rxvt_cv_uint16_t+set}" = set; then |
|
|
9902 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9903 | else |
|
|
9904 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9905 | /* confdefs.h. */ |
|
|
9906 | _ACEOF |
|
|
9907 | cat confdefs.h >>conftest.$ac_ext |
|
|
9908 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9909 | /* end confdefs.h. */ |
|
|
9910 | #include <stdint.h> |
|
|
9911 | int |
|
|
9912 | main () |
|
|
9913 | { |
|
|
9914 | uint16_t dummy; |
|
|
9915 | ; |
|
|
9916 | return 0; |
|
|
9917 | } |
|
|
9918 | _ACEOF |
|
|
9919 | rm -f conftest.$ac_objext |
|
|
9920 | if { (ac_try="$ac_compile" |
|
|
9921 | case "(($ac_try" in |
|
|
9922 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9923 | *) ac_try_echo=$ac_try;; |
|
|
9924 | esac |
|
|
9925 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9926 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9927 | ac_status=$? |
|
|
9928 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9929 | rm -f conftest.er1 |
|
|
9930 | cat conftest.err >&5 |
|
|
9931 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9932 | (exit $ac_status); } && { |
|
|
9933 | test -z "$ac_cxx_werror_flag" || |
|
|
9934 | test ! -s conftest.err |
|
|
9935 | } && test -s conftest.$ac_objext; then |
|
|
9936 | rxvt_cv_uint16_t=yes |
|
|
9937 | else |
|
|
9938 | echo "$as_me: failed program was:" >&5 |
|
|
9939 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9940 | |
|
|
9941 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9942 | rxvt_cv_uint16_t="unsigned char" |
|
|
9943 | else |
|
|
9944 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9945 | rxvt_cv_uint16_t="unsigned short" |
|
|
9946 | else |
|
|
9947 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9948 | rxvt_cv_uint16_t="unsigned int" |
|
|
9949 | else |
|
|
9950 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9951 | rxvt_cv_uint16_t="unsigned long" |
|
|
9952 | else |
|
|
9953 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9954 | rxvt_cv_uint16_t="unsigned long long" |
|
|
9955 | else |
|
|
9956 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
|
|
9957 | fi |
|
|
9958 | fi |
|
|
9959 | fi |
|
|
9960 | fi |
|
|
9961 | fi |
|
|
9962 | fi |
|
|
9963 | |
|
|
9964 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9965 | fi |
|
|
9966 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5 |
|
|
9967 | echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; } |
|
|
9968 | if test x"$rxvt_cv_uint16_t" != xyes; then |
|
|
9969 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
|
|
9970 | else |
|
|
9971 | if test x"unsigned" = x; then |
|
|
9972 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
|
|
9973 | else |
|
|
9974 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
|
|
9975 | fi |
|
|
9976 | fi |
|
|
9977 | |
|
|
9978 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
9979 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
9980 | if test "${rxvt_cv_int32_t+set}" = set; then |
|
|
9981 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9982 | else |
|
|
9983 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9984 | /* confdefs.h. */ |
|
|
9985 | _ACEOF |
|
|
9986 | cat confdefs.h >>conftest.$ac_ext |
|
|
9987 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9988 | /* end confdefs.h. */ |
|
|
9989 | #include <stdint.h> |
|
|
9990 | int |
|
|
9991 | main () |
|
|
9992 | { |
|
|
9993 | int32_t dummy; |
|
|
9994 | ; |
|
|
9995 | return 0; |
|
|
9996 | } |
|
|
9997 | _ACEOF |
|
|
9998 | rm -f conftest.$ac_objext |
|
|
9999 | if { (ac_try="$ac_compile" |
|
|
10000 | case "(($ac_try" in |
|
|
10001 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10002 | *) ac_try_echo=$ac_try;; |
|
|
10003 | esac |
|
|
10004 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10005 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10006 | ac_status=$? |
|
|
10007 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10008 | rm -f conftest.er1 |
|
|
10009 | cat conftest.err >&5 |
|
|
10010 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10011 | (exit $ac_status); } && { |
|
|
10012 | test -z "$ac_cxx_werror_flag" || |
|
|
10013 | test ! -s conftest.err |
|
|
10014 | } && test -s conftest.$ac_objext; then |
|
|
10015 | rxvt_cv_int32_t=yes |
|
|
10016 | else |
|
|
10017 | echo "$as_me: failed program was:" >&5 |
|
|
10018 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10019 | |
|
|
10020 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
10021 | rxvt_cv_int32_t=" char" |
|
|
10022 | else |
|
|
10023 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
10024 | rxvt_cv_int32_t=" short" |
|
|
10025 | else |
|
|
10026 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
10027 | rxvt_cv_int32_t=" int" |
|
|
10028 | else |
|
|
10029 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
10030 | rxvt_cv_int32_t=" long" |
|
|
10031 | else |
|
|
10032 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
10033 | rxvt_cv_int32_t=" long long" |
|
|
10034 | else |
|
|
10035 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
|
|
10036 | fi |
|
|
10037 | fi |
|
|
10038 | fi |
|
|
10039 | fi |
|
|
10040 | fi |
|
|
10041 | fi |
|
|
10042 | |
|
|
10043 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10044 | fi |
|
|
10045 | { echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5 |
|
|
10046 | echo "${ECHO_T}$rxvt_cv_int32_t" >&6; } |
|
|
10047 | if test x"$rxvt_cv_int32_t" != xyes; then |
|
|
10048 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
|
|
10049 | else |
|
|
10050 | if test x"" = x; then |
|
|
10051 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
10052 | else |
|
|
10053 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
10054 | fi |
|
|
10055 | fi |
|
|
10056 | |
|
|
10057 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
10058 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
10059 | if test "${rxvt_cv_uint32_t+set}" = set; then |
|
|
10060 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10061 | else |
|
|
10062 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10063 | /* confdefs.h. */ |
|
|
10064 | _ACEOF |
|
|
10065 | cat confdefs.h >>conftest.$ac_ext |
|
|
10066 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10067 | /* end confdefs.h. */ |
|
|
10068 | #include <stdint.h> |
|
|
10069 | int |
|
|
10070 | main () |
|
|
10071 | { |
|
|
10072 | uint32_t dummy; |
|
|
10073 | ; |
|
|
10074 | return 0; |
|
|
10075 | } |
|
|
10076 | _ACEOF |
|
|
10077 | rm -f conftest.$ac_objext |
|
|
10078 | if { (ac_try="$ac_compile" |
|
|
10079 | case "(($ac_try" in |
|
|
10080 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10081 | *) ac_try_echo=$ac_try;; |
|
|
10082 | esac |
|
|
10083 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10084 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10085 | ac_status=$? |
|
|
10086 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10087 | rm -f conftest.er1 |
|
|
10088 | cat conftest.err >&5 |
|
|
10089 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10090 | (exit $ac_status); } && { |
|
|
10091 | test -z "$ac_cxx_werror_flag" || |
|
|
10092 | test ! -s conftest.err |
|
|
10093 | } && test -s conftest.$ac_objext; then |
|
|
10094 | rxvt_cv_uint32_t=yes |
|
|
10095 | else |
|
|
10096 | echo "$as_me: failed program was:" >&5 |
|
|
10097 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10098 | |
|
|
10099 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
10100 | rxvt_cv_uint32_t="unsigned char" |
|
|
10101 | else |
|
|
10102 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
10103 | rxvt_cv_uint32_t="unsigned short" |
|
|
10104 | else |
|
|
10105 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
10106 | rxvt_cv_uint32_t="unsigned int" |
|
|
10107 | else |
|
|
10108 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
10109 | rxvt_cv_uint32_t="unsigned long" |
|
|
10110 | else |
|
|
10111 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
10112 | rxvt_cv_uint32_t="unsigned long long" |
|
|
10113 | else |
|
|
10114 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
|
|
10115 | fi |
|
|
10116 | fi |
|
|
10117 | fi |
|
|
10118 | fi |
|
|
10119 | fi |
|
|
10120 | fi |
|
|
10121 | |
|
|
10122 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10123 | fi |
|
|
10124 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5 |
|
|
10125 | echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; } |
|
|
10126 | if test x"$rxvt_cv_uint32_t" != xyes; then |
|
|
10127 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
|
|
10128 | else |
|
|
10129 | if test x"unsigned" = x; then |
|
|
10130 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
|
|
10131 | else |
|
|
10132 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
|
|
10133 | fi |
|
|
10134 | fi |
|
|
10135 | |
|
|
10136 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
|
|
10137 | rxvt_intp_define="#define intp_t int64_t" |
|
|
10138 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
|
|
10139 | else |
|
|
10140 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
|
|
10141 | rxvt_intp_define="#define intp_t int32_t" |
|
|
10142 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
|
|
10143 | else |
|
|
10144 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
|
|
10145 | rxvt_intp_define="#define intp_t int16_t" |
|
|
10146 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
|
|
10147 | else |
|
|
10148 | rxvt_intp_define="#error set intp_t" |
|
|
10149 | rxvt_u_intp_define="#error set u_intp_t" |
|
|
10150 | fi |
|
|
10151 | fi |
|
|
10152 | fi |
|
|
10153 | |
|
|
10154 | |
|
|
10155 | |
|
|
10156 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
10157 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
|
|
10158 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
10159 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10160 | else |
|
|
10161 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10162 | /* confdefs.h. */ |
|
|
10163 | _ACEOF |
|
|
10164 | cat confdefs.h >>conftest.$ac_ext |
|
|
10165 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10166 | /* end confdefs.h. */ |
|
|
10167 | #include <sys/types.h> |
|
|
10168 | #include <signal.h> |
|
|
10169 | |
|
|
10170 | int |
|
|
10171 | main () |
|
|
10172 | { |
|
|
10173 | return *(signal (0, 0)) (0) == 1; |
|
|
10174 | ; |
|
|
10175 | return 0; |
|
|
10176 | } |
|
|
10177 | _ACEOF |
|
|
10178 | rm -f conftest.$ac_objext |
|
|
10179 | if { (ac_try="$ac_compile" |
|
|
10180 | case "(($ac_try" in |
|
|
10181 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10182 | *) ac_try_echo=$ac_try;; |
|
|
10183 | esac |
|
|
10184 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10185 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10186 | ac_status=$? |
|
|
10187 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10188 | rm -f conftest.er1 |
|
|
10189 | cat conftest.err >&5 |
|
|
10190 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10191 | (exit $ac_status); } && { |
|
|
10192 | test -z "$ac_cxx_werror_flag" || |
|
|
10193 | test ! -s conftest.err |
|
|
10194 | } && test -s conftest.$ac_objext; then |
|
|
10195 | ac_cv_type_signal=int |
|
|
10196 | else |
|
|
10197 | echo "$as_me: failed program was:" >&5 |
|
|
10198 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10199 | |
|
|
10200 | ac_cv_type_signal=void |
|
|
10201 | fi |
|
|
10202 | |
|
|
10203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10204 | fi |
|
|
10205 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
10206 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
|
|
10207 | |
|
|
10208 | cat >>confdefs.h <<_ACEOF |
|
|
10209 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
10210 | _ACEOF |
|
|
10211 | |
|
|
10212 | |
8224 | |
10213 | |
8225 | |
10214 | |
8226 | |
10215 | for ac_func in unsetenv |
8227 | for ac_func in unsetenv |
10216 | do |
8228 | do |
… | |
… | |
10457 | fi |
8469 | fi |
10458 | done |
8470 | done |
10459 | |
8471 | |
10460 | |
8472 | |
10461 | |
8473 | |
10462 | |
|
|
10463 | |
|
|
10464 | for ac_header in \ |
8474 | for ac_header in lastlog.h |
10465 | utmp.h \ |
|
|
10466 | utmpx.h \ |
|
|
10467 | lastlog.h \ |
|
|
10468 | |
|
|
10469 | do |
8475 | do |
10470 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8476 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10471 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8477 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10472 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8478 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10473 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8479 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
10604 | |
8610 | |
10605 | done |
8611 | done |
10606 | |
8612 | |
10607 | |
8613 | |
10608 | |
8614 | |
10609 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8615 | |
|
|
8616 | for ac_header in utmp.h |
|
|
8617 | do |
|
|
8618 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8619 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10610 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8620 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10611 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8621 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10612 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8622 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10613 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8623 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10614 | fi |
8624 | fi |
|
|
8625 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10615 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8626 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10616 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8627 | echo "${ECHO_T}$ac_res" >&6; } |
10617 | else |
8628 | else |
10618 | # Is the header compilable? |
8629 | # Is the header compilable? |
10619 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
8630 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10620 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
8631 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10621 | cat >conftest.$ac_ext <<_ACEOF |
8632 | cat >conftest.$ac_ext <<_ACEOF |
10622 | /* confdefs.h. */ |
8633 | /* confdefs.h. */ |
10623 | _ACEOF |
8634 | _ACEOF |
10624 | cat confdefs.h >>conftest.$ac_ext |
8635 | cat confdefs.h >>conftest.$ac_ext |
10625 | cat >>conftest.$ac_ext <<_ACEOF |
8636 | cat >>conftest.$ac_ext <<_ACEOF |
10626 | /* end confdefs.h. */ |
8637 | /* end confdefs.h. */ |
10627 | $ac_includes_default |
8638 | $ac_includes_default |
10628 | #include <utmp.h> |
8639 | #include <$ac_header> |
10629 | _ACEOF |
8640 | _ACEOF |
10630 | rm -f conftest.$ac_objext |
8641 | rm -f conftest.$ac_objext |
10631 | if { (ac_try="$ac_compile" |
8642 | if { (ac_try="$ac_compile" |
10632 | case "(($ac_try" in |
8643 | case "(($ac_try" in |
10633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8644 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10655 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10656 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8667 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10657 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8668 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10658 | |
8669 | |
10659 | # Is the header present? |
8670 | # Is the header present? |
10660 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
8671 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10661 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
8672 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10662 | cat >conftest.$ac_ext <<_ACEOF |
8673 | cat >conftest.$ac_ext <<_ACEOF |
10663 | /* confdefs.h. */ |
8674 | /* confdefs.h. */ |
10664 | _ACEOF |
8675 | _ACEOF |
10665 | cat confdefs.h >>conftest.$ac_ext |
8676 | cat confdefs.h >>conftest.$ac_ext |
10666 | cat >>conftest.$ac_ext <<_ACEOF |
8677 | cat >>conftest.$ac_ext <<_ACEOF |
10667 | /* end confdefs.h. */ |
8678 | /* end confdefs.h. */ |
10668 | #include <utmp.h> |
8679 | #include <$ac_header> |
10669 | _ACEOF |
8680 | _ACEOF |
10670 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8681 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10671 | case "(($ac_try" in |
8682 | case "(($ac_try" in |
10672 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8683 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10673 | *) ac_try_echo=$ac_try;; |
8684 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10696 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8707 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10697 | |
8708 | |
10698 | # So? What about this header? |
8709 | # So? What about this header? |
10699 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8710 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10700 | yes:no: ) |
8711 | yes:no: ) |
10701 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8712 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
10702 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8713 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
10703 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
8714 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
10704 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
8715 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10705 | ac_header_preproc=yes |
8716 | ac_header_preproc=yes |
10706 | ;; |
8717 | ;; |
10707 | no:yes:* ) |
8718 | no:yes:* ) |
10708 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
8719 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
10709 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
8720 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
10710 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
8721 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
10711 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
8722 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
10712 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
8723 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10713 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
8724 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
10714 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
8725 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
10715 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8726 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
10716 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
8727 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
10717 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
8728 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
10718 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
8729 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
10719 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
8730 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10720 | |
8731 | |
10721 | ;; |
8732 | ;; |
10722 | esac |
8733 | esac |
10723 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8734 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10724 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8735 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10725 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8736 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10726 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8737 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10727 | else |
8738 | else |
10728 | ac_cv_header_utmp_h=$ac_header_preproc |
8739 | eval "$as_ac_Header=\$ac_header_preproc" |
10729 | fi |
8740 | fi |
|
|
8741 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10730 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8742 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10731 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8743 | echo "${ECHO_T}$ac_res" >&6; } |
10732 | |
8744 | |
10733 | fi |
8745 | fi |
10734 | if test $ac_cv_header_utmp_h = yes; then |
8746 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
8747 | cat >>confdefs.h <<_ACEOF |
|
|
8748 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8749 | _ACEOF |
10735 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8750 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10736 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8751 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10737 | if test "${struct_utmp+set}" = set; then |
8752 | if test "${struct_utmp+set}" = set; then |
10738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8753 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10739 | else |
8754 | else |
10740 | cat >conftest.$ac_ext <<_ACEOF |
8755 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
10907 | |
8922 | |
10908 | fi |
8923 | fi |
10909 | |
8924 | |
10910 | fi |
8925 | fi |
10911 | |
8926 | |
|
|
8927 | done |
10912 | |
8928 | |
10913 | |
8929 | |
10914 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
8930 | |
|
|
8931 | for ac_header in utmpx.h |
|
|
8932 | do |
|
|
8933 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8934 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10915 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
8935 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10916 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
8936 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10917 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
8937 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10919 | fi |
8939 | fi |
|
|
8940 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10920 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
8941 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10921 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
8942 | echo "${ECHO_T}$ac_res" >&6; } |
10922 | else |
8943 | else |
10923 | # Is the header compilable? |
8944 | # Is the header compilable? |
10924 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
8945 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10925 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
8946 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10926 | cat >conftest.$ac_ext <<_ACEOF |
8947 | cat >conftest.$ac_ext <<_ACEOF |
10927 | /* confdefs.h. */ |
8948 | /* confdefs.h. */ |
10928 | _ACEOF |
8949 | _ACEOF |
10929 | cat confdefs.h >>conftest.$ac_ext |
8950 | cat confdefs.h >>conftest.$ac_ext |
10930 | cat >>conftest.$ac_ext <<_ACEOF |
8951 | cat >>conftest.$ac_ext <<_ACEOF |
10931 | /* end confdefs.h. */ |
8952 | /* end confdefs.h. */ |
10932 | $ac_includes_default |
8953 | $ac_includes_default |
10933 | #include <utmpx.h> |
8954 | #include <$ac_header> |
10934 | _ACEOF |
8955 | _ACEOF |
10935 | rm -f conftest.$ac_objext |
8956 | rm -f conftest.$ac_objext |
10936 | if { (ac_try="$ac_compile" |
8957 | if { (ac_try="$ac_compile" |
10937 | case "(($ac_try" in |
8958 | case "(($ac_try" in |
10938 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8959 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10960 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8981 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10961 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8982 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10962 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8983 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10963 | |
8984 | |
10964 | # Is the header present? |
8985 | # Is the header present? |
10965 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
8986 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10966 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
8987 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10967 | cat >conftest.$ac_ext <<_ACEOF |
8988 | cat >conftest.$ac_ext <<_ACEOF |
10968 | /* confdefs.h. */ |
8989 | /* confdefs.h. */ |
10969 | _ACEOF |
8990 | _ACEOF |
10970 | cat confdefs.h >>conftest.$ac_ext |
8991 | cat confdefs.h >>conftest.$ac_ext |
10971 | cat >>conftest.$ac_ext <<_ACEOF |
8992 | cat >>conftest.$ac_ext <<_ACEOF |
10972 | /* end confdefs.h. */ |
8993 | /* end confdefs.h. */ |
10973 | #include <utmpx.h> |
8994 | #include <$ac_header> |
10974 | _ACEOF |
8995 | _ACEOF |
10975 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8996 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10976 | case "(($ac_try" in |
8997 | case "(($ac_try" in |
10977 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8998 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10978 | *) ac_try_echo=$ac_try;; |
8999 | *) ac_try_echo=$ac_try;; |
… | |
… | |
11001 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9022 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
11002 | |
9023 | |
11003 | # So? What about this header? |
9024 | # So? What about this header? |
11004 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9025 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
11005 | yes:no: ) |
9026 | yes:no: ) |
11006 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9027 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
11007 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9028 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
11008 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
9029 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
11009 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
9030 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11010 | ac_header_preproc=yes |
9031 | ac_header_preproc=yes |
11011 | ;; |
9032 | ;; |
11012 | no:yes:* ) |
9033 | no:yes:* ) |
11013 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
9034 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
11014 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
9035 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
11015 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
9036 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
11016 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
9037 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
11017 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
9038 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11018 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
9039 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
11019 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
9040 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
11020 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9041 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
11021 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
9042 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
11022 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
9043 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
11023 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
9044 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
11024 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
9045 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11025 | |
9046 | |
11026 | ;; |
9047 | ;; |
11027 | esac |
9048 | esac |
11028 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9049 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11029 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9050 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11030 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9051 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11031 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9052 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11032 | else |
9053 | else |
11033 | ac_cv_header_utmpx_h=$ac_header_preproc |
9054 | eval "$as_ac_Header=\$ac_header_preproc" |
11034 | fi |
9055 | fi |
|
|
9056 | ac_res=`eval echo '${'$as_ac_Header'}'` |
11035 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9057 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11036 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9058 | echo "${ECHO_T}$ac_res" >&6; } |
11037 | |
9059 | |
11038 | fi |
9060 | fi |
11039 | if test $ac_cv_header_utmpx_h = yes; then |
9061 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
9062 | cat >>confdefs.h <<_ACEOF |
|
|
9063 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9064 | _ACEOF |
11040 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9065 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
11041 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9066 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
11042 | if test "${struct_utmpx+set}" = set; then |
9067 | if test "${struct_utmpx+set}" = set; then |
11043 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9068 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11044 | else |
9069 | else |
11045 | cat >conftest.$ac_ext <<_ACEOF |
9070 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
11212 | |
9237 | |
11213 | fi |
9238 | fi |
11214 | |
9239 | |
11215 | fi |
9240 | fi |
11216 | |
9241 | |
|
|
9242 | done |
11217 | |
9243 | |
11218 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9244 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11219 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9245 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
11220 | if test "${struct_lastlog+set}" = set; then |
9246 | if test "${struct_lastlog+set}" = set; then |
11221 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9247 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
13024 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
11050 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
13025 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
11051 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13026 | fi |
11052 | fi |
13027 | fi |
11053 | fi |
13028 | |
11054 | |
|
|
11055 | save_LIBS="$LIBS" |
|
|
11056 | LIBS="$LIBS $X_LIBS" |
13029 | |
11057 | |
13030 | for ac_header in X11/Xft/Xft.h |
11058 | for ac_header in X11/Xft/Xft.h |
13031 | do |
11059 | do |
13032 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11060 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13033 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11061 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13166 | support_xft=no |
11194 | support_xft=no |
13167 | fi |
11195 | fi |
13168 | |
11196 | |
13169 | done |
11197 | done |
13170 | |
11198 | |
13171 | ac_save_LIBS="$LIBS" |
|
|
13172 | LIBS="$LIBS $X_LIBS" |
|
|
13173 | |
|
|
13174 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
11199 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13175 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
11200 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13176 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
11201 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11202 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13178 | else |
11203 | else |
13179 | ac_check_lib_save_LIBS=$LIBS |
11204 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13231 | LIBS=$ac_check_lib_save_LIBS |
11256 | LIBS=$ac_check_lib_save_LIBS |
13232 | fi |
11257 | fi |
13233 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
11258 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13234 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
11259 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13235 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
11260 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13236 | cat >>confdefs.h <<_ACEOF |
11261 | : |
13237 | #define HAVE_LIBXFT 1 |
|
|
13238 | _ACEOF |
|
|
13239 | |
|
|
13240 | LIBS="-lXft $LIBS" |
|
|
13241 | |
|
|
13242 | else |
11262 | else |
13243 | support_xft=no |
11263 | support_xft=no |
13244 | fi |
11264 | fi |
13245 | |
11265 | |
13246 | LIBS="$ac_save_LIBS" |
11266 | LIBS="$save_LIBS" |
13247 | |
11267 | |
13248 | if test x$support_xft = xyes; then |
11268 | if test x$support_xft = xyes; then |
13249 | |
11269 | |
13250 | cat >>confdefs.h <<\_ACEOF |
11270 | cat >>confdefs.h <<\_ACEOF |
13251 | #define XFT 1 |
11271 | #define XFT 1 |
… | |
… | |
13646 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
11666 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
13647 | include_stdint_h="#include <stdint.h>" |
11667 | include_stdint_h="#include <stdint.h>" |
13648 | else |
11668 | else |
13649 | include_stdint_h="/* #include <stdint.h> */" |
11669 | include_stdint_h="/* #include <stdint.h> */" |
13650 | fi |
11670 | fi |
13651 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13652 | include_stdarg_h="#include <cstdarg>" |
|
|
13653 | else |
|
|
13654 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
13655 | fi |
|
|
13656 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13657 | include_stdlib_h="#include <cstdlib>" |
|
|
13658 | else |
|
|
13659 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
13660 | fi |
|
|
13661 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13662 | include_unistd_h="#include <unistd.h>" |
|
|
13663 | else |
|
|
13664 | include_unistd_h="/* #include <unistd.h> */" |
|
|
13665 | fi |
|
|
13666 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13667 | include_string_h="#include <cstring>" |
|
|
13668 | else |
|
|
13669 | include_string_h="/* #include <cstring> */" |
|
|
13670 | fi |
|
|
13671 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13672 | include_fcntl_h="#include <fcntl.h>" |
|
|
13673 | else |
|
|
13674 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
13675 | fi |
|
|
13676 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13677 | include_util_h="#include <util.h>" |
|
|
13678 | else |
|
|
13679 | include_util_h="/* #include <util.h> */" |
|
|
13680 | fi |
|
|
13681 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13682 | include_assert_h="#include <assert.h>" |
|
|
13683 | else |
|
|
13684 | include_assert_h="/* #include <assert.h> */" |
|
|
13685 | fi |
|
|
13686 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
11671 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
13687 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
11672 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
13688 | else |
11673 | else |
13689 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
11674 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
13690 | fi |
11675 | fi |
13691 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13692 | include_sys_select_h="#include <sys/select.h>" |
|
|
13693 | else |
|
|
13694 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
13695 | fi |
|
|
13696 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
11676 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
13697 | include_sys_strredir_h="#include <sys/strredir.h>" |
11677 | include_sys_strredir_h="#include <sys/strredir.h>" |
13698 | else |
11678 | else |
13699 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
11679 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
13700 | fi |
|
|
13701 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13702 | include_sys_time_h="#include <sys/time.h>" |
|
|
13703 | else |
|
|
13704 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
13705 | fi |
|
|
13706 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
13707 | include_time_h="#include <time.h>" |
|
|
13708 | else |
|
|
13709 | include_time_h="/* #include <time.h> */" |
|
|
13710 | fi |
11680 | fi |
13711 | |
11681 | |
13712 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11682 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
13713 | |
11683 | |
13714 | cat >confcache <<\_ACEOF |
11684 | cat >confcache <<\_ACEOF |
… | |
… | |
14375 | host_cpu!$host_cpu$ac_delim |
12345 | host_cpu!$host_cpu$ac_delim |
14376 | host_vendor!$host_vendor$ac_delim |
12346 | host_vendor!$host_vendor$ac_delim |
14377 | host_os!$host_os$ac_delim |
12347 | host_os!$host_os$ac_delim |
14378 | VERSION!$VERSION$ac_delim |
12348 | VERSION!$VERSION$ac_delim |
14379 | DATE!$DATE$ac_delim |
12349 | DATE!$DATE$ac_delim |
14380 | LSMDATE!$LSMDATE$ac_delim |
|
|
14381 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14382 | CC!$CC$ac_delim |
12350 | CC!$CC$ac_delim |
14383 | CFLAGS!$CFLAGS$ac_delim |
12351 | CFLAGS!$CFLAGS$ac_delim |
14384 | LDFLAGS!$LDFLAGS$ac_delim |
12352 | LDFLAGS!$LDFLAGS$ac_delim |
14385 | CPPFLAGS!$CPPFLAGS$ac_delim |
12353 | CPPFLAGS!$CPPFLAGS$ac_delim |
14386 | ac_ct_CC!$ac_ct_CC$ac_delim |
12354 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14394 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
12362 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14395 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
12363 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14396 | GREP!$GREP$ac_delim |
12364 | GREP!$GREP$ac_delim |
14397 | EGREP!$EGREP$ac_delim |
12365 | EGREP!$EGREP$ac_delim |
14398 | LINKER!$LINKER$ac_delim |
12366 | LINKER!$LINKER$ac_delim |
14399 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14400 | RXVTNAME!$RXVTNAME$ac_delim |
12367 | RXVTNAME!$RXVTNAME$ac_delim |
14401 | CXXCPP!$CXXCPP$ac_delim |
12368 | CXXCPP!$CXXCPP$ac_delim |
14402 | TIC!$TIC$ac_delim |
12369 | TIC!$TIC$ac_delim |
14403 | XMKMF!$XMKMF$ac_delim |
12370 | XMKMF!$XMKMF$ac_delim |
14404 | X_CFLAGS!$X_CFLAGS$ac_delim |
12371 | X_CFLAGS!$X_CFLAGS$ac_delim |
14405 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
12372 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14406 | X_LIBS!$X_LIBS$ac_delim |
12373 | X_LIBS!$X_LIBS$ac_delim |
14407 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
12374 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14408 | afterimage_config!$afterimage_config$ac_delim |
12375 | afterimage_config!$afterimage_config$ac_delim |
14409 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
|
|
14410 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
|
|
14411 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
|
|
14412 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
|
|
14413 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
|
|
14414 | rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim |
|
|
14415 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
12376 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
14416 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
12377 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14417 | PERL!$PERL$ac_delim |
12378 | PERL!$PERL$ac_delim |
14418 | PERLLIB!$PERLLIB$ac_delim |
12379 | PERLLIB!$PERLLIB$ac_delim |
14419 | PERLFLAGS!$PERLFLAGS$ac_delim |
12380 | PERLFLAGS!$PERLFLAGS$ac_delim |
… | |
… | |
14421 | IF_PERL!$IF_PERL$ac_delim |
12382 | IF_PERL!$IF_PERL$ac_delim |
14422 | PERL_O!$PERL_O$ac_delim |
12383 | PERL_O!$PERL_O$ac_delim |
14423 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12384 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14424 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12385 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14425 | include_stdint_h!$include_stdint_h$ac_delim |
12386 | include_stdint_h!$include_stdint_h$ac_delim |
14426 | include_stdarg_h!$include_stdarg_h$ac_delim |
|
|
14427 | include_stdlib_h!$include_stdlib_h$ac_delim |
12387 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14428 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14429 | include_string_h!$include_string_h$ac_delim |
12388 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
12389 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
12390 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14430 | _ACEOF |
12391 | _ACEOF |
14431 | |
12392 | |
14432 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
12393 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then |
14433 | break |
12394 | break |
14434 | elif $ac_last_try; then |
12395 | elif $ac_last_try; then |
14435 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12396 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14436 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12397 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14437 | { (exit 1); exit 1; }; } |
12398 | { (exit 1); exit 1; }; } |
… | |
… | |
14446 | ac_eof=`expr $ac_eof + 1` |
12407 | ac_eof=`expr $ac_eof + 1` |
14447 | fi |
12408 | fi |
14448 | |
12409 | |
14449 | cat >>$CONFIG_STATUS <<_ACEOF |
12410 | cat >>$CONFIG_STATUS <<_ACEOF |
14450 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
12411 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
14451 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
14452 | _ACEOF |
|
|
14453 | sed ' |
|
|
14454 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
14455 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
14456 | :n |
|
|
14457 | t n |
|
|
14458 | s/'"$ac_delim"'$/,g/; t |
|
|
14459 | s/$/\\/; p |
|
|
14460 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
14461 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
14462 | rm -f conf$$subs.sed |
|
|
14463 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14464 | CEOF$ac_eof |
|
|
14465 | _ACEOF |
|
|
14466 | |
|
|
14467 | |
|
|
14468 | ac_delim='%!_!# ' |
|
|
14469 | for ac_last_try in false false false false false :; do |
|
|
14470 | cat >conf$$subs.sed <<_ACEOF |
|
|
14471 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14472 | include_util_h!$include_util_h$ac_delim |
|
|
14473 | include_assert_h!$include_assert_h$ac_delim |
|
|
14474 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
|
|
14475 | include_sys_select_h!$include_sys_select_h$ac_delim |
|
|
14476 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
14477 | include_sys_time_h!$include_sys_time_h$ac_delim |
|
|
14478 | include_time_h!$include_time_h$ac_delim |
|
|
14479 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
14480 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
14481 | _ACEOF |
|
|
14482 | |
|
|
14483 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
|
|
14484 | break |
|
|
14485 | elif $ac_last_try; then |
|
|
14486 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
14487 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
14488 | { (exit 1); exit 1; }; } |
|
|
14489 | else |
|
|
14490 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
14491 | fi |
|
|
14492 | done |
|
|
14493 | |
|
|
14494 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
14495 | if test -n "$ac_eof"; then |
|
|
14496 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
14497 | ac_eof=`expr $ac_eof + 1` |
|
|
14498 | fi |
|
|
14499 | |
|
|
14500 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14501 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
14502 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
12412 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14503 | _ACEOF |
12413 | _ACEOF |
14504 | sed ' |
12414 | sed ' |
14505 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
12415 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14506 | s/^/s,@/; s/!/@,|#_!!_#|/ |
12416 | s/^/s,@/; s/!/@,|#_!!_#|/ |
… | |
… | |
14759 | s&@builddir@&$ac_builddir&;t t |
12669 | s&@builddir@&$ac_builddir&;t t |
14760 | s&@abs_builddir@&$ac_abs_builddir&;t t |
12670 | s&@abs_builddir@&$ac_abs_builddir&;t t |
14761 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
12671 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14762 | s&@INSTALL@&$ac_INSTALL&;t t |
12672 | s&@INSTALL@&$ac_INSTALL&;t t |
14763 | $ac_datarootdir_hack |
12673 | $ac_datarootdir_hack |
14764 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
12674 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
14765 | |
12675 | |
14766 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
12676 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14767 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
12677 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14768 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
12678 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14769 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
12679 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |