… | |
… | |
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 |
703 | PERLPRIVLIBEXP |
694 | PERLPRIVLIBEXP |
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 |
|
|
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 |
|
|
717 | include_sys_select_h |
|
|
718 | include_sys_strredir_h |
|
|
719 | include_sys_time_h |
|
|
720 | include_time_h |
|
|
721 | LIBOBJS |
699 | LIBOBJS |
722 | LTLIBOBJS' |
700 | LTLIBOBJS' |
723 | ac_subst_files='' |
701 | ac_subst_files='' |
724 | ac_precious_vars='build_alias |
702 | ac_precious_vars='build_alias |
725 | host_alias |
703 | host_alias |
… | |
… | |
1315 | |
1293 | |
1316 | Optional Features: |
1294 | Optional Features: |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1319 | --enable-everything enable standard non-multichoice features |
1297 | --enable-everything enable standard non-multichoice features |
1320 | NOTE: this option is order dependent |
1298 | NOTE: this option is order dependent |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1299 | --enable-warnings turn on g++ warnings |
1323 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1300 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1324 | --enable-combining enable composition of base and combining characters |
1301 | --enable-combining enable composition of base and combining characters |
1325 | --enable-xft enable xft support on systems that have it |
1302 | --enable-xft enable xft support on systems that have it |
1326 | --enable-font-styles enable bold and italic support |
1303 | --enable-font-styles enable bold and italic support |
1327 | --enable-afterimage enable integration with libAfterImage for background images |
1304 | --enable-afterimage enable integration with libAfterImage for background images |
1328 | --enable-transparency enable transparent backgrounds |
1305 | --enable-transparency enable transparent backgrounds |
1329 | --enable-fading enable colors fading when off focus |
1306 | --enable-fading enable colors fading when off focus |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1307 | --enable-rxvt-scroll enable rxvt style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1308 | --enable-next-scroll enable NeXT style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1309 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1310 | --enable-plain-scroll enable plain style scrollbar |
1333 | --enable-perl enable embedded perl interpreter |
1311 | --enable-perl enable embedded perl interpreter |
1334 | --enable-plain-scroll enable plain style scrollbar |
|
|
1335 | --enable-xim XIM (X Input Method) protocol support |
1312 | --enable-xim XIM (X Input Method) protocol support |
1336 | --disable-backspace-key disable handling of the backspace key |
1313 | --disable-backspace-key disable handling of the backspace key |
1337 | --disable-delete-key disable handling of the delete key |
1314 | --disable-delete-key disable handling of the delete key |
1338 | --disable-resources disable all resource checking |
1315 | --disable-resources disable all resource checking |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1316 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
… | |
… | |
1927 | echo "configuring for rxvt $VERSION" |
1904 | echo "configuring for rxvt $VERSION" |
1928 | echo "" |
1905 | echo "" |
1929 | |
1906 | |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
1907 | orig_CXXFLAGS="$CXXFLAGS" |
1931 | |
1908 | |
1932 | |
|
|
1933 | ac_ext=c |
1909 | ac_ext=c |
1934 | ac_cpp='$CPP $CPPFLAGS' |
1910 | ac_cpp='$CPP $CPPFLAGS' |
1935 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1911 | 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' |
1912 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1937 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1913 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3715 | echo "${ECHO_T}no" >&6; } |
3691 | echo "${ECHO_T}no" >&6; } |
3716 | fi |
3692 | fi |
3717 | rm -f conftest* |
3693 | rm -f conftest* |
3718 | |
3694 | |
3719 | |
3695 | |
|
|
3696 | |
|
|
3697 | cat >>confdefs.h <<\_ACEOF |
|
|
3698 | #define _GNU_SOURCE 1 |
|
|
3699 | _ACEOF |
|
|
3700 | |
|
|
3701 | |
3720 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3702 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3703 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | if test "${ac_cv_search_strerror+set}" = set; then |
3704 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3705 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | else |
3706 | else |
… | |
… | |
3871 | LINKER=$LINKER |
3853 | LINKER=$LINKER |
3872 | |
3854 | |
3873 | |
3855 | |
3874 | if test -z "$orig_CXXFLAGS"; then |
3856 | if test -z "$orig_CXXFLAGS"; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3857 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3858 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3859 | cat >conftest.$ac_ext <<_ACEOF |
3878 | /* confdefs.h. */ |
3860 | /* confdefs.h. */ |
3879 | _ACEOF |
3861 | _ACEOF |
3880 | cat confdefs.h >>conftest.$ac_ext |
3862 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
3863 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3919 | CXXFLAGS="-O" |
3901 | CXXFLAGS="-O" |
3920 | fi |
3902 | fi |
3921 | CFLAGS="$CXXFLAGS" |
3903 | CFLAGS="$CXXFLAGS" |
3922 | fi |
3904 | fi |
3923 | |
3905 | |
3924 | |
|
|
3925 | cat >>confdefs.h <<\_ACEOF |
|
|
3926 | #define _GNU_SOURCE 1 |
|
|
3927 | _ACEOF |
|
|
3928 | |
|
|
3929 | |
|
|
3930 | case $host in |
3906 | case $host in |
3931 | *-*-solaris* ) |
3907 | *-*-solaris* ) |
3932 | |
3908 | |
3933 | cat >>confdefs.h <<\_ACEOF |
3909 | cat >>confdefs.h <<\_ACEOF |
3934 | #define _XOPEN_SOURCE 500 |
3910 | #define _XOPEN_SOURCE 500 |
3935 | _ACEOF |
3911 | _ACEOF |
3936 | |
3912 | |
3937 | ;; |
3913 | ;; |
3938 | esac |
3914 | esac |
3939 | |
|
|
3940 | |
3915 | |
3941 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3916 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3942 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3917 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3943 | if test "${ac_cv_func_setlocale+set}" = set; then |
3918 | if test "${ac_cv_func_setlocale+set}" = set; then |
3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3919 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4389 | if test $ac_cv_lib_socket_socket = yes; then |
4364 | if test $ac_cv_lib_socket_socket = yes; then |
4390 | LIBS="$LIBS -lsocket" |
4365 | LIBS="$LIBS -lsocket" |
4391 | fi |
4366 | fi |
4392 | |
4367 | |
4393 | fi |
4368 | fi |
4394 | |
|
|
4395 | |
4369 | |
4396 | |
4370 | |
4397 | support_frills=yes |
4371 | support_frills=yes |
4398 | support_inheritpixmap=yes |
4372 | support_inheritpixmap=yes |
4399 | support_fading=yes |
4373 | support_fading=yes |
… | |
… | |
4416 | support_8bitctrls=no |
4390 | support_8bitctrls=no |
4417 | support_iso14755=yes |
4391 | support_iso14755=yes |
4418 | support_styles=yes |
4392 | support_styles=yes |
4419 | support_perl=yes |
4393 | support_perl=yes |
4420 | codesets=all |
4394 | codesets=all |
4421 | |
|
|
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 | |
4395 | |
4432 | |
4396 | |
4433 | # Check whether --enable-everything was given. |
4397 | # Check whether --enable-everything was given. |
4434 | if test "${enable_everything+set}" = set; then |
4398 | if test "${enable_everything+set}" = set; then |
4435 | enableval=$enable_everything; |
4399 | enableval=$enable_everything; |
… | |
… | |
4641 | support_scroll_xterm=$enableval |
4605 | support_scroll_xterm=$enableval |
4642 | fi |
4606 | fi |
4643 | fi |
4607 | fi |
4644 | |
4608 | |
4645 | |
4609 | |
|
|
4610 | # Check whether --enable-plain-scroll was given. |
|
|
4611 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4612 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4613 | support_scroll_plain=$enableval |
|
|
4614 | fi |
|
|
4615 | fi |
|
|
4616 | |
|
|
4617 | |
4646 | # Check whether --enable-perl was given. |
4618 | # Check whether --enable-perl was given. |
4647 | if test "${enable_perl+set}" = set; then |
4619 | if test "${enable_perl+set}" = set; then |
4648 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4620 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4649 | support_perl=$enableval |
4621 | 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 |
4622 | fi |
4659 | fi |
4623 | fi |
4660 | |
4624 | |
4661 | |
4625 | |
4662 | |
4626 | |
… | |
… | |
4892 | fi |
4856 | fi |
4893 | fi |
4857 | fi |
4894 | |
4858 | |
4895 | |
4859 | |
4896 | |
4860 | |
|
|
4861 | LIBEV_M4_AVOID_LIBRT=1 |
4897 | |
4862 | |
4898 | ac_ext=cpp |
4863 | ac_ext=cpp |
4899 | ac_cpp='$CXXCPP $CPPFLAGS' |
4864 | ac_cpp='$CXXCPP $CPPFLAGS' |
4900 | ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
4865 | 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' |
4866 | ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
… | |
… | |
5367 | |
5332 | |
5368 | |
5333 | |
5369 | |
5334 | |
5370 | |
5335 | |
5371 | |
5336 | |
|
|
5337 | |
|
|
5338 | |
|
|
5339 | |
5372 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
5340 | 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 |
5341 | do |
5374 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5342 | 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 |
5343 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5376 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5344 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5377 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5510 | |
5478 | |
5511 | |
5479 | |
5512 | |
5480 | |
5513 | |
5481 | |
5514 | |
5482 | |
|
|
5483 | |
|
|
5484 | |
|
|
5485 | |
5515 | for ac_func in epoll_ctl kqueue port_create |
5486 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5516 | do |
5487 | do |
5517 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5488 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5518 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5489 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5519 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5490 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5520 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5491 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5689 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5660 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5690 | if test $ac_cv_func_clock_gettime = yes; then |
5661 | if test $ac_cv_func_clock_gettime = yes; then |
5691 | : |
5662 | : |
5692 | else |
5663 | else |
5693 | |
5664 | |
|
|
5665 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5694 | |
5666 | |
5695 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5667 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5696 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5668 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5697 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5669 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5698 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
5760 | |
5732 | |
5761 | LIBS="-lrt $LIBS" |
5733 | LIBS="-lrt $LIBS" |
5762 | |
5734 | |
5763 | fi |
5735 | fi |
5764 | |
5736 | |
|
|
5737 | unset ac_cv_func_clock_gettime |
5765 | |
5738 | |
5766 | for ac_func in clock_gettime |
5739 | for ac_func in clock_gettime |
5767 | do |
5740 | do |
5768 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5741 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5769 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5742 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
5854 | _ACEOF |
5827 | _ACEOF |
5855 | |
5828 | |
5856 | fi |
5829 | fi |
5857 | done |
5830 | done |
5858 | |
5831 | |
|
|
5832 | fi |
|
|
5833 | |
|
|
5834 | fi |
|
|
5835 | |
|
|
5836 | |
|
|
5837 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5838 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5839 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5840 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5841 | else |
|
|
5842 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5843 | /* confdefs.h. */ |
|
|
5844 | _ACEOF |
|
|
5845 | cat confdefs.h >>conftest.$ac_ext |
|
|
5846 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5847 | /* end confdefs.h. */ |
|
|
5848 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5849 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5850 | #define nanosleep innocuous_nanosleep |
|
|
5851 | |
|
|
5852 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5853 | which can conflict with char nanosleep (); below. |
|
|
5854 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5855 | <limits.h> exists even on freestanding compilers. */ |
|
|
5856 | |
|
|
5857 | #ifdef __STDC__ |
|
|
5858 | # include <limits.h> |
|
|
5859 | #else |
|
|
5860 | # include <assert.h> |
|
|
5861 | #endif |
|
|
5862 | |
|
|
5863 | #undef nanosleep |
|
|
5864 | |
|
|
5865 | /* Override any GCC internal prototype to avoid an error. |
|
|
5866 | Use char because int might match the return type of a GCC |
|
|
5867 | builtin and then its argument prototype would still apply. */ |
|
|
5868 | #ifdef __cplusplus |
|
|
5869 | extern "C" |
|
|
5870 | #endif |
|
|
5871 | char nanosleep (); |
|
|
5872 | /* The GNU C library defines this for functions which it implements |
|
|
5873 | to always fail with ENOSYS. Some functions are actually named |
|
|
5874 | something starting with __ and the normal name is an alias. */ |
|
|
5875 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5876 | choke me |
|
|
5877 | #endif |
|
|
5878 | |
|
|
5879 | int |
|
|
5880 | main () |
|
|
5881 | { |
|
|
5882 | return nanosleep (); |
|
|
5883 | ; |
|
|
5884 | return 0; |
|
|
5885 | } |
|
|
5886 | _ACEOF |
|
|
5887 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5888 | if { (ac_try="$ac_link" |
|
|
5889 | case "(($ac_try" in |
|
|
5890 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5891 | *) ac_try_echo=$ac_try;; |
|
|
5892 | esac |
|
|
5893 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5894 | (eval "$ac_link") 2>conftest.er1 |
|
|
5895 | ac_status=$? |
|
|
5896 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5897 | rm -f conftest.er1 |
|
|
5898 | cat conftest.err >&5 |
|
|
5899 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5900 | (exit $ac_status); } && { |
|
|
5901 | test -z "$ac_cxx_werror_flag" || |
|
|
5902 | test ! -s conftest.err |
|
|
5903 | } && test -s conftest$ac_exeext && |
|
|
5904 | $as_test_x conftest$ac_exeext; then |
|
|
5905 | ac_cv_func_nanosleep=yes |
|
|
5906 | else |
|
|
5907 | echo "$as_me: failed program was:" >&5 |
|
|
5908 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5909 | |
|
|
5910 | ac_cv_func_nanosleep=no |
|
|
5911 | fi |
|
|
5912 | |
|
|
5913 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5914 | conftest$ac_exeext conftest.$ac_ext |
|
|
5915 | fi |
|
|
5916 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5917 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5918 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5919 | : |
|
|
5920 | else |
|
|
5921 | |
|
|
5922 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5923 | |
|
|
5924 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5925 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5926 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5927 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5928 | else |
|
|
5929 | ac_check_lib_save_LIBS=$LIBS |
|
|
5930 | LIBS="-lrt $LIBS" |
|
|
5931 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5932 | /* confdefs.h. */ |
|
|
5933 | _ACEOF |
|
|
5934 | cat confdefs.h >>conftest.$ac_ext |
|
|
5935 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5936 | /* end confdefs.h. */ |
|
|
5937 | |
|
|
5938 | /* Override any GCC internal prototype to avoid an error. |
|
|
5939 | Use char because int might match the return type of a GCC |
|
|
5940 | builtin and then its argument prototype would still apply. */ |
|
|
5941 | #ifdef __cplusplus |
|
|
5942 | extern "C" |
|
|
5943 | #endif |
|
|
5944 | char nanosleep (); |
|
|
5945 | int |
|
|
5946 | main () |
|
|
5947 | { |
|
|
5948 | return nanosleep (); |
|
|
5949 | ; |
|
|
5950 | return 0; |
|
|
5951 | } |
|
|
5952 | _ACEOF |
|
|
5953 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5954 | if { (ac_try="$ac_link" |
|
|
5955 | case "(($ac_try" in |
|
|
5956 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5957 | *) ac_try_echo=$ac_try;; |
|
|
5958 | esac |
|
|
5959 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5960 | (eval "$ac_link") 2>conftest.er1 |
|
|
5961 | ac_status=$? |
|
|
5962 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5963 | rm -f conftest.er1 |
|
|
5964 | cat conftest.err >&5 |
|
|
5965 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5966 | (exit $ac_status); } && { |
|
|
5967 | test -z "$ac_cxx_werror_flag" || |
|
|
5968 | test ! -s conftest.err |
|
|
5969 | } && test -s conftest$ac_exeext && |
|
|
5970 | $as_test_x conftest$ac_exeext; then |
|
|
5971 | ac_cv_lib_rt_nanosleep=yes |
|
|
5972 | else |
|
|
5973 | echo "$as_me: failed program was:" >&5 |
|
|
5974 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5975 | |
|
|
5976 | ac_cv_lib_rt_nanosleep=no |
|
|
5977 | fi |
|
|
5978 | |
|
|
5979 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5980 | conftest$ac_exeext conftest.$ac_ext |
|
|
5981 | LIBS=$ac_check_lib_save_LIBS |
|
|
5982 | fi |
|
|
5983 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
5984 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
5985 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
5986 | cat >>confdefs.h <<_ACEOF |
|
|
5987 | #define HAVE_LIBRT 1 |
|
|
5988 | _ACEOF |
|
|
5989 | |
|
|
5990 | LIBS="-lrt $LIBS" |
|
|
5991 | |
|
|
5992 | fi |
|
|
5993 | |
|
|
5994 | unset ac_cv_func_nanosleep |
|
|
5995 | |
|
|
5996 | for ac_func in nanosleep |
|
|
5997 | do |
|
|
5998 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5999 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
6000 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
6001 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
6002 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
6003 | else |
|
|
6004 | cat >conftest.$ac_ext <<_ACEOF |
|
|
6005 | /* confdefs.h. */ |
|
|
6006 | _ACEOF |
|
|
6007 | cat confdefs.h >>conftest.$ac_ext |
|
|
6008 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
6009 | /* end confdefs.h. */ |
|
|
6010 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
6011 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
6012 | #define $ac_func innocuous_$ac_func |
|
|
6013 | |
|
|
6014 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
6015 | which can conflict with char $ac_func (); below. |
|
|
6016 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
6017 | <limits.h> exists even on freestanding compilers. */ |
|
|
6018 | |
|
|
6019 | #ifdef __STDC__ |
|
|
6020 | # include <limits.h> |
|
|
6021 | #else |
|
|
6022 | # include <assert.h> |
|
|
6023 | #endif |
|
|
6024 | |
|
|
6025 | #undef $ac_func |
|
|
6026 | |
|
|
6027 | /* Override any GCC internal prototype to avoid an error. |
|
|
6028 | Use char because int might match the return type of a GCC |
|
|
6029 | builtin and then its argument prototype would still apply. */ |
|
|
6030 | #ifdef __cplusplus |
|
|
6031 | extern "C" |
|
|
6032 | #endif |
|
|
6033 | char $ac_func (); |
|
|
6034 | /* The GNU C library defines this for functions which it implements |
|
|
6035 | to always fail with ENOSYS. Some functions are actually named |
|
|
6036 | something starting with __ and the normal name is an alias. */ |
|
|
6037 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
6038 | choke me |
|
|
6039 | #endif |
|
|
6040 | |
|
|
6041 | int |
|
|
6042 | main () |
|
|
6043 | { |
|
|
6044 | return $ac_func (); |
|
|
6045 | ; |
|
|
6046 | return 0; |
|
|
6047 | } |
|
|
6048 | _ACEOF |
|
|
6049 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
6050 | if { (ac_try="$ac_link" |
|
|
6051 | case "(($ac_try" in |
|
|
6052 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
6053 | *) ac_try_echo=$ac_try;; |
|
|
6054 | esac |
|
|
6055 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
6056 | (eval "$ac_link") 2>conftest.er1 |
|
|
6057 | ac_status=$? |
|
|
6058 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
6059 | rm -f conftest.er1 |
|
|
6060 | cat conftest.err >&5 |
|
|
6061 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
6062 | (exit $ac_status); } && { |
|
|
6063 | test -z "$ac_cxx_werror_flag" || |
|
|
6064 | test ! -s conftest.err |
|
|
6065 | } && test -s conftest$ac_exeext && |
|
|
6066 | $as_test_x conftest$ac_exeext; then |
|
|
6067 | eval "$as_ac_var=yes" |
|
|
6068 | else |
|
|
6069 | echo "$as_me: failed program was:" >&5 |
|
|
6070 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
6071 | |
|
|
6072 | eval "$as_ac_var=no" |
|
|
6073 | fi |
|
|
6074 | |
|
|
6075 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
6076 | conftest$ac_exeext conftest.$ac_ext |
|
|
6077 | fi |
|
|
6078 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
6079 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
6080 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
6081 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
6082 | cat >>confdefs.h <<_ACEOF |
|
|
6083 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
6084 | _ACEOF |
|
|
6085 | |
|
|
6086 | fi |
|
|
6087 | done |
|
|
6088 | |
|
|
6089 | fi |
5859 | |
6090 | |
5860 | fi |
6091 | fi |
5861 | |
6092 | |
5862 | |
6093 | |
5863 | |
6094 | |
… | |
… | |
5974 | echo "${ECHO_T}$TIC" >&6; } |
6205 | echo "${ECHO_T}$TIC" >&6; } |
5975 | else |
6206 | else |
5976 | { echo "$as_me:$LINENO: result: no" >&5 |
6207 | { echo "$as_me:$LINENO: result: no" >&5 |
5977 | echo "${ECHO_T}no" >&6; } |
6208 | echo "${ECHO_T}no" >&6; } |
5978 | fi |
6209 | fi |
5979 | |
|
|
5980 | |
|
|
5981 | |
6210 | |
5982 | |
6211 | |
5983 | |
6212 | |
5984 | { echo "$as_me:$LINENO: checking for X" >&5 |
6213 | { echo "$as_me:$LINENO: checking for X" >&5 |
5985 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
6214 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
… | |
… | |
7372 | echo "${ECHO_T}no" >&6; } |
7601 | echo "${ECHO_T}no" >&6; } |
7373 | fi |
7602 | fi |
7374 | fi |
7603 | fi |
7375 | fi |
7604 | fi |
7376 | |
7605 | |
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 | |
|
|
7454 | |
7606 | |
7455 | |
7607 | |
7456 | |
7608 | |
7457 | |
7609 | |
7458 | |
7610 | |
7459 | |
7611 | |
7460 | |
7612 | |
7461 | for ac_header in \ |
7613 | 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 \ |
7614 | sys/byteorder.h \ |
7470 | sys/ioctl.h \ |
7615 | sys/ioctl.h \ |
7471 | sys/select.h \ |
|
|
7472 | sys/sockio.h \ |
7616 | sys/sockio.h \ |
7473 | sys/strredir.h \ |
7617 | sys/strredir.h \ |
7474 | sys/time.h \ |
|
|
7475 | stdint.h \ |
7618 | stdint.h \ |
7476 | wchar.h \ |
7619 | wchar.h \ |
7477 | cwchar \ |
7620 | cwchar \ |
7478 | clocale \ |
|
|
7479 | |
7621 | |
7480 | do |
7622 | do |
7481 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7623 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7482 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7624 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7483 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7625 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7614 | fi |
7756 | fi |
7615 | |
7757 | |
7616 | done |
7758 | done |
7617 | |
7759 | |
7618 | |
7760 | |
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 |
|
|
7682 | 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 |
|
|
7684 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7685 | else |
|
|
7686 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7687 | /* confdefs.h. */ |
|
|
7688 | _ACEOF |
|
|
7689 | cat confdefs.h >>conftest.$ac_ext |
|
|
7690 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7691 | /* end confdefs.h. */ |
|
|
7692 | #include <stdio.h> |
|
|
7693 | #include <sys/ioctl.h> |
|
|
7694 | #ifdef HAVE_TERMIOS_H |
|
|
7695 | #include <termios.h> |
|
|
7696 | #endif |
|
|
7697 | int |
|
|
7698 | main () |
|
|
7699 | { |
|
|
7700 | int a = ECHO; |
|
|
7701 | ; |
|
|
7702 | return 0; |
|
|
7703 | } |
|
|
7704 | _ACEOF |
|
|
7705 | rm -f conftest.$ac_objext |
|
|
7706 | if { (ac_try="$ac_compile" |
|
|
7707 | case "(($ac_try" in |
|
|
7708 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7709 | *) ac_try_echo=$ac_try;; |
|
|
7710 | esac |
|
|
7711 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7712 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7713 | ac_status=$? |
|
|
7714 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7715 | rm -f conftest.er1 |
|
|
7716 | cat conftest.err >&5 |
|
|
7717 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7718 | (exit $ac_status); } && { |
|
|
7719 | test -z "$ac_cxx_werror_flag" || |
|
|
7720 | test ! -s conftest.err |
|
|
7721 | } && test -s conftest.$ac_objext; then |
|
|
7722 | rxvt_cv_header_sysioctl=yes |
|
|
7723 | else |
|
|
7724 | echo "$as_me: failed program was:" >&5 |
|
|
7725 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7726 | |
|
|
7727 | rxvt_cv_header_sysioctl=no |
|
|
7728 | fi |
|
|
7729 | |
|
|
7730 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7731 | fi |
|
|
7732 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
|
|
7733 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
|
|
7734 | |
|
|
7735 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7761 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7736 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7762 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7737 | if test "${rxvt_cv_xpointer+set}" = set; then |
7763 | if test "${rxvt_cv_xpointer+set}" = set; then |
7738 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7764 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7739 | else |
7765 | else |
… | |
… | |
7850 | cat >>confdefs.h <<\_ACEOF |
7876 | cat >>confdefs.h <<\_ACEOF |
7851 | #define XLIB_ILLEGAL_ACCESS 1 |
7877 | #define XLIB_ILLEGAL_ACCESS 1 |
7852 | _ACEOF |
7878 | _ACEOF |
7853 | |
7879 | |
7854 | fi |
7880 | 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 | |
7881 | |
8033 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7882 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
8034 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7883 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
8035 | if test "${ac_cv_type_mode_t+set}" = set; then |
7884 | if test "${ac_cv_type_mode_t+set}" = set; then |
8036 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7885 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
8193 | _ACEOF |
8042 | _ACEOF |
8194 | |
8043 | |
8195 | fi |
8044 | fi |
8196 | |
8045 | |
8197 | |
8046 | |
8198 | { echo "$as_me:$LINENO: checking for short" >&5 |
8047 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
8199 | echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
8048 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
8200 | if test "${ac_cv_type_short+set}" = set; then |
8049 | if test "${ac_cv_c_int16_t+set}" = set; then |
8201 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8202 | else |
8051 | else |
|
|
8052 | ac_cv_c_int16_t=no |
|
|
8053 | for ac_type in 'int16_t' 'int' 'long int' \ |
|
|
8054 | 'long long int' 'short int' 'signed char'; do |
8203 | cat >conftest.$ac_ext <<_ACEOF |
8055 | cat >conftest.$ac_ext <<_ACEOF |
8204 | /* confdefs.h. */ |
8056 | /* confdefs.h. */ |
8205 | _ACEOF |
8057 | _ACEOF |
8206 | cat confdefs.h >>conftest.$ac_ext |
8058 | cat confdefs.h >>conftest.$ac_ext |
8207 | cat >>conftest.$ac_ext <<_ACEOF |
8059 | cat >>conftest.$ac_ext <<_ACEOF |
8208 | /* end confdefs.h. */ |
8060 | /* end confdefs.h. */ |
8209 | $ac_includes_default |
8061 | $ac_includes_default |
8210 | typedef short ac__type_new_; |
|
|
8211 | int |
8062 | int |
8212 | main () |
8063 | main () |
8213 | { |
8064 | { |
8214 | if ((ac__type_new_ *) 0) |
8065 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; |
8215 | return 0; |
8066 | test_array [0] = 0 |
8216 | if (sizeof (ac__type_new_)) |
8067 | |
8217 | return 0; |
|
|
8218 | ; |
8068 | ; |
8219 | return 0; |
8069 | return 0; |
8220 | } |
8070 | } |
8221 | _ACEOF |
8071 | _ACEOF |
8222 | rm -f conftest.$ac_objext |
8072 | rm -f conftest.$ac_objext |
… | |
… | |
8234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8084 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8235 | (exit $ac_status); } && { |
8085 | (exit $ac_status); } && { |
8236 | test -z "$ac_cxx_werror_flag" || |
8086 | test -z "$ac_cxx_werror_flag" || |
8237 | test ! -s conftest.err |
8087 | test ! -s conftest.err |
8238 | } && test -s conftest.$ac_objext; then |
8088 | } && 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 |
8089 | cat >conftest.$ac_ext <<_ACEOF |
8264 | /* confdefs.h. */ |
8090 | /* confdefs.h. */ |
8265 | _ACEOF |
8091 | _ACEOF |
8266 | cat confdefs.h >>conftest.$ac_ext |
8092 | cat confdefs.h >>conftest.$ac_ext |
8267 | cat >>conftest.$ac_ext <<_ACEOF |
8093 | cat >>conftest.$ac_ext <<_ACEOF |
8268 | /* end confdefs.h. */ |
8094 | /* end confdefs.h. */ |
8269 | $ac_includes_default |
8095 | $ac_includes_default |
8270 | typedef short ac__type_sizeof_; |
|
|
8271 | int |
8096 | int |
8272 | main () |
8097 | main () |
8273 | { |
8098 | { |
8274 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
8099 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) |
|
|
8100 | < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; |
8275 | test_array [0] = 0 |
8101 | test_array [0] = 0 |
8276 | |
8102 | |
8277 | ; |
8103 | ; |
8278 | return 0; |
8104 | return 0; |
8279 | } |
8105 | } |
… | |
… | |
8293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8119 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8294 | (exit $ac_status); } && { |
8120 | (exit $ac_status); } && { |
8295 | test -z "$ac_cxx_werror_flag" || |
8121 | test -z "$ac_cxx_werror_flag" || |
8296 | test ! -s conftest.err |
8122 | test ! -s conftest.err |
8297 | } && test -s conftest.$ac_objext; then |
8123 | } && test -s conftest.$ac_objext; then |
8298 | ac_lo=0 ac_mid=0 |
8124 | : |
8299 | while :; do |
8125 | else |
|
|
8126 | echo "$as_me: failed program was:" >&5 |
|
|
8127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8128 | |
|
|
8129 | case $ac_type in |
|
|
8130 | int16_t) ac_cv_c_int16_t=yes ;; |
|
|
8131 | *) ac_cv_c_int16_t=$ac_type ;; |
|
|
8132 | esac |
|
|
8133 | |
|
|
8134 | fi |
|
|
8135 | |
|
|
8136 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8137 | else |
|
|
8138 | echo "$as_me: failed program was:" >&5 |
|
|
8139 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8140 | |
|
|
8141 | |
|
|
8142 | fi |
|
|
8143 | |
|
|
8144 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8145 | test "$ac_cv_c_int16_t" != no && break |
|
|
8146 | done |
|
|
8147 | fi |
|
|
8148 | { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 |
|
|
8149 | echo "${ECHO_T}$ac_cv_c_int16_t" >&6; } |
|
|
8150 | case $ac_cv_c_int16_t in #( |
|
|
8151 | no|yes) ;; #( |
|
|
8152 | *) |
|
|
8153 | |
|
|
8154 | cat >>confdefs.h <<_ACEOF |
|
|
8155 | #define int16_t $ac_cv_c_int16_t |
|
|
8156 | _ACEOF |
|
|
8157 | ;; |
|
|
8158 | esac |
|
|
8159 | |
|
|
8160 | |
|
|
8161 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
8162 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
8163 | if test "${ac_cv_c_uint16_t+set}" = set; then |
|
|
8164 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8165 | else |
|
|
8166 | ac_cv_c_uint16_t=no |
|
|
8167 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
|
|
8168 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8300 | cat >conftest.$ac_ext <<_ACEOF |
8169 | cat >conftest.$ac_ext <<_ACEOF |
8301 | /* confdefs.h. */ |
8170 | /* confdefs.h. */ |
8302 | _ACEOF |
8171 | _ACEOF |
8303 | cat confdefs.h >>conftest.$ac_ext |
8172 | cat confdefs.h >>conftest.$ac_ext |
8304 | cat >>conftest.$ac_ext <<_ACEOF |
8173 | cat >>conftest.$ac_ext <<_ACEOF |
8305 | /* end confdefs.h. */ |
8174 | /* end confdefs.h. */ |
8306 | $ac_includes_default |
8175 | $ac_includes_default |
8307 | typedef short ac__type_sizeof_; |
|
|
8308 | int |
8176 | int |
8309 | main () |
8177 | main () |
8310 | { |
8178 | { |
8311 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8179 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
8312 | test_array [0] = 0 |
8180 | test_array [0] = 0 |
8313 | |
8181 | |
8314 | ; |
8182 | ; |
8315 | return 0; |
8183 | return 0; |
8316 | } |
8184 | } |
… | |
… | |
8330 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8198 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8331 | (exit $ac_status); } && { |
8199 | (exit $ac_status); } && { |
8332 | test -z "$ac_cxx_werror_flag" || |
8200 | test -z "$ac_cxx_werror_flag" || |
8333 | test ! -s conftest.err |
8201 | test ! -s conftest.err |
8334 | } && test -s conftest.$ac_objext; then |
8202 | } && test -s conftest.$ac_objext; then |
8335 | ac_hi=$ac_mid; break |
8203 | case $ac_type in |
|
|
8204 | uint16_t) ac_cv_c_uint16_t=yes ;; |
|
|
8205 | *) ac_cv_c_uint16_t=$ac_type ;; |
|
|
8206 | esac |
|
|
8207 | |
8336 | else |
8208 | else |
8337 | echo "$as_me: failed program was:" >&5 |
8209 | echo "$as_me: failed program was:" >&5 |
8338 | sed 's/^/| /' conftest.$ac_ext >&5 |
8210 | sed 's/^/| /' conftest.$ac_ext >&5 |
8339 | |
8211 | |
8340 | ac_lo=`expr $ac_mid + 1` |
8212 | |
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 |
8213 | fi |
8347 | |
8214 | |
8348 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8215 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8216 | test "$ac_cv_c_uint16_t" != no && break |
8349 | done |
8217 | done |
8350 | else |
8218 | fi |
8351 | echo "$as_me: failed program was:" >&5 |
8219 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
8352 | sed 's/^/| /' conftest.$ac_ext >&5 |
8220 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } |
|
|
8221 | case $ac_cv_c_uint16_t in #( |
|
|
8222 | no|yes) ;; #( |
|
|
8223 | *) |
8353 | |
8224 | |
|
|
8225 | |
|
|
8226 | cat >>confdefs.h <<_ACEOF |
|
|
8227 | #define uint16_t $ac_cv_c_uint16_t |
|
|
8228 | _ACEOF |
|
|
8229 | ;; |
|
|
8230 | esac |
|
|
8231 | |
|
|
8232 | |
|
|
8233 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
8234 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
8235 | if test "${ac_cv_c_int32_t+set}" = set; then |
|
|
8236 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8237 | else |
|
|
8238 | ac_cv_c_int32_t=no |
|
|
8239 | for ac_type in 'int32_t' 'int' 'long int' \ |
|
|
8240 | 'long long int' 'short int' 'signed char'; do |
8354 | cat >conftest.$ac_ext <<_ACEOF |
8241 | cat >conftest.$ac_ext <<_ACEOF |
8355 | /* confdefs.h. */ |
8242 | /* confdefs.h. */ |
8356 | _ACEOF |
8243 | _ACEOF |
8357 | cat confdefs.h >>conftest.$ac_ext |
8244 | cat confdefs.h >>conftest.$ac_ext |
8358 | cat >>conftest.$ac_ext <<_ACEOF |
8245 | cat >>conftest.$ac_ext <<_ACEOF |
8359 | /* end confdefs.h. */ |
8246 | /* end confdefs.h. */ |
8360 | $ac_includes_default |
8247 | $ac_includes_default |
8361 | typedef short ac__type_sizeof_; |
|
|
8362 | int |
8248 | int |
8363 | main () |
8249 | main () |
8364 | { |
8250 | { |
8365 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8251 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; |
8366 | test_array [0] = 0 |
8252 | test_array [0] = 0 |
8367 | |
8253 | |
8368 | ; |
8254 | ; |
8369 | return 0; |
8255 | return 0; |
8370 | } |
8256 | } |
… | |
… | |
8384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8270 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8385 | (exit $ac_status); } && { |
8271 | (exit $ac_status); } && { |
8386 | test -z "$ac_cxx_werror_flag" || |
8272 | test -z "$ac_cxx_werror_flag" || |
8387 | test ! -s conftest.err |
8273 | test ! -s conftest.err |
8388 | } && test -s conftest.$ac_objext; then |
8274 | } && test -s conftest.$ac_objext; then |
8389 | ac_hi=-1 ac_mid=-1 |
|
|
8390 | while :; do |
|
|
8391 | cat >conftest.$ac_ext <<_ACEOF |
8275 | cat >conftest.$ac_ext <<_ACEOF |
8392 | /* confdefs.h. */ |
8276 | /* confdefs.h. */ |
8393 | _ACEOF |
8277 | _ACEOF |
8394 | cat confdefs.h >>conftest.$ac_ext |
8278 | cat confdefs.h >>conftest.$ac_ext |
8395 | cat >>conftest.$ac_ext <<_ACEOF |
8279 | cat >>conftest.$ac_ext <<_ACEOF |
8396 | /* end confdefs.h. */ |
8280 | /* end confdefs.h. */ |
8397 | $ac_includes_default |
8281 | $ac_includes_default |
8398 | typedef short ac__type_sizeof_; |
|
|
8399 | int |
8282 | int |
8400 | main () |
8283 | main () |
8401 | { |
8284 | { |
8402 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8285 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) |
|
|
8286 | < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; |
8403 | test_array [0] = 0 |
8287 | test_array [0] = 0 |
8404 | |
8288 | |
8405 | ; |
8289 | ; |
8406 | return 0; |
8290 | return 0; |
8407 | } |
8291 | } |
… | |
… | |
8421 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8305 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8422 | (exit $ac_status); } && { |
8306 | (exit $ac_status); } && { |
8423 | test -z "$ac_cxx_werror_flag" || |
8307 | test -z "$ac_cxx_werror_flag" || |
8424 | test ! -s conftest.err |
8308 | test ! -s conftest.err |
8425 | } && test -s conftest.$ac_objext; then |
8309 | } && test -s conftest.$ac_objext; then |
8426 | ac_lo=$ac_mid; break |
8310 | : |
8427 | else |
8311 | else |
8428 | echo "$as_me: failed program was:" >&5 |
8312 | echo "$as_me: failed program was:" >&5 |
8429 | sed 's/^/| /' conftest.$ac_ext >&5 |
8313 | sed 's/^/| /' conftest.$ac_ext >&5 |
8430 | |
8314 | |
8431 | ac_hi=`expr '(' $ac_mid ')' - 1` |
8315 | case $ac_type in |
8432 | if test $ac_mid -le $ac_hi; then |
8316 | int32_t) ac_cv_c_int32_t=yes ;; |
8433 | ac_lo= ac_hi= |
8317 | *) ac_cv_c_int32_t=$ac_type ;; |
8434 | break |
8318 | esac |
8435 | fi |
8319 | |
8436 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8437 | fi |
8320 | fi |
8438 | |
8321 | |
8439 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8322 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8440 | done |
|
|
8441 | else |
8323 | else |
8442 | echo "$as_me: failed program was:" >&5 |
8324 | echo "$as_me: failed program was:" >&5 |
8443 | sed 's/^/| /' conftest.$ac_ext >&5 |
8325 | sed 's/^/| /' conftest.$ac_ext >&5 |
8444 | |
8326 | |
8445 | ac_lo= ac_hi= |
8327 | |
8446 | fi |
8328 | fi |
8447 | |
8329 | |
8448 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8330 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8331 | test "$ac_cv_c_int32_t" != no && break |
|
|
8332 | done |
8449 | fi |
8333 | fi |
|
|
8334 | { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 |
|
|
8335 | echo "${ECHO_T}$ac_cv_c_int32_t" >&6; } |
|
|
8336 | case $ac_cv_c_int32_t in #( |
|
|
8337 | no|yes) ;; #( |
|
|
8338 | *) |
8450 | |
8339 | |
8451 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8340 | cat >>confdefs.h <<_ACEOF |
8452 | # Binary search between lo and hi bounds. |
8341 | #define int32_t $ac_cv_c_int32_t |
8453 | while test "x$ac_lo" != "x$ac_hi"; do |
8342 | _ACEOF |
8454 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8343 | ;; |
|
|
8344 | esac |
|
|
8345 | |
|
|
8346 | |
|
|
8347 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
8348 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
8349 | if test "${ac_cv_c_uint32_t+set}" = set; then |
|
|
8350 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8351 | else |
|
|
8352 | ac_cv_c_uint32_t=no |
|
|
8353 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
|
|
8354 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8455 | cat >conftest.$ac_ext <<_ACEOF |
8355 | cat >conftest.$ac_ext <<_ACEOF |
8456 | /* confdefs.h. */ |
8356 | /* confdefs.h. */ |
8457 | _ACEOF |
8357 | _ACEOF |
8458 | cat confdefs.h >>conftest.$ac_ext |
8358 | cat confdefs.h >>conftest.$ac_ext |
8459 | cat >>conftest.$ac_ext <<_ACEOF |
8359 | cat >>conftest.$ac_ext <<_ACEOF |
8460 | /* end confdefs.h. */ |
8360 | /* end confdefs.h. */ |
8461 | $ac_includes_default |
8361 | $ac_includes_default |
8462 | typedef short ac__type_sizeof_; |
|
|
8463 | int |
8362 | int |
8464 | main () |
8363 | main () |
8465 | { |
8364 | { |
8466 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8365 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
8467 | test_array [0] = 0 |
8366 | test_array [0] = 0 |
8468 | |
8367 | |
8469 | ; |
8368 | ; |
8470 | return 0; |
8369 | return 0; |
8471 | } |
8370 | } |
… | |
… | |
8485 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8384 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8486 | (exit $ac_status); } && { |
8385 | (exit $ac_status); } && { |
8487 | test -z "$ac_cxx_werror_flag" || |
8386 | test -z "$ac_cxx_werror_flag" || |
8488 | test ! -s conftest.err |
8387 | test ! -s conftest.err |
8489 | } && test -s conftest.$ac_objext; then |
8388 | } && test -s conftest.$ac_objext; then |
8490 | ac_hi=$ac_mid |
8389 | case $ac_type in |
|
|
8390 | uint32_t) ac_cv_c_uint32_t=yes ;; |
|
|
8391 | *) ac_cv_c_uint32_t=$ac_type ;; |
|
|
8392 | esac |
|
|
8393 | |
8491 | else |
8394 | else |
8492 | echo "$as_me: failed program was:" >&5 |
8395 | echo "$as_me: failed program was:" >&5 |
8493 | sed 's/^/| /' conftest.$ac_ext >&5 |
8396 | sed 's/^/| /' conftest.$ac_ext >&5 |
8494 | |
8397 | |
8495 | ac_lo=`expr '(' $ac_mid ')' + 1` |
8398 | |
8496 | fi |
8399 | fi |
8497 | |
8400 | |
8498 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8401 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8499 | done |
8402 | test "$ac_cv_c_uint32_t" != no && break |
8500 | case $ac_lo in |
8403 | 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 |
8404 | 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 |
8405 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
8594 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
8406 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } |
|
|
8407 | case $ac_cv_c_uint32_t in #( |
|
|
8408 | no|yes) ;; #( |
|
|
8409 | *) |
8595 | |
8410 | |
|
|
8411 | cat >>confdefs.h <<\_ACEOF |
|
|
8412 | #define _UINT32_T 1 |
|
|
8413 | _ACEOF |
8596 | |
8414 | |
8597 | |
8415 | |
8598 | cat >>confdefs.h <<_ACEOF |
8416 | cat >>confdefs.h <<_ACEOF |
8599 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
8417 | #define uint32_t $ac_cv_c_uint32_t |
8600 | _ACEOF |
8418 | _ACEOF |
8601 | |
8419 | ;; |
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 |
8420 | 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 | |
8421 | |
10213 | |
8422 | |
10214 | |
8423 | |
10215 | for ac_func in unsetenv |
8424 | for ac_func in unsetenv |
10216 | do |
8425 | do |
… | |
… | |
13024 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
11233 | X_LIBS="`$XFT_CONFIG --libs` $X_LIBS" |
13025 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
11234 | CPPFLAGS="$CPPFLAGS `$XFT_CONFIG --cflags`" |
13026 | fi |
11235 | fi |
13027 | fi |
11236 | fi |
13028 | |
11237 | |
|
|
11238 | save_LIBS="$LIBS" |
|
|
11239 | LIBS="$LIBS $X_LIBS" |
13029 | |
11240 | |
13030 | for ac_header in X11/Xft/Xft.h |
11241 | for ac_header in X11/Xft/Xft.h |
13031 | do |
11242 | do |
13032 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
11243 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
13033 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11244 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
13166 | support_xft=no |
11377 | support_xft=no |
13167 | fi |
11378 | fi |
13168 | |
11379 | |
13169 | done |
11380 | done |
13170 | |
11381 | |
13171 | ac_save_LIBS="$LIBS" |
|
|
13172 | LIBS="$LIBS $X_LIBS" |
|
|
13173 | |
|
|
13174 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
11382 | { echo "$as_me:$LINENO: checking for XftDrawString32 in -lXft" >&5 |
13175 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
11383 | echo $ECHO_N "checking for XftDrawString32 in -lXft... $ECHO_C" >&6; } |
13176 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
11384 | if test "${ac_cv_lib_Xft_XftDrawString32+set}" = set; then |
13177 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11385 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
13178 | else |
11386 | else |
13179 | ac_check_lib_save_LIBS=$LIBS |
11387 | ac_check_lib_save_LIBS=$LIBS |
… | |
… | |
13231 | LIBS=$ac_check_lib_save_LIBS |
11439 | LIBS=$ac_check_lib_save_LIBS |
13232 | fi |
11440 | fi |
13233 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
11441 | { echo "$as_me:$LINENO: result: $ac_cv_lib_Xft_XftDrawString32" >&5 |
13234 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
11442 | echo "${ECHO_T}$ac_cv_lib_Xft_XftDrawString32" >&6; } |
13235 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
11443 | if test $ac_cv_lib_Xft_XftDrawString32 = yes; then |
13236 | cat >>confdefs.h <<_ACEOF |
11444 | : |
13237 | #define HAVE_LIBXFT 1 |
|
|
13238 | _ACEOF |
|
|
13239 | |
|
|
13240 | LIBS="-lXft $LIBS" |
|
|
13241 | |
|
|
13242 | else |
11445 | else |
13243 | support_xft=no |
11446 | support_xft=no |
13244 | fi |
11447 | fi |
13245 | |
11448 | |
13246 | LIBS="$ac_save_LIBS" |
11449 | LIBS="$save_LIBS" |
13247 | |
11450 | |
13248 | if test x$support_xft = xyes; then |
11451 | if test x$support_xft = xyes; then |
13249 | |
11452 | |
13250 | cat >>confdefs.h <<\_ACEOF |
11453 | cat >>confdefs.h <<\_ACEOF |
13251 | #define XFT 1 |
11454 | #define XFT 1 |
… | |
… | |
13638 | _ACEOF |
11841 | _ACEOF |
13639 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11842 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
13640 | rm -f conftest.sed |
11843 | rm -f conftest.sed |
13641 | |
11844 | |
13642 | |
11845 | |
13643 | |
|
|
13644 | |
|
|
13645 | |
|
|
13646 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13647 | include_stdint_h="#include <stdint.h>" |
|
|
13648 | else |
|
|
13649 | include_stdint_h="/* #include <stdint.h> */" |
|
|
13650 | 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 |
|
|
13687 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
13688 | else |
|
|
13689 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
13690 | 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 |
|
|
13697 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
13698 | else |
|
|
13699 | 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 |
|
|
13711 | |
|
|
13712 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11846 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
13713 | |
11847 | |
13714 | cat >confcache <<\_ACEOF |
11848 | cat >confcache <<\_ACEOF |
13715 | # This file is a shell script that caches the results of configure |
11849 | # This file is a shell script that caches the results of configure |
13716 | # tests run on this system so they can be shared between configure |
11850 | # tests run on this system so they can be shared between configure |
13717 | # scripts and configure runs, see configure's option --config-cache. |
11851 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
14266 | case $ac_config_target in |
12400 | case $ac_config_target in |
14267 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12401 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
14268 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12402 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14269 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12403 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
14270 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12404 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
14271 | "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
14272 | |
12405 | |
14273 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12406 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
14274 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12407 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
14275 | { (exit 1); exit 1; }; };; |
12408 | { (exit 1); exit 1; }; };; |
14276 | esac |
12409 | esac |
… | |
… | |
14375 | host_cpu!$host_cpu$ac_delim |
12508 | host_cpu!$host_cpu$ac_delim |
14376 | host_vendor!$host_vendor$ac_delim |
12509 | host_vendor!$host_vendor$ac_delim |
14377 | host_os!$host_os$ac_delim |
12510 | host_os!$host_os$ac_delim |
14378 | VERSION!$VERSION$ac_delim |
12511 | VERSION!$VERSION$ac_delim |
14379 | DATE!$DATE$ac_delim |
12512 | DATE!$DATE$ac_delim |
14380 | LSMDATE!$LSMDATE$ac_delim |
|
|
14381 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14382 | CC!$CC$ac_delim |
12513 | CC!$CC$ac_delim |
14383 | CFLAGS!$CFLAGS$ac_delim |
12514 | CFLAGS!$CFLAGS$ac_delim |
14384 | LDFLAGS!$LDFLAGS$ac_delim |
12515 | LDFLAGS!$LDFLAGS$ac_delim |
14385 | CPPFLAGS!$CPPFLAGS$ac_delim |
12516 | CPPFLAGS!$CPPFLAGS$ac_delim |
14386 | ac_ct_CC!$ac_ct_CC$ac_delim |
12517 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14394 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
12525 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14395 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
12526 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14396 | GREP!$GREP$ac_delim |
12527 | GREP!$GREP$ac_delim |
14397 | EGREP!$EGREP$ac_delim |
12528 | EGREP!$EGREP$ac_delim |
14398 | LINKER!$LINKER$ac_delim |
12529 | LINKER!$LINKER$ac_delim |
14399 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14400 | RXVTNAME!$RXVTNAME$ac_delim |
12530 | RXVTNAME!$RXVTNAME$ac_delim |
14401 | CXXCPP!$CXXCPP$ac_delim |
12531 | CXXCPP!$CXXCPP$ac_delim |
14402 | TIC!$TIC$ac_delim |
12532 | TIC!$TIC$ac_delim |
14403 | XMKMF!$XMKMF$ac_delim |
12533 | XMKMF!$XMKMF$ac_delim |
14404 | X_CFLAGS!$X_CFLAGS$ac_delim |
12534 | X_CFLAGS!$X_CFLAGS$ac_delim |
14405 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
12535 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14406 | X_LIBS!$X_LIBS$ac_delim |
12536 | X_LIBS!$X_LIBS$ac_delim |
14407 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
12537 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14408 | afterimage_config!$afterimage_config$ac_delim |
12538 | 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 |
12539 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
14416 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
12540 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14417 | PERL!$PERL$ac_delim |
12541 | PERL!$PERL$ac_delim |
14418 | PERLLIB!$PERLLIB$ac_delim |
12542 | PERLLIB!$PERLLIB$ac_delim |
14419 | PERLFLAGS!$PERLFLAGS$ac_delim |
12543 | PERLFLAGS!$PERLFLAGS$ac_delim |
14420 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12544 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14421 | IF_PERL!$IF_PERL$ac_delim |
12545 | IF_PERL!$IF_PERL$ac_delim |
14422 | PERL_O!$PERL_O$ac_delim |
12546 | PERL_O!$PERL_O$ac_delim |
14423 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12547 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14424 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12548 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14425 | include_stdint_h!$include_stdint_h$ac_delim |
12549 | LIBOBJS!$LIBOBJS$ac_delim |
14426 | include_stdarg_h!$include_stdarg_h$ac_delim |
12550 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14427 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14428 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14429 | include_string_h!$include_string_h$ac_delim |
|
|
14430 | _ACEOF |
12551 | _ACEOF |
14431 | |
12552 | |
14432 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
12553 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
14433 | break |
12554 | break |
14434 | elif $ac_last_try; then |
12555 | elif $ac_last_try; then |
14435 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12556 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14436 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12557 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14437 | { (exit 1); exit 1; }; } |
12558 | { (exit 1); exit 1; }; } |
… | |
… | |
14446 | ac_eof=`expr $ac_eof + 1` |
12567 | ac_eof=`expr $ac_eof + 1` |
14447 | fi |
12568 | fi |
14448 | |
12569 | |
14449 | cat >>$CONFIG_STATUS <<_ACEOF |
12570 | cat >>$CONFIG_STATUS <<_ACEOF |
14450 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
12571 | 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 |
12572 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14503 | _ACEOF |
12573 | _ACEOF |
14504 | sed ' |
12574 | sed ' |
14505 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
12575 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14506 | s/^/s,@/; s/!/@,|#_!!_#|/ |
12576 | s/^/s,@/; s/!/@,|#_!!_#|/ |
… | |
… | |
14759 | s&@builddir@&$ac_builddir&;t t |
12829 | s&@builddir@&$ac_builddir&;t t |
14760 | s&@abs_builddir@&$ac_abs_builddir&;t t |
12830 | s&@abs_builddir@&$ac_abs_builddir&;t t |
14761 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
12831 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14762 | s&@INSTALL@&$ac_INSTALL&;t t |
12832 | s&@INSTALL@&$ac_INSTALL&;t t |
14763 | $ac_datarootdir_hack |
12833 | $ac_datarootdir_hack |
14764 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
12834 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
14765 | |
12835 | |
14766 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
12836 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14767 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
12837 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14768 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
12838 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14769 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
12839 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |