… | |
… | |
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 |
1333 | --enable-perl enable embedded perl interpreter |
1310 | --enable-perl enable embedded perl interpreter |
1334 | --enable-plain-scroll enable plain style scrollbar |
|
|
1335 | --enable-xim XIM (X Input Method) protocol support |
1311 | --enable-xim XIM (X Input Method) protocol support |
1336 | --disable-backspace-key disable handling of the backspace key |
1312 | --disable-backspace-key disable handling of the backspace key |
1337 | --disable-delete-key disable handling of the delete key |
1313 | --disable-delete-key disable handling of the delete key |
1338 | --disable-resources disable all resource checking |
1314 | --disable-resources disable all resource checking |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1315 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
… | |
… | |
1927 | echo "configuring for rxvt $VERSION" |
1903 | echo "configuring for rxvt $VERSION" |
1928 | echo "" |
1904 | echo "" |
1929 | |
1905 | |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
1906 | orig_CXXFLAGS="$CXXFLAGS" |
1931 | |
1907 | |
1932 | |
|
|
1933 | ac_ext=c |
1908 | ac_ext=c |
1934 | ac_cpp='$CPP $CPPFLAGS' |
1909 | ac_cpp='$CPP $CPPFLAGS' |
1935 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1910 | 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' |
1911 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1937 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1912 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3715 | echo "${ECHO_T}no" >&6; } |
3690 | echo "${ECHO_T}no" >&6; } |
3716 | fi |
3691 | fi |
3717 | rm -f conftest* |
3692 | rm -f conftest* |
3718 | |
3693 | |
3719 | |
3694 | |
|
|
3695 | |
|
|
3696 | cat >>confdefs.h <<\_ACEOF |
|
|
3697 | #define _GNU_SOURCE 1 |
|
|
3698 | _ACEOF |
|
|
3699 | |
|
|
3700 | |
3720 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3701 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3702 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | if test "${ac_cv_search_strerror+set}" = set; then |
3703 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3704 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | else |
3705 | else |
… | |
… | |
3871 | LINKER=$LINKER |
3852 | LINKER=$LINKER |
3872 | |
3853 | |
3873 | |
3854 | |
3874 | if test -z "$orig_CXXFLAGS"; then |
3855 | if test -z "$orig_CXXFLAGS"; then |
3875 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3856 | if test x$GCC = xyes && test "x$GXX" = xyes; then |
3876 | CXXFLAGS="-g -O3 -fno-threadsafe-statics -fno-enforce-eh-specs" |
3857 | CXXFLAGS="-g -O3 -fno-rtti -fvisibility-inlines-hidden -fno-threadsafe-statics -fno-enforce-eh-specs" |
3877 | cat >conftest.$ac_ext <<_ACEOF |
3858 | cat >conftest.$ac_ext <<_ACEOF |
3878 | /* confdefs.h. */ |
3859 | /* confdefs.h. */ |
3879 | _ACEOF |
3860 | _ACEOF |
3880 | cat confdefs.h >>conftest.$ac_ext |
3861 | cat confdefs.h >>conftest.$ac_ext |
3881 | cat >>conftest.$ac_ext <<_ACEOF |
3862 | cat >>conftest.$ac_ext <<_ACEOF |
… | |
… | |
3919 | CXXFLAGS="-O" |
3900 | CXXFLAGS="-O" |
3920 | fi |
3901 | fi |
3921 | CFLAGS="$CXXFLAGS" |
3902 | CFLAGS="$CXXFLAGS" |
3922 | fi |
3903 | fi |
3923 | |
3904 | |
3924 | |
|
|
3925 | cat >>confdefs.h <<\_ACEOF |
|
|
3926 | #define _GNU_SOURCE 1 |
|
|
3927 | _ACEOF |
|
|
3928 | |
|
|
3929 | |
|
|
3930 | case $host in |
3905 | case $host in |
3931 | *-*-solaris* ) |
3906 | *-*-solaris* ) |
3932 | |
3907 | |
3933 | cat >>confdefs.h <<\_ACEOF |
3908 | cat >>confdefs.h <<\_ACEOF |
3934 | #define _XOPEN_SOURCE 500 |
3909 | #define _XOPEN_SOURCE 500 |
3935 | _ACEOF |
3910 | _ACEOF |
3936 | |
3911 | |
3937 | ;; |
3912 | ;; |
3938 | esac |
3913 | esac |
3939 | |
|
|
3940 | |
3914 | |
3941 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3915 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3942 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3916 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3943 | if test "${ac_cv_func_setlocale+set}" = set; then |
3917 | if test "${ac_cv_func_setlocale+set}" = set; then |
3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3918 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4391 | fi |
4365 | fi |
4392 | |
4366 | |
4393 | fi |
4367 | fi |
4394 | |
4368 | |
4395 | |
4369 | |
4396 | |
|
|
4397 | support_frills=yes |
4370 | support_frills=yes |
4398 | support_inheritpixmap=yes |
4371 | support_inheritpixmap=yes |
4399 | support_fading=yes |
4372 | support_fading=yes |
4400 | support_keepscrolling=yes |
4373 | support_keepscrolling=yes |
4401 | support_selectionscrolling=yes |
4374 | support_selectionscrolling=yes |
… | |
… | |
4404 | support_text_blink=yes |
4377 | support_text_blink=yes |
4405 | support_pointer_blank=yes |
4378 | support_pointer_blank=yes |
4406 | support_scroll_rxvt=yes |
4379 | support_scroll_rxvt=yes |
4407 | support_scroll_next=yes |
4380 | support_scroll_next=yes |
4408 | support_scroll_xterm=yes |
4381 | support_scroll_xterm=yes |
4409 | support_scroll_plain=yes |
|
|
4410 | support_xim=yes |
4382 | support_xim=yes |
4411 | support_afterimage=yes |
4383 | support_afterimage=yes |
4412 | support_afterstep=yes |
4384 | support_afterstep=yes |
4413 | support_xft=yes |
4385 | support_xft=yes |
4414 | support_unicode3=no |
4386 | support_unicode3=no |
… | |
… | |
4416 | support_8bitctrls=no |
4388 | support_8bitctrls=no |
4417 | support_iso14755=yes |
4389 | support_iso14755=yes |
4418 | support_styles=yes |
4390 | support_styles=yes |
4419 | support_perl=yes |
4391 | support_perl=yes |
4420 | codesets=all |
4392 | 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 | |
4393 | |
4432 | |
4394 | |
4433 | # Check whether --enable-everything was given. |
4395 | # Check whether --enable-everything was given. |
4434 | if test "${enable_everything+set}" = set; then |
4396 | if test "${enable_everything+set}" = set; then |
4435 | enableval=$enable_everything; |
4397 | enableval=$enable_everything; |
… | |
… | |
4445 | support_text_blink=no |
4407 | support_text_blink=no |
4446 | support_pointer_blank=no |
4408 | support_pointer_blank=no |
4447 | support_scroll_rxvt=no |
4409 | support_scroll_rxvt=no |
4448 | support_scroll_next=no |
4410 | support_scroll_next=no |
4449 | support_scroll_xterm=no |
4411 | support_scroll_xterm=no |
4450 | support_scroll_plain=no |
|
|
4451 | support_utmp=no |
4412 | support_utmp=no |
4452 | support_wtmp=no |
4413 | support_wtmp=no |
4453 | support_xim=no |
4414 | support_xim=no |
4454 | support_afterimage=no |
4415 | support_afterimage=no |
4455 | support_afterstep=no |
4416 | support_afterstep=no |
… | |
… | |
4474 | support_text_blink=yes |
4435 | support_text_blink=yes |
4475 | support_pointer_blank=yes |
4436 | support_pointer_blank=yes |
4476 | support_scroll_rxvt=yes |
4437 | support_scroll_rxvt=yes |
4477 | support_scroll_next=yes |
4438 | support_scroll_next=yes |
4478 | support_scroll_xterm=yes |
4439 | support_scroll_xterm=yes |
4479 | support_scroll_plain=yes |
|
|
4480 | support_utmp=yes |
4440 | support_utmp=yes |
4481 | support_wtmp=yes |
4441 | support_wtmp=yes |
4482 | support_xim=yes |
4442 | support_xim=yes |
4483 | support_afterimage=yes |
4443 | support_afterimage=yes |
4484 | support_afterstep=yes |
4444 | support_afterstep=yes |
… | |
… | |
4645 | |
4605 | |
4646 | # Check whether --enable-perl was given. |
4606 | # Check whether --enable-perl was given. |
4647 | if test "${enable_perl+set}" = set; then |
4607 | if test "${enable_perl+set}" = set; then |
4648 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4608 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4649 | support_perl=$enableval |
4609 | 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 |
4610 | fi |
4659 | fi |
4611 | fi |
4660 | |
4612 | |
4661 | |
4613 | |
4662 | |
4614 | |
… | |
… | |
5368 | |
5320 | |
5369 | |
5321 | |
5370 | |
5322 | |
5371 | |
5323 | |
5372 | |
5324 | |
|
|
5325 | |
|
|
5326 | |
|
|
5327 | |
5373 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h |
5328 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
5374 | do |
5329 | do |
5375 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5330 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5376 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5331 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5377 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5332 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5378 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5333 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5511 | |
5466 | |
5512 | |
5467 | |
5513 | |
5468 | |
5514 | |
5469 | |
5515 | |
5470 | |
|
|
5471 | |
|
|
5472 | |
|
|
5473 | |
5516 | for ac_func in epoll_ctl kqueue port_create |
5474 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5517 | do |
5475 | do |
5518 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5476 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5519 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5477 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5520 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5478 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5521 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5479 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5762 | |
5720 | |
5763 | LIBS="-lrt $LIBS" |
5721 | LIBS="-lrt $LIBS" |
5764 | |
5722 | |
5765 | fi |
5723 | fi |
5766 | |
5724 | |
|
|
5725 | unset ac_cv_func_clock_gettime |
5767 | |
5726 | |
5768 | for ac_func in clock_gettime |
5727 | for ac_func in clock_gettime |
|
|
5728 | do |
|
|
5729 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
|
|
5730 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
|
|
5731 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
|
|
5732 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
|
|
5733 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5734 | else |
|
|
5735 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5736 | /* confdefs.h. */ |
|
|
5737 | _ACEOF |
|
|
5738 | cat confdefs.h >>conftest.$ac_ext |
|
|
5739 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5740 | /* end confdefs.h. */ |
|
|
5741 | /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func. |
|
|
5742 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5743 | #define $ac_func innocuous_$ac_func |
|
|
5744 | |
|
|
5745 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5746 | which can conflict with char $ac_func (); below. |
|
|
5747 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5748 | <limits.h> exists even on freestanding compilers. */ |
|
|
5749 | |
|
|
5750 | #ifdef __STDC__ |
|
|
5751 | # include <limits.h> |
|
|
5752 | #else |
|
|
5753 | # include <assert.h> |
|
|
5754 | #endif |
|
|
5755 | |
|
|
5756 | #undef $ac_func |
|
|
5757 | |
|
|
5758 | /* Override any GCC internal prototype to avoid an error. |
|
|
5759 | Use char because int might match the return type of a GCC |
|
|
5760 | builtin and then its argument prototype would still apply. */ |
|
|
5761 | #ifdef __cplusplus |
|
|
5762 | extern "C" |
|
|
5763 | #endif |
|
|
5764 | char $ac_func (); |
|
|
5765 | /* The GNU C library defines this for functions which it implements |
|
|
5766 | to always fail with ENOSYS. Some functions are actually named |
|
|
5767 | something starting with __ and the normal name is an alias. */ |
|
|
5768 | #if defined __stub_$ac_func || defined __stub___$ac_func |
|
|
5769 | choke me |
|
|
5770 | #endif |
|
|
5771 | |
|
|
5772 | int |
|
|
5773 | main () |
|
|
5774 | { |
|
|
5775 | return $ac_func (); |
|
|
5776 | ; |
|
|
5777 | return 0; |
|
|
5778 | } |
|
|
5779 | _ACEOF |
|
|
5780 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5781 | if { (ac_try="$ac_link" |
|
|
5782 | case "(($ac_try" in |
|
|
5783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5784 | *) ac_try_echo=$ac_try;; |
|
|
5785 | esac |
|
|
5786 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5787 | (eval "$ac_link") 2>conftest.er1 |
|
|
5788 | ac_status=$? |
|
|
5789 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5790 | rm -f conftest.er1 |
|
|
5791 | cat conftest.err >&5 |
|
|
5792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5793 | (exit $ac_status); } && { |
|
|
5794 | test -z "$ac_cxx_werror_flag" || |
|
|
5795 | test ! -s conftest.err |
|
|
5796 | } && test -s conftest$ac_exeext && |
|
|
5797 | $as_test_x conftest$ac_exeext; then |
|
|
5798 | eval "$as_ac_var=yes" |
|
|
5799 | else |
|
|
5800 | echo "$as_me: failed program was:" >&5 |
|
|
5801 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5802 | |
|
|
5803 | eval "$as_ac_var=no" |
|
|
5804 | fi |
|
|
5805 | |
|
|
5806 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5807 | conftest$ac_exeext conftest.$ac_ext |
|
|
5808 | fi |
|
|
5809 | ac_res=`eval echo '${'$as_ac_var'}'` |
|
|
5810 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
|
|
5811 | echo "${ECHO_T}$ac_res" >&6; } |
|
|
5812 | if test `eval echo '${'$as_ac_var'}'` = yes; then |
|
|
5813 | cat >>confdefs.h <<_ACEOF |
|
|
5814 | #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1 |
|
|
5815 | _ACEOF |
|
|
5816 | |
|
|
5817 | fi |
|
|
5818 | done |
|
|
5819 | |
|
|
5820 | fi |
|
|
5821 | |
|
|
5822 | fi |
|
|
5823 | |
|
|
5824 | |
|
|
5825 | { echo "$as_me:$LINENO: checking for nanosleep" >&5 |
|
|
5826 | echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; } |
|
|
5827 | if test "${ac_cv_func_nanosleep+set}" = set; then |
|
|
5828 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5829 | else |
|
|
5830 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5831 | /* confdefs.h. */ |
|
|
5832 | _ACEOF |
|
|
5833 | cat confdefs.h >>conftest.$ac_ext |
|
|
5834 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5835 | /* end confdefs.h. */ |
|
|
5836 | /* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep. |
|
|
5837 | For example, HP-UX 11i <limits.h> declares gettimeofday. */ |
|
|
5838 | #define nanosleep innocuous_nanosleep |
|
|
5839 | |
|
|
5840 | /* System header to define __stub macros and hopefully few prototypes, |
|
|
5841 | which can conflict with char nanosleep (); below. |
|
|
5842 | Prefer <limits.h> to <assert.h> if __STDC__ is defined, since |
|
|
5843 | <limits.h> exists even on freestanding compilers. */ |
|
|
5844 | |
|
|
5845 | #ifdef __STDC__ |
|
|
5846 | # include <limits.h> |
|
|
5847 | #else |
|
|
5848 | # include <assert.h> |
|
|
5849 | #endif |
|
|
5850 | |
|
|
5851 | #undef nanosleep |
|
|
5852 | |
|
|
5853 | /* Override any GCC internal prototype to avoid an error. |
|
|
5854 | Use char because int might match the return type of a GCC |
|
|
5855 | builtin and then its argument prototype would still apply. */ |
|
|
5856 | #ifdef __cplusplus |
|
|
5857 | extern "C" |
|
|
5858 | #endif |
|
|
5859 | char nanosleep (); |
|
|
5860 | /* The GNU C library defines this for functions which it implements |
|
|
5861 | to always fail with ENOSYS. Some functions are actually named |
|
|
5862 | something starting with __ and the normal name is an alias. */ |
|
|
5863 | #if defined __stub_nanosleep || defined __stub___nanosleep |
|
|
5864 | choke me |
|
|
5865 | #endif |
|
|
5866 | |
|
|
5867 | int |
|
|
5868 | main () |
|
|
5869 | { |
|
|
5870 | return nanosleep (); |
|
|
5871 | ; |
|
|
5872 | return 0; |
|
|
5873 | } |
|
|
5874 | _ACEOF |
|
|
5875 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5876 | if { (ac_try="$ac_link" |
|
|
5877 | case "(($ac_try" in |
|
|
5878 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5879 | *) ac_try_echo=$ac_try;; |
|
|
5880 | esac |
|
|
5881 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5882 | (eval "$ac_link") 2>conftest.er1 |
|
|
5883 | ac_status=$? |
|
|
5884 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5885 | rm -f conftest.er1 |
|
|
5886 | cat conftest.err >&5 |
|
|
5887 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5888 | (exit $ac_status); } && { |
|
|
5889 | test -z "$ac_cxx_werror_flag" || |
|
|
5890 | test ! -s conftest.err |
|
|
5891 | } && test -s conftest$ac_exeext && |
|
|
5892 | $as_test_x conftest$ac_exeext; then |
|
|
5893 | ac_cv_func_nanosleep=yes |
|
|
5894 | else |
|
|
5895 | echo "$as_me: failed program was:" >&5 |
|
|
5896 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5897 | |
|
|
5898 | ac_cv_func_nanosleep=no |
|
|
5899 | fi |
|
|
5900 | |
|
|
5901 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5902 | conftest$ac_exeext conftest.$ac_ext |
|
|
5903 | fi |
|
|
5904 | { echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5 |
|
|
5905 | echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; } |
|
|
5906 | if test $ac_cv_func_nanosleep = yes; then |
|
|
5907 | : |
|
|
5908 | else |
|
|
5909 | |
|
|
5910 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
|
|
5911 | |
|
|
5912 | { echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5 |
|
|
5913 | echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; } |
|
|
5914 | if test "${ac_cv_lib_rt_nanosleep+set}" = set; then |
|
|
5915 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
5916 | else |
|
|
5917 | ac_check_lib_save_LIBS=$LIBS |
|
|
5918 | LIBS="-lrt $LIBS" |
|
|
5919 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5920 | /* confdefs.h. */ |
|
|
5921 | _ACEOF |
|
|
5922 | cat confdefs.h >>conftest.$ac_ext |
|
|
5923 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5924 | /* end confdefs.h. */ |
|
|
5925 | |
|
|
5926 | /* Override any GCC internal prototype to avoid an error. |
|
|
5927 | Use char because int might match the return type of a GCC |
|
|
5928 | builtin and then its argument prototype would still apply. */ |
|
|
5929 | #ifdef __cplusplus |
|
|
5930 | extern "C" |
|
|
5931 | #endif |
|
|
5932 | char nanosleep (); |
|
|
5933 | int |
|
|
5934 | main () |
|
|
5935 | { |
|
|
5936 | return nanosleep (); |
|
|
5937 | ; |
|
|
5938 | return 0; |
|
|
5939 | } |
|
|
5940 | _ACEOF |
|
|
5941 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5942 | if { (ac_try="$ac_link" |
|
|
5943 | case "(($ac_try" in |
|
|
5944 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5945 | *) ac_try_echo=$ac_try;; |
|
|
5946 | esac |
|
|
5947 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5948 | (eval "$ac_link") 2>conftest.er1 |
|
|
5949 | ac_status=$? |
|
|
5950 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5951 | rm -f conftest.er1 |
|
|
5952 | cat conftest.err >&5 |
|
|
5953 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5954 | (exit $ac_status); } && { |
|
|
5955 | test -z "$ac_cxx_werror_flag" || |
|
|
5956 | test ! -s conftest.err |
|
|
5957 | } && test -s conftest$ac_exeext && |
|
|
5958 | $as_test_x conftest$ac_exeext; then |
|
|
5959 | ac_cv_lib_rt_nanosleep=yes |
|
|
5960 | else |
|
|
5961 | echo "$as_me: failed program was:" >&5 |
|
|
5962 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5963 | |
|
|
5964 | ac_cv_lib_rt_nanosleep=no |
|
|
5965 | fi |
|
|
5966 | |
|
|
5967 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5968 | conftest$ac_exeext conftest.$ac_ext |
|
|
5969 | LIBS=$ac_check_lib_save_LIBS |
|
|
5970 | fi |
|
|
5971 | { echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5 |
|
|
5972 | echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; } |
|
|
5973 | if test $ac_cv_lib_rt_nanosleep = yes; then |
|
|
5974 | cat >>confdefs.h <<_ACEOF |
|
|
5975 | #define HAVE_LIBRT 1 |
|
|
5976 | _ACEOF |
|
|
5977 | |
|
|
5978 | LIBS="-lrt $LIBS" |
|
|
5979 | |
|
|
5980 | fi |
|
|
5981 | |
|
|
5982 | unset ac_cv_func_nanosleep |
|
|
5983 | |
|
|
5984 | for ac_func in nanosleep |
5769 | do |
5985 | do |
5770 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5986 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5771 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5987 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5772 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5988 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5773 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5989 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5977 | echo "${ECHO_T}$TIC" >&6; } |
6193 | echo "${ECHO_T}$TIC" >&6; } |
5978 | else |
6194 | else |
5979 | { echo "$as_me:$LINENO: result: no" >&5 |
6195 | { echo "$as_me:$LINENO: result: no" >&5 |
5980 | echo "${ECHO_T}no" >&6; } |
6196 | echo "${ECHO_T}no" >&6; } |
5981 | fi |
6197 | fi |
5982 | |
|
|
5983 | |
|
|
5984 | |
6198 | |
5985 | |
6199 | |
5986 | |
6200 | |
5987 | { echo "$as_me:$LINENO: checking for X" >&5 |
6201 | { echo "$as_me:$LINENO: checking for X" >&5 |
5988 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
6202 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
… | |
… | |
7375 | echo "${ECHO_T}no" >&6; } |
7589 | echo "${ECHO_T}no" >&6; } |
7376 | fi |
7590 | fi |
7377 | fi |
7591 | fi |
7378 | fi |
7592 | fi |
7379 | |
7593 | |
7380 | { echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5 |
|
|
7381 | echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; } |
|
|
7382 | if test "${ac_cv_header_sys_wait_h+set}" = set; then |
|
|
7383 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7384 | else |
|
|
7385 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7386 | /* confdefs.h. */ |
|
|
7387 | _ACEOF |
|
|
7388 | cat confdefs.h >>conftest.$ac_ext |
|
|
7389 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7390 | /* end confdefs.h. */ |
|
|
7391 | #include <sys/types.h> |
|
|
7392 | #include <sys/wait.h> |
|
|
7393 | #ifndef WEXITSTATUS |
|
|
7394 | # define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8) |
|
|
7395 | #endif |
|
|
7396 | #ifndef WIFEXITED |
|
|
7397 | # define WIFEXITED(stat_val) (((stat_val) & 255) == 0) |
|
|
7398 | #endif |
|
|
7399 | |
|
|
7400 | int |
|
|
7401 | main () |
|
|
7402 | { |
|
|
7403 | int s; |
|
|
7404 | wait (&s); |
|
|
7405 | s = WIFEXITED (s) ? WEXITSTATUS (s) : 1; |
|
|
7406 | ; |
|
|
7407 | return 0; |
|
|
7408 | } |
|
|
7409 | _ACEOF |
|
|
7410 | rm -f conftest.$ac_objext |
|
|
7411 | if { (ac_try="$ac_compile" |
|
|
7412 | case "(($ac_try" in |
|
|
7413 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7414 | *) ac_try_echo=$ac_try;; |
|
|
7415 | esac |
|
|
7416 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7417 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7418 | ac_status=$? |
|
|
7419 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7420 | rm -f conftest.er1 |
|
|
7421 | cat conftest.err >&5 |
|
|
7422 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7423 | (exit $ac_status); } && { |
|
|
7424 | test -z "$ac_cxx_werror_flag" || |
|
|
7425 | test ! -s conftest.err |
|
|
7426 | } && test -s conftest.$ac_objext; then |
|
|
7427 | ac_cv_header_sys_wait_h=yes |
|
|
7428 | else |
|
|
7429 | echo "$as_me: failed program was:" >&5 |
|
|
7430 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7431 | |
|
|
7432 | ac_cv_header_sys_wait_h=no |
|
|
7433 | fi |
|
|
7434 | |
|
|
7435 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7436 | fi |
|
|
7437 | { echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5 |
|
|
7438 | echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; } |
|
|
7439 | if test $ac_cv_header_sys_wait_h = yes; then |
|
|
7440 | |
|
|
7441 | cat >>confdefs.h <<\_ACEOF |
|
|
7442 | #define HAVE_SYS_WAIT_H 1 |
|
|
7443 | _ACEOF |
|
|
7444 | |
|
|
7445 | fi |
|
|
7446 | |
|
|
7447 | |
|
|
7448 | |
|
|
7449 | |
|
|
7450 | |
|
|
7451 | |
|
|
7452 | |
|
|
7453 | |
|
|
7454 | |
|
|
7455 | |
|
|
7456 | |
|
|
7457 | |
7594 | |
7458 | |
7595 | |
7459 | |
7596 | |
7460 | |
7597 | |
7461 | |
7598 | |
7462 | |
7599 | |
7463 | |
7600 | |
7464 | for ac_header in \ |
7601 | for ac_header in \ |
7465 | assert.h \ |
|
|
7466 | fcntl.h \ |
|
|
7467 | stdarg.h \ |
|
|
7468 | stdlib.h \ |
|
|
7469 | string.h \ |
|
|
7470 | termios.h \ |
|
|
7471 | unistd.h \ |
|
|
7472 | sys/byteorder.h \ |
7602 | sys/byteorder.h \ |
7473 | sys/ioctl.h \ |
7603 | sys/ioctl.h \ |
7474 | sys/select.h \ |
|
|
7475 | sys/sockio.h \ |
7604 | sys/sockio.h \ |
7476 | sys/strredir.h \ |
7605 | sys/strredir.h \ |
7477 | sys/time.h \ |
|
|
7478 | stdint.h \ |
7606 | stdint.h \ |
7479 | wchar.h \ |
7607 | wchar.h \ |
7480 | cwchar \ |
7608 | cwchar \ |
7481 | clocale \ |
|
|
7482 | |
7609 | |
7483 | do |
7610 | do |
7484 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7611 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
7485 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7612 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
7486 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
7613 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
7617 | fi |
7744 | fi |
7618 | |
7745 | |
7619 | done |
7746 | done |
7620 | |
7747 | |
7621 | |
7748 | |
7622 | { echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5 |
|
|
7623 | echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; } |
|
|
7624 | if test "${ac_cv_header_time+set}" = set; then |
|
|
7625 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7626 | else |
|
|
7627 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7628 | /* confdefs.h. */ |
|
|
7629 | _ACEOF |
|
|
7630 | cat confdefs.h >>conftest.$ac_ext |
|
|
7631 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7632 | /* end confdefs.h. */ |
|
|
7633 | #include <sys/types.h> |
|
|
7634 | #include <sys/time.h> |
|
|
7635 | #include <time.h> |
|
|
7636 | |
|
|
7637 | int |
|
|
7638 | main () |
|
|
7639 | { |
|
|
7640 | if ((struct tm *) 0) |
|
|
7641 | return 0; |
|
|
7642 | ; |
|
|
7643 | return 0; |
|
|
7644 | } |
|
|
7645 | _ACEOF |
|
|
7646 | rm -f conftest.$ac_objext |
|
|
7647 | if { (ac_try="$ac_compile" |
|
|
7648 | case "(($ac_try" in |
|
|
7649 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7650 | *) ac_try_echo=$ac_try;; |
|
|
7651 | esac |
|
|
7652 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7653 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7654 | ac_status=$? |
|
|
7655 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7656 | rm -f conftest.er1 |
|
|
7657 | cat conftest.err >&5 |
|
|
7658 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7659 | (exit $ac_status); } && { |
|
|
7660 | test -z "$ac_cxx_werror_flag" || |
|
|
7661 | test ! -s conftest.err |
|
|
7662 | } && test -s conftest.$ac_objext; then |
|
|
7663 | ac_cv_header_time=yes |
|
|
7664 | else |
|
|
7665 | echo "$as_me: failed program was:" >&5 |
|
|
7666 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7667 | |
|
|
7668 | ac_cv_header_time=no |
|
|
7669 | fi |
|
|
7670 | |
|
|
7671 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7672 | fi |
|
|
7673 | { echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5 |
|
|
7674 | echo "${ECHO_T}$ac_cv_header_time" >&6; } |
|
|
7675 | if test $ac_cv_header_time = yes; then |
|
|
7676 | |
|
|
7677 | cat >>confdefs.h <<\_ACEOF |
|
|
7678 | #define TIME_WITH_SYS_TIME 1 |
|
|
7679 | _ACEOF |
|
|
7680 | |
|
|
7681 | fi |
|
|
7682 | |
|
|
7683 | |
|
|
7684 | { echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 |
|
|
7685 | echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } |
|
|
7686 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
|
|
7687 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7688 | else |
|
|
7689 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7690 | /* confdefs.h. */ |
|
|
7691 | _ACEOF |
|
|
7692 | cat confdefs.h >>conftest.$ac_ext |
|
|
7693 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7694 | /* end confdefs.h. */ |
|
|
7695 | #include <stdio.h> |
|
|
7696 | #include <sys/ioctl.h> |
|
|
7697 | #ifdef HAVE_TERMIOS_H |
|
|
7698 | #include <termios.h> |
|
|
7699 | #endif |
|
|
7700 | int |
|
|
7701 | main () |
|
|
7702 | { |
|
|
7703 | int a = ECHO; |
|
|
7704 | ; |
|
|
7705 | return 0; |
|
|
7706 | } |
|
|
7707 | _ACEOF |
|
|
7708 | rm -f conftest.$ac_objext |
|
|
7709 | if { (ac_try="$ac_compile" |
|
|
7710 | case "(($ac_try" in |
|
|
7711 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7712 | *) ac_try_echo=$ac_try;; |
|
|
7713 | esac |
|
|
7714 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7715 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7716 | ac_status=$? |
|
|
7717 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7718 | rm -f conftest.er1 |
|
|
7719 | cat conftest.err >&5 |
|
|
7720 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7721 | (exit $ac_status); } && { |
|
|
7722 | test -z "$ac_cxx_werror_flag" || |
|
|
7723 | test ! -s conftest.err |
|
|
7724 | } && test -s conftest.$ac_objext; then |
|
|
7725 | rxvt_cv_header_sysioctl=yes |
|
|
7726 | else |
|
|
7727 | echo "$as_me: failed program was:" >&5 |
|
|
7728 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7729 | |
|
|
7730 | rxvt_cv_header_sysioctl=no |
|
|
7731 | fi |
|
|
7732 | |
|
|
7733 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7734 | fi |
|
|
7735 | { echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5 |
|
|
7736 | echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; } |
|
|
7737 | |
|
|
7738 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7749 | { echo "$as_me:$LINENO: checking for XPointer" >&5 |
7739 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7750 | echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } |
7740 | if test "${rxvt_cv_xpointer+set}" = set; then |
7751 | if test "${rxvt_cv_xpointer+set}" = set; then |
7741 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7752 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7742 | else |
7753 | else |
… | |
… | |
7853 | cat >>confdefs.h <<\_ACEOF |
7864 | cat >>confdefs.h <<\_ACEOF |
7854 | #define XLIB_ILLEGAL_ACCESS 1 |
7865 | #define XLIB_ILLEGAL_ACCESS 1 |
7855 | _ACEOF |
7866 | _ACEOF |
7856 | |
7867 | |
7857 | fi |
7868 | fi |
7858 | |
|
|
7859 | { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5 |
|
|
7860 | echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; } |
|
|
7861 | if test "${ac_cv_c_const+set}" = set; then |
|
|
7862 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7863 | else |
|
|
7864 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7865 | /* confdefs.h. */ |
|
|
7866 | _ACEOF |
|
|
7867 | cat confdefs.h >>conftest.$ac_ext |
|
|
7868 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7869 | /* end confdefs.h. */ |
|
|
7870 | |
|
|
7871 | int |
|
|
7872 | main () |
|
|
7873 | { |
|
|
7874 | /* FIXME: Include the comments suggested by Paul. */ |
|
|
7875 | #ifndef __cplusplus |
|
|
7876 | /* Ultrix mips cc rejects this. */ |
|
|
7877 | typedef int charset[2]; |
|
|
7878 | const charset cs; |
|
|
7879 | /* SunOS 4.1.1 cc rejects this. */ |
|
|
7880 | char const *const *pcpcc; |
|
|
7881 | char **ppc; |
|
|
7882 | /* NEC SVR4.0.2 mips cc rejects this. */ |
|
|
7883 | struct point {int x, y;}; |
|
|
7884 | static struct point const zero = {0,0}; |
|
|
7885 | /* AIX XL C 1.02.0.0 rejects this. |
|
|
7886 | It does not let you subtract one const X* pointer from another in |
|
|
7887 | an arm of an if-expression whose if-part is not a constant |
|
|
7888 | expression */ |
|
|
7889 | const char *g = "string"; |
|
|
7890 | pcpcc = &g + (g ? g-g : 0); |
|
|
7891 | /* HPUX 7.0 cc rejects these. */ |
|
|
7892 | ++pcpcc; |
|
|
7893 | ppc = (char**) pcpcc; |
|
|
7894 | pcpcc = (char const *const *) ppc; |
|
|
7895 | { /* SCO 3.2v4 cc rejects this. */ |
|
|
7896 | char *t; |
|
|
7897 | char const *s = 0 ? (char *) 0 : (char const *) 0; |
|
|
7898 | |
|
|
7899 | *t++ = 0; |
|
|
7900 | if (s) return 0; |
|
|
7901 | } |
|
|
7902 | { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */ |
|
|
7903 | int x[] = {25, 17}; |
|
|
7904 | const int *foo = &x[0]; |
|
|
7905 | ++foo; |
|
|
7906 | } |
|
|
7907 | { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */ |
|
|
7908 | typedef const int *iptr; |
|
|
7909 | iptr p = 0; |
|
|
7910 | ++p; |
|
|
7911 | } |
|
|
7912 | { /* AIX XL C 1.02.0.0 rejects this saying |
|
|
7913 | "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */ |
|
|
7914 | struct s { int j; const int *ap[3]; }; |
|
|
7915 | struct s *b; b->j = 5; |
|
|
7916 | } |
|
|
7917 | { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */ |
|
|
7918 | const int foo = 10; |
|
|
7919 | if (!foo) return 0; |
|
|
7920 | } |
|
|
7921 | return !cs[0] && !zero.x; |
|
|
7922 | #endif |
|
|
7923 | |
|
|
7924 | ; |
|
|
7925 | return 0; |
|
|
7926 | } |
|
|
7927 | _ACEOF |
|
|
7928 | rm -f conftest.$ac_objext |
|
|
7929 | if { (ac_try="$ac_compile" |
|
|
7930 | case "(($ac_try" in |
|
|
7931 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7932 | *) ac_try_echo=$ac_try;; |
|
|
7933 | esac |
|
|
7934 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7935 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7936 | ac_status=$? |
|
|
7937 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7938 | rm -f conftest.er1 |
|
|
7939 | cat conftest.err >&5 |
|
|
7940 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7941 | (exit $ac_status); } && { |
|
|
7942 | test -z "$ac_cxx_werror_flag" || |
|
|
7943 | test ! -s conftest.err |
|
|
7944 | } && test -s conftest.$ac_objext; then |
|
|
7945 | ac_cv_c_const=yes |
|
|
7946 | else |
|
|
7947 | echo "$as_me: failed program was:" >&5 |
|
|
7948 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
7949 | |
|
|
7950 | ac_cv_c_const=no |
|
|
7951 | fi |
|
|
7952 | |
|
|
7953 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
7954 | fi |
|
|
7955 | { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5 |
|
|
7956 | echo "${ECHO_T}$ac_cv_c_const" >&6; } |
|
|
7957 | if test $ac_cv_c_const = no; then |
|
|
7958 | |
|
|
7959 | cat >>confdefs.h <<\_ACEOF |
|
|
7960 | #define const |
|
|
7961 | _ACEOF |
|
|
7962 | |
|
|
7963 | fi |
|
|
7964 | |
|
|
7965 | { echo "$as_me:$LINENO: checking for inline" >&5 |
|
|
7966 | echo $ECHO_N "checking for inline... $ECHO_C" >&6; } |
|
|
7967 | if test "${ac_cv_c_inline+set}" = set; then |
|
|
7968 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
7969 | else |
|
|
7970 | ac_cv_c_inline=no |
|
|
7971 | for ac_kw in inline __inline__ __inline; do |
|
|
7972 | cat >conftest.$ac_ext <<_ACEOF |
|
|
7973 | /* confdefs.h. */ |
|
|
7974 | _ACEOF |
|
|
7975 | cat confdefs.h >>conftest.$ac_ext |
|
|
7976 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
7977 | /* end confdefs.h. */ |
|
|
7978 | #ifndef __cplusplus |
|
|
7979 | typedef int foo_t; |
|
|
7980 | static $ac_kw foo_t static_foo () {return 0; } |
|
|
7981 | $ac_kw foo_t foo () {return 0; } |
|
|
7982 | #endif |
|
|
7983 | |
|
|
7984 | _ACEOF |
|
|
7985 | rm -f conftest.$ac_objext |
|
|
7986 | if { (ac_try="$ac_compile" |
|
|
7987 | case "(($ac_try" in |
|
|
7988 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
7989 | *) ac_try_echo=$ac_try;; |
|
|
7990 | esac |
|
|
7991 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
7992 | (eval "$ac_compile") 2>conftest.er1 |
|
|
7993 | ac_status=$? |
|
|
7994 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
7995 | rm -f conftest.er1 |
|
|
7996 | cat conftest.err >&5 |
|
|
7997 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
7998 | (exit $ac_status); } && { |
|
|
7999 | test -z "$ac_cxx_werror_flag" || |
|
|
8000 | test ! -s conftest.err |
|
|
8001 | } && test -s conftest.$ac_objext; then |
|
|
8002 | ac_cv_c_inline=$ac_kw |
|
|
8003 | else |
|
|
8004 | echo "$as_me: failed program was:" >&5 |
|
|
8005 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8006 | |
|
|
8007 | |
|
|
8008 | fi |
|
|
8009 | |
|
|
8010 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8011 | test "$ac_cv_c_inline" != no && break |
|
|
8012 | done |
|
|
8013 | |
|
|
8014 | fi |
|
|
8015 | { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5 |
|
|
8016 | echo "${ECHO_T}$ac_cv_c_inline" >&6; } |
|
|
8017 | |
|
|
8018 | |
|
|
8019 | case $ac_cv_c_inline in |
|
|
8020 | inline | yes) ;; |
|
|
8021 | *) |
|
|
8022 | case $ac_cv_c_inline in |
|
|
8023 | no) ac_val=;; |
|
|
8024 | *) ac_val=$ac_cv_c_inline;; |
|
|
8025 | esac |
|
|
8026 | cat >>confdefs.h <<_ACEOF |
|
|
8027 | #ifndef __cplusplus |
|
|
8028 | #define inline $ac_val |
|
|
8029 | #endif |
|
|
8030 | _ACEOF |
|
|
8031 | ;; |
|
|
8032 | esac |
|
|
8033 | |
|
|
8034 | |
|
|
8035 | |
7869 | |
8036 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7870 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
8037 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7871 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
8038 | if test "${ac_cv_type_mode_t+set}" = set; then |
7872 | if test "${ac_cv_type_mode_t+set}" = set; then |
8039 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7873 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
8196 | _ACEOF |
8030 | _ACEOF |
8197 | |
8031 | |
8198 | fi |
8032 | fi |
8199 | |
8033 | |
8200 | |
8034 | |
8201 | { echo "$as_me:$LINENO: checking for short" >&5 |
8035 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
8202 | echo $ECHO_N "checking for short... $ECHO_C" >&6; } |
8036 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
8203 | if test "${ac_cv_type_short+set}" = set; then |
8037 | if test "${ac_cv_c_int16_t+set}" = set; then |
8204 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8205 | else |
8039 | else |
|
|
8040 | ac_cv_c_int16_t=no |
|
|
8041 | for ac_type in 'int16_t' 'int' 'long int' \ |
|
|
8042 | 'long long int' 'short int' 'signed char'; do |
8206 | cat >conftest.$ac_ext <<_ACEOF |
8043 | cat >conftest.$ac_ext <<_ACEOF |
8207 | /* confdefs.h. */ |
8044 | /* confdefs.h. */ |
8208 | _ACEOF |
8045 | _ACEOF |
8209 | cat confdefs.h >>conftest.$ac_ext |
8046 | cat confdefs.h >>conftest.$ac_ext |
8210 | cat >>conftest.$ac_ext <<_ACEOF |
8047 | cat >>conftest.$ac_ext <<_ACEOF |
8211 | /* end confdefs.h. */ |
8048 | /* end confdefs.h. */ |
8212 | $ac_includes_default |
8049 | $ac_includes_default |
8213 | typedef short ac__type_new_; |
|
|
8214 | int |
8050 | int |
8215 | main () |
8051 | main () |
8216 | { |
8052 | { |
8217 | if ((ac__type_new_ *) 0) |
8053 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1))]; |
8218 | return 0; |
8054 | test_array [0] = 0 |
8219 | if (sizeof (ac__type_new_)) |
8055 | |
8220 | return 0; |
|
|
8221 | ; |
8056 | ; |
8222 | return 0; |
8057 | return 0; |
8223 | } |
8058 | } |
8224 | _ACEOF |
8059 | _ACEOF |
8225 | rm -f conftest.$ac_objext |
8060 | rm -f conftest.$ac_objext |
… | |
… | |
8237 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8072 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8238 | (exit $ac_status); } && { |
8073 | (exit $ac_status); } && { |
8239 | test -z "$ac_cxx_werror_flag" || |
8074 | test -z "$ac_cxx_werror_flag" || |
8240 | test ! -s conftest.err |
8075 | test ! -s conftest.err |
8241 | } && test -s conftest.$ac_objext; then |
8076 | } && test -s conftest.$ac_objext; then |
8242 | ac_cv_type_short=yes |
|
|
8243 | else |
|
|
8244 | echo "$as_me: failed program was:" >&5 |
|
|
8245 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8246 | |
|
|
8247 | ac_cv_type_short=no |
|
|
8248 | fi |
|
|
8249 | |
|
|
8250 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8251 | fi |
|
|
8252 | { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5 |
|
|
8253 | echo "${ECHO_T}$ac_cv_type_short" >&6; } |
|
|
8254 | |
|
|
8255 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8256 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8257 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8258 | # This bug is HP SR number 8606223364. |
|
|
8259 | { echo "$as_me:$LINENO: checking size of short" >&5 |
|
|
8260 | echo $ECHO_N "checking size of short... $ECHO_C" >&6; } |
|
|
8261 | if test "${ac_cv_sizeof_short+set}" = set; then |
|
|
8262 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8263 | else |
|
|
8264 | if test "$cross_compiling" = yes; then |
|
|
8265 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8266 | cat >conftest.$ac_ext <<_ACEOF |
8077 | cat >conftest.$ac_ext <<_ACEOF |
8267 | /* confdefs.h. */ |
8078 | /* confdefs.h. */ |
8268 | _ACEOF |
8079 | _ACEOF |
8269 | cat confdefs.h >>conftest.$ac_ext |
8080 | cat confdefs.h >>conftest.$ac_ext |
8270 | cat >>conftest.$ac_ext <<_ACEOF |
8081 | cat >>conftest.$ac_ext <<_ACEOF |
8271 | /* end confdefs.h. */ |
8082 | /* end confdefs.h. */ |
8272 | $ac_includes_default |
8083 | $ac_includes_default |
8273 | typedef short ac__type_sizeof_; |
|
|
8274 | int |
8084 | int |
8275 | main () |
8085 | main () |
8276 | { |
8086 | { |
8277 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
8087 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 1) |
|
|
8088 | < ($ac_type) (((($ac_type) 1 << (16 - 2)) - 1) * 2 + 2))]; |
8278 | test_array [0] = 0 |
8089 | test_array [0] = 0 |
8279 | |
8090 | |
8280 | ; |
8091 | ; |
8281 | return 0; |
8092 | return 0; |
8282 | } |
8093 | } |
… | |
… | |
8296 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8107 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8297 | (exit $ac_status); } && { |
8108 | (exit $ac_status); } && { |
8298 | test -z "$ac_cxx_werror_flag" || |
8109 | test -z "$ac_cxx_werror_flag" || |
8299 | test ! -s conftest.err |
8110 | test ! -s conftest.err |
8300 | } && test -s conftest.$ac_objext; then |
8111 | } && test -s conftest.$ac_objext; then |
8301 | ac_lo=0 ac_mid=0 |
8112 | : |
8302 | while :; do |
8113 | else |
|
|
8114 | echo "$as_me: failed program was:" >&5 |
|
|
8115 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8116 | |
|
|
8117 | case $ac_type in |
|
|
8118 | int16_t) ac_cv_c_int16_t=yes ;; |
|
|
8119 | *) ac_cv_c_int16_t=$ac_type ;; |
|
|
8120 | esac |
|
|
8121 | |
|
|
8122 | fi |
|
|
8123 | |
|
|
8124 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8125 | else |
|
|
8126 | echo "$as_me: failed program was:" >&5 |
|
|
8127 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8128 | |
|
|
8129 | |
|
|
8130 | fi |
|
|
8131 | |
|
|
8132 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8133 | test "$ac_cv_c_int16_t" != no && break |
|
|
8134 | done |
|
|
8135 | fi |
|
|
8136 | { echo "$as_me:$LINENO: result: $ac_cv_c_int16_t" >&5 |
|
|
8137 | echo "${ECHO_T}$ac_cv_c_int16_t" >&6; } |
|
|
8138 | case $ac_cv_c_int16_t in #( |
|
|
8139 | no|yes) ;; #( |
|
|
8140 | *) |
|
|
8141 | |
|
|
8142 | cat >>confdefs.h <<_ACEOF |
|
|
8143 | #define int16_t $ac_cv_c_int16_t |
|
|
8144 | _ACEOF |
|
|
8145 | ;; |
|
|
8146 | esac |
|
|
8147 | |
|
|
8148 | |
|
|
8149 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
8150 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
8151 | if test "${ac_cv_c_uint16_t+set}" = set; then |
|
|
8152 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8153 | else |
|
|
8154 | ac_cv_c_uint16_t=no |
|
|
8155 | for ac_type in 'uint16_t' 'unsigned int' 'unsigned long int' \ |
|
|
8156 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8303 | cat >conftest.$ac_ext <<_ACEOF |
8157 | cat >conftest.$ac_ext <<_ACEOF |
8304 | /* confdefs.h. */ |
8158 | /* confdefs.h. */ |
8305 | _ACEOF |
8159 | _ACEOF |
8306 | cat confdefs.h >>conftest.$ac_ext |
8160 | cat confdefs.h >>conftest.$ac_ext |
8307 | cat >>conftest.$ac_ext <<_ACEOF |
8161 | cat >>conftest.$ac_ext <<_ACEOF |
8308 | /* end confdefs.h. */ |
8162 | /* end confdefs.h. */ |
8309 | $ac_includes_default |
8163 | $ac_includes_default |
8310 | typedef short ac__type_sizeof_; |
|
|
8311 | int |
8164 | int |
8312 | main () |
8165 | main () |
8313 | { |
8166 | { |
8314 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8167 | static int test_array [1 - 2 * !(($ac_type) -1 >> (16 - 1) == 1)]; |
8315 | test_array [0] = 0 |
8168 | test_array [0] = 0 |
8316 | |
8169 | |
8317 | ; |
8170 | ; |
8318 | return 0; |
8171 | return 0; |
8319 | } |
8172 | } |
… | |
… | |
8333 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8186 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8334 | (exit $ac_status); } && { |
8187 | (exit $ac_status); } && { |
8335 | test -z "$ac_cxx_werror_flag" || |
8188 | test -z "$ac_cxx_werror_flag" || |
8336 | test ! -s conftest.err |
8189 | test ! -s conftest.err |
8337 | } && test -s conftest.$ac_objext; then |
8190 | } && test -s conftest.$ac_objext; then |
8338 | ac_hi=$ac_mid; break |
8191 | case $ac_type in |
|
|
8192 | uint16_t) ac_cv_c_uint16_t=yes ;; |
|
|
8193 | *) ac_cv_c_uint16_t=$ac_type ;; |
|
|
8194 | esac |
|
|
8195 | |
8339 | else |
8196 | else |
8340 | echo "$as_me: failed program was:" >&5 |
8197 | echo "$as_me: failed program was:" >&5 |
8341 | sed 's/^/| /' conftest.$ac_ext >&5 |
8198 | sed 's/^/| /' conftest.$ac_ext >&5 |
8342 | |
8199 | |
8343 | ac_lo=`expr $ac_mid + 1` |
8200 | |
8344 | if test $ac_lo -le $ac_mid; then |
|
|
8345 | ac_lo= ac_hi= |
|
|
8346 | break |
|
|
8347 | fi |
|
|
8348 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8349 | fi |
8201 | fi |
8350 | |
8202 | |
8351 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8203 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8204 | test "$ac_cv_c_uint16_t" != no && break |
8352 | done |
8205 | done |
8353 | else |
8206 | fi |
8354 | echo "$as_me: failed program was:" >&5 |
8207 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint16_t" >&5 |
8355 | sed 's/^/| /' conftest.$ac_ext >&5 |
8208 | echo "${ECHO_T}$ac_cv_c_uint16_t" >&6; } |
|
|
8209 | case $ac_cv_c_uint16_t in #( |
|
|
8210 | no|yes) ;; #( |
|
|
8211 | *) |
8356 | |
8212 | |
|
|
8213 | |
|
|
8214 | cat >>confdefs.h <<_ACEOF |
|
|
8215 | #define uint16_t $ac_cv_c_uint16_t |
|
|
8216 | _ACEOF |
|
|
8217 | ;; |
|
|
8218 | esac |
|
|
8219 | |
|
|
8220 | |
|
|
8221 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
8222 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
8223 | if test "${ac_cv_c_int32_t+set}" = set; then |
|
|
8224 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8225 | else |
|
|
8226 | ac_cv_c_int32_t=no |
|
|
8227 | for ac_type in 'int32_t' 'int' 'long int' \ |
|
|
8228 | 'long long int' 'short int' 'signed char'; do |
8357 | cat >conftest.$ac_ext <<_ACEOF |
8229 | cat >conftest.$ac_ext <<_ACEOF |
8358 | /* confdefs.h. */ |
8230 | /* confdefs.h. */ |
8359 | _ACEOF |
8231 | _ACEOF |
8360 | cat confdefs.h >>conftest.$ac_ext |
8232 | cat confdefs.h >>conftest.$ac_ext |
8361 | cat >>conftest.$ac_ext <<_ACEOF |
8233 | cat >>conftest.$ac_ext <<_ACEOF |
8362 | /* end confdefs.h. */ |
8234 | /* end confdefs.h. */ |
8363 | $ac_includes_default |
8235 | $ac_includes_default |
8364 | typedef short ac__type_sizeof_; |
|
|
8365 | int |
8236 | int |
8366 | main () |
8237 | main () |
8367 | { |
8238 | { |
8368 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
8239 | static int test_array [1 - 2 * !(0 < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1))]; |
8369 | test_array [0] = 0 |
8240 | test_array [0] = 0 |
8370 | |
8241 | |
8371 | ; |
8242 | ; |
8372 | return 0; |
8243 | return 0; |
8373 | } |
8244 | } |
… | |
… | |
8387 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8258 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8388 | (exit $ac_status); } && { |
8259 | (exit $ac_status); } && { |
8389 | test -z "$ac_cxx_werror_flag" || |
8260 | test -z "$ac_cxx_werror_flag" || |
8390 | test ! -s conftest.err |
8261 | test ! -s conftest.err |
8391 | } && test -s conftest.$ac_objext; then |
8262 | } && test -s conftest.$ac_objext; then |
8392 | ac_hi=-1 ac_mid=-1 |
|
|
8393 | while :; do |
|
|
8394 | cat >conftest.$ac_ext <<_ACEOF |
8263 | cat >conftest.$ac_ext <<_ACEOF |
8395 | /* confdefs.h. */ |
8264 | /* confdefs.h. */ |
8396 | _ACEOF |
8265 | _ACEOF |
8397 | cat confdefs.h >>conftest.$ac_ext |
8266 | cat confdefs.h >>conftest.$ac_ext |
8398 | cat >>conftest.$ac_ext <<_ACEOF |
8267 | cat >>conftest.$ac_ext <<_ACEOF |
8399 | /* end confdefs.h. */ |
8268 | /* end confdefs.h. */ |
8400 | $ac_includes_default |
8269 | $ac_includes_default |
8401 | typedef short ac__type_sizeof_; |
|
|
8402 | int |
8270 | int |
8403 | main () |
8271 | main () |
8404 | { |
8272 | { |
8405 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
8273 | static int test_array [1 - 2 * !(($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 1) |
|
|
8274 | < ($ac_type) (((($ac_type) 1 << (32 - 2)) - 1) * 2 + 2))]; |
8406 | test_array [0] = 0 |
8275 | test_array [0] = 0 |
8407 | |
8276 | |
8408 | ; |
8277 | ; |
8409 | return 0; |
8278 | return 0; |
8410 | } |
8279 | } |
… | |
… | |
8424 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8293 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8425 | (exit $ac_status); } && { |
8294 | (exit $ac_status); } && { |
8426 | test -z "$ac_cxx_werror_flag" || |
8295 | test -z "$ac_cxx_werror_flag" || |
8427 | test ! -s conftest.err |
8296 | test ! -s conftest.err |
8428 | } && test -s conftest.$ac_objext; then |
8297 | } && test -s conftest.$ac_objext; then |
8429 | ac_lo=$ac_mid; break |
8298 | : |
8430 | else |
8299 | else |
8431 | echo "$as_me: failed program was:" >&5 |
8300 | echo "$as_me: failed program was:" >&5 |
8432 | sed 's/^/| /' conftest.$ac_ext >&5 |
8301 | sed 's/^/| /' conftest.$ac_ext >&5 |
8433 | |
8302 | |
8434 | ac_hi=`expr '(' $ac_mid ')' - 1` |
8303 | case $ac_type in |
8435 | if test $ac_mid -le $ac_hi; then |
8304 | int32_t) ac_cv_c_int32_t=yes ;; |
8436 | ac_lo= ac_hi= |
8305 | *) ac_cv_c_int32_t=$ac_type ;; |
8437 | break |
8306 | esac |
8438 | fi |
8307 | |
8439 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8440 | fi |
8308 | fi |
8441 | |
8309 | |
8442 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8310 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8443 | done |
|
|
8444 | else |
8311 | else |
8445 | echo "$as_me: failed program was:" >&5 |
8312 | echo "$as_me: failed program was:" >&5 |
8446 | sed 's/^/| /' conftest.$ac_ext >&5 |
8313 | sed 's/^/| /' conftest.$ac_ext >&5 |
8447 | |
8314 | |
8448 | ac_lo= ac_hi= |
8315 | |
8449 | fi |
8316 | fi |
8450 | |
8317 | |
8451 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8318 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8319 | test "$ac_cv_c_int32_t" != no && break |
|
|
8320 | done |
8452 | fi |
8321 | fi |
|
|
8322 | { echo "$as_me:$LINENO: result: $ac_cv_c_int32_t" >&5 |
|
|
8323 | echo "${ECHO_T}$ac_cv_c_int32_t" >&6; } |
|
|
8324 | case $ac_cv_c_int32_t in #( |
|
|
8325 | no|yes) ;; #( |
|
|
8326 | *) |
8453 | |
8327 | |
8454 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8328 | cat >>confdefs.h <<_ACEOF |
8455 | # Binary search between lo and hi bounds. |
8329 | #define int32_t $ac_cv_c_int32_t |
8456 | while test "x$ac_lo" != "x$ac_hi"; do |
8330 | _ACEOF |
8457 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
8331 | ;; |
|
|
8332 | esac |
|
|
8333 | |
|
|
8334 | |
|
|
8335 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
8336 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
8337 | if test "${ac_cv_c_uint32_t+set}" = set; then |
|
|
8338 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8339 | else |
|
|
8340 | ac_cv_c_uint32_t=no |
|
|
8341 | for ac_type in 'uint32_t' 'unsigned int' 'unsigned long int' \ |
|
|
8342 | 'unsigned long long int' 'unsigned short int' 'unsigned char'; do |
8458 | cat >conftest.$ac_ext <<_ACEOF |
8343 | cat >conftest.$ac_ext <<_ACEOF |
8459 | /* confdefs.h. */ |
8344 | /* confdefs.h. */ |
8460 | _ACEOF |
8345 | _ACEOF |
8461 | cat confdefs.h >>conftest.$ac_ext |
8346 | cat confdefs.h >>conftest.$ac_ext |
8462 | cat >>conftest.$ac_ext <<_ACEOF |
8347 | cat >>conftest.$ac_ext <<_ACEOF |
8463 | /* end confdefs.h. */ |
8348 | /* end confdefs.h. */ |
8464 | $ac_includes_default |
8349 | $ac_includes_default |
8465 | typedef short ac__type_sizeof_; |
|
|
8466 | int |
8350 | int |
8467 | main () |
8351 | main () |
8468 | { |
8352 | { |
8469 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
8353 | static int test_array [1 - 2 * !(($ac_type) -1 >> (32 - 1) == 1)]; |
8470 | test_array [0] = 0 |
8354 | test_array [0] = 0 |
8471 | |
8355 | |
8472 | ; |
8356 | ; |
8473 | return 0; |
8357 | return 0; |
8474 | } |
8358 | } |
… | |
… | |
8488 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8372 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
8489 | (exit $ac_status); } && { |
8373 | (exit $ac_status); } && { |
8490 | test -z "$ac_cxx_werror_flag" || |
8374 | test -z "$ac_cxx_werror_flag" || |
8491 | test ! -s conftest.err |
8375 | test ! -s conftest.err |
8492 | } && test -s conftest.$ac_objext; then |
8376 | } && test -s conftest.$ac_objext; then |
8493 | ac_hi=$ac_mid |
8377 | case $ac_type in |
|
|
8378 | uint32_t) ac_cv_c_uint32_t=yes ;; |
|
|
8379 | *) ac_cv_c_uint32_t=$ac_type ;; |
|
|
8380 | esac |
|
|
8381 | |
8494 | else |
8382 | else |
8495 | echo "$as_me: failed program was:" >&5 |
8383 | echo "$as_me: failed program was:" >&5 |
8496 | sed 's/^/| /' conftest.$ac_ext >&5 |
8384 | sed 's/^/| /' conftest.$ac_ext >&5 |
8497 | |
8385 | |
8498 | ac_lo=`expr '(' $ac_mid ')' + 1` |
8386 | |
8499 | fi |
8387 | fi |
8500 | |
8388 | |
8501 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8389 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8502 | done |
8390 | test "$ac_cv_c_uint32_t" != no && break |
8503 | case $ac_lo in |
8391 | done |
8504 | ?*) ac_cv_sizeof_short=$ac_lo;; |
|
|
8505 | '') if test "$ac_cv_type_short" = yes; then |
|
|
8506 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8507 | See \`config.log' for more details." >&5 |
|
|
8508 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8509 | See \`config.log' for more details." >&2;} |
|
|
8510 | { (exit 77); exit 77; }; } |
|
|
8511 | else |
|
|
8512 | ac_cv_sizeof_short=0 |
|
|
8513 | fi ;; |
|
|
8514 | esac |
|
|
8515 | else |
|
|
8516 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8517 | /* confdefs.h. */ |
|
|
8518 | _ACEOF |
|
|
8519 | cat confdefs.h >>conftest.$ac_ext |
|
|
8520 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8521 | /* end confdefs.h. */ |
|
|
8522 | $ac_includes_default |
|
|
8523 | typedef short ac__type_sizeof_; |
|
|
8524 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8525 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8526 | #include <stdio.h> |
|
|
8527 | #include <stdlib.h> |
|
|
8528 | int |
|
|
8529 | main () |
|
|
8530 | { |
|
|
8531 | |
|
|
8532 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8533 | if (! f) |
|
|
8534 | return 1; |
|
|
8535 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8536 | { |
|
|
8537 | long int i = longval (); |
|
|
8538 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8539 | return 1; |
|
|
8540 | fprintf (f, "%ld\n", i); |
|
|
8541 | } |
|
|
8542 | else |
|
|
8543 | { |
|
|
8544 | unsigned long int i = ulongval (); |
|
|
8545 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8546 | return 1; |
|
|
8547 | fprintf (f, "%lu\n", i); |
|
|
8548 | } |
|
|
8549 | return ferror (f) || fclose (f) != 0; |
|
|
8550 | |
|
|
8551 | ; |
|
|
8552 | return 0; |
|
|
8553 | } |
|
|
8554 | _ACEOF |
|
|
8555 | rm -f conftest$ac_exeext |
|
|
8556 | if { (ac_try="$ac_link" |
|
|
8557 | case "(($ac_try" in |
|
|
8558 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8559 | *) ac_try_echo=$ac_try;; |
|
|
8560 | esac |
|
|
8561 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8562 | (eval "$ac_link") 2>&5 |
|
|
8563 | ac_status=$? |
|
|
8564 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8565 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8566 | { (case "(($ac_try" in |
|
|
8567 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8568 | *) ac_try_echo=$ac_try;; |
|
|
8569 | esac |
|
|
8570 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8571 | (eval "$ac_try") 2>&5 |
|
|
8572 | ac_status=$? |
|
|
8573 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8574 | (exit $ac_status); }; }; then |
|
|
8575 | ac_cv_sizeof_short=`cat conftest.val` |
|
|
8576 | else |
|
|
8577 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8578 | echo "$as_me: failed program was:" >&5 |
|
|
8579 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8580 | |
|
|
8581 | ( exit $ac_status ) |
|
|
8582 | if test "$ac_cv_type_short" = yes; then |
|
|
8583 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (short) |
|
|
8584 | See \`config.log' for more details." >&5 |
|
|
8585 | echo "$as_me: error: cannot compute sizeof (short) |
|
|
8586 | See \`config.log' for more details." >&2;} |
|
|
8587 | { (exit 77); exit 77; }; } |
|
|
8588 | else |
|
|
8589 | ac_cv_sizeof_short=0 |
|
|
8590 | fi |
|
|
8591 | fi |
8392 | fi |
8592 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8593 | fi |
|
|
8594 | rm -f conftest.val |
|
|
8595 | fi |
|
|
8596 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5 |
8393 | { echo "$as_me:$LINENO: result: $ac_cv_c_uint32_t" >&5 |
8597 | echo "${ECHO_T}$ac_cv_sizeof_short" >&6; } |
8394 | echo "${ECHO_T}$ac_cv_c_uint32_t" >&6; } |
|
|
8395 | case $ac_cv_c_uint32_t in #( |
|
|
8396 | no|yes) ;; #( |
|
|
8397 | *) |
8598 | |
8398 | |
|
|
8399 | cat >>confdefs.h <<\_ACEOF |
|
|
8400 | #define _UINT32_T 1 |
|
|
8401 | _ACEOF |
8599 | |
8402 | |
8600 | |
8403 | |
8601 | cat >>confdefs.h <<_ACEOF |
8404 | cat >>confdefs.h <<_ACEOF |
8602 | #define SIZEOF_SHORT $ac_cv_sizeof_short |
8405 | #define uint32_t $ac_cv_c_uint32_t |
8603 | _ACEOF |
8406 | _ACEOF |
8604 | |
8407 | ;; |
8605 | |
|
|
8606 | { echo "$as_me:$LINENO: checking for int" >&5 |
|
|
8607 | echo $ECHO_N "checking for int... $ECHO_C" >&6; } |
|
|
8608 | if test "${ac_cv_type_int+set}" = set; then |
|
|
8609 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8610 | else |
|
|
8611 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8612 | /* confdefs.h. */ |
|
|
8613 | _ACEOF |
|
|
8614 | cat confdefs.h >>conftest.$ac_ext |
|
|
8615 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8616 | /* end confdefs.h. */ |
|
|
8617 | $ac_includes_default |
|
|
8618 | typedef int ac__type_new_; |
|
|
8619 | int |
|
|
8620 | main () |
|
|
8621 | { |
|
|
8622 | if ((ac__type_new_ *) 0) |
|
|
8623 | return 0; |
|
|
8624 | if (sizeof (ac__type_new_)) |
|
|
8625 | return 0; |
|
|
8626 | ; |
|
|
8627 | return 0; |
|
|
8628 | } |
|
|
8629 | _ACEOF |
|
|
8630 | rm -f conftest.$ac_objext |
|
|
8631 | if { (ac_try="$ac_compile" |
|
|
8632 | case "(($ac_try" in |
|
|
8633 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8634 | *) ac_try_echo=$ac_try;; |
|
|
8635 | esac |
8408 | esac |
8636 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8637 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8638 | ac_status=$? |
|
|
8639 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8640 | rm -f conftest.er1 |
|
|
8641 | cat conftest.err >&5 |
|
|
8642 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8643 | (exit $ac_status); } && { |
|
|
8644 | test -z "$ac_cxx_werror_flag" || |
|
|
8645 | test ! -s conftest.err |
|
|
8646 | } && test -s conftest.$ac_objext; then |
|
|
8647 | ac_cv_type_int=yes |
|
|
8648 | else |
|
|
8649 | echo "$as_me: failed program was:" >&5 |
|
|
8650 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8651 | |
|
|
8652 | ac_cv_type_int=no |
|
|
8653 | fi |
|
|
8654 | |
|
|
8655 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8656 | fi |
|
|
8657 | { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5 |
|
|
8658 | echo "${ECHO_T}$ac_cv_type_int" >&6; } |
|
|
8659 | |
|
|
8660 | # The cast to long int works around a bug in the HP C Compiler |
|
|
8661 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
8662 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
8663 | # This bug is HP SR number 8606223364. |
|
|
8664 | { echo "$as_me:$LINENO: checking size of int" >&5 |
|
|
8665 | echo $ECHO_N "checking size of int... $ECHO_C" >&6; } |
|
|
8666 | if test "${ac_cv_sizeof_int+set}" = set; then |
|
|
8667 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
8668 | else |
|
|
8669 | if test "$cross_compiling" = yes; then |
|
|
8670 | # Depending upon the size, compute the lo and hi bounds. |
|
|
8671 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8672 | /* confdefs.h. */ |
|
|
8673 | _ACEOF |
|
|
8674 | cat confdefs.h >>conftest.$ac_ext |
|
|
8675 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8676 | /* end confdefs.h. */ |
|
|
8677 | $ac_includes_default |
|
|
8678 | typedef int ac__type_sizeof_; |
|
|
8679 | int |
|
|
8680 | main () |
|
|
8681 | { |
|
|
8682 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
8683 | test_array [0] = 0 |
|
|
8684 | |
|
|
8685 | ; |
|
|
8686 | return 0; |
|
|
8687 | } |
|
|
8688 | _ACEOF |
|
|
8689 | rm -f conftest.$ac_objext |
|
|
8690 | if { (ac_try="$ac_compile" |
|
|
8691 | case "(($ac_try" in |
|
|
8692 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8693 | *) ac_try_echo=$ac_try;; |
|
|
8694 | esac |
|
|
8695 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8696 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8697 | ac_status=$? |
|
|
8698 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8699 | rm -f conftest.er1 |
|
|
8700 | cat conftest.err >&5 |
|
|
8701 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8702 | (exit $ac_status); } && { |
|
|
8703 | test -z "$ac_cxx_werror_flag" || |
|
|
8704 | test ! -s conftest.err |
|
|
8705 | } && test -s conftest.$ac_objext; then |
|
|
8706 | ac_lo=0 ac_mid=0 |
|
|
8707 | while :; do |
|
|
8708 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8709 | /* confdefs.h. */ |
|
|
8710 | _ACEOF |
|
|
8711 | cat confdefs.h >>conftest.$ac_ext |
|
|
8712 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8713 | /* end confdefs.h. */ |
|
|
8714 | $ac_includes_default |
|
|
8715 | typedef int ac__type_sizeof_; |
|
|
8716 | int |
|
|
8717 | main () |
|
|
8718 | { |
|
|
8719 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8720 | test_array [0] = 0 |
|
|
8721 | |
|
|
8722 | ; |
|
|
8723 | return 0; |
|
|
8724 | } |
|
|
8725 | _ACEOF |
|
|
8726 | rm -f conftest.$ac_objext |
|
|
8727 | if { (ac_try="$ac_compile" |
|
|
8728 | case "(($ac_try" in |
|
|
8729 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8730 | *) ac_try_echo=$ac_try;; |
|
|
8731 | esac |
|
|
8732 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8733 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8734 | ac_status=$? |
|
|
8735 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8736 | rm -f conftest.er1 |
|
|
8737 | cat conftest.err >&5 |
|
|
8738 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8739 | (exit $ac_status); } && { |
|
|
8740 | test -z "$ac_cxx_werror_flag" || |
|
|
8741 | test ! -s conftest.err |
|
|
8742 | } && test -s conftest.$ac_objext; then |
|
|
8743 | ac_hi=$ac_mid; break |
|
|
8744 | else |
|
|
8745 | echo "$as_me: failed program was:" >&5 |
|
|
8746 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8747 | |
|
|
8748 | ac_lo=`expr $ac_mid + 1` |
|
|
8749 | if test $ac_lo -le $ac_mid; then |
|
|
8750 | ac_lo= ac_hi= |
|
|
8751 | break |
|
|
8752 | fi |
|
|
8753 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
8754 | fi |
|
|
8755 | |
|
|
8756 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8757 | done |
|
|
8758 | else |
|
|
8759 | echo "$as_me: failed program was:" >&5 |
|
|
8760 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8761 | |
|
|
8762 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8763 | /* confdefs.h. */ |
|
|
8764 | _ACEOF |
|
|
8765 | cat confdefs.h >>conftest.$ac_ext |
|
|
8766 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8767 | /* end confdefs.h. */ |
|
|
8768 | $ac_includes_default |
|
|
8769 | typedef int ac__type_sizeof_; |
|
|
8770 | int |
|
|
8771 | main () |
|
|
8772 | { |
|
|
8773 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
8774 | test_array [0] = 0 |
|
|
8775 | |
|
|
8776 | ; |
|
|
8777 | return 0; |
|
|
8778 | } |
|
|
8779 | _ACEOF |
|
|
8780 | rm -f conftest.$ac_objext |
|
|
8781 | if { (ac_try="$ac_compile" |
|
|
8782 | case "(($ac_try" in |
|
|
8783 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8784 | *) ac_try_echo=$ac_try;; |
|
|
8785 | esac |
|
|
8786 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8787 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8788 | ac_status=$? |
|
|
8789 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8790 | rm -f conftest.er1 |
|
|
8791 | cat conftest.err >&5 |
|
|
8792 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8793 | (exit $ac_status); } && { |
|
|
8794 | test -z "$ac_cxx_werror_flag" || |
|
|
8795 | test ! -s conftest.err |
|
|
8796 | } && test -s conftest.$ac_objext; then |
|
|
8797 | ac_hi=-1 ac_mid=-1 |
|
|
8798 | while :; do |
|
|
8799 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8800 | /* confdefs.h. */ |
|
|
8801 | _ACEOF |
|
|
8802 | cat confdefs.h >>conftest.$ac_ext |
|
|
8803 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8804 | /* end confdefs.h. */ |
|
|
8805 | $ac_includes_default |
|
|
8806 | typedef int ac__type_sizeof_; |
|
|
8807 | int |
|
|
8808 | main () |
|
|
8809 | { |
|
|
8810 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
8811 | test_array [0] = 0 |
|
|
8812 | |
|
|
8813 | ; |
|
|
8814 | return 0; |
|
|
8815 | } |
|
|
8816 | _ACEOF |
|
|
8817 | rm -f conftest.$ac_objext |
|
|
8818 | if { (ac_try="$ac_compile" |
|
|
8819 | case "(($ac_try" in |
|
|
8820 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8821 | *) ac_try_echo=$ac_try;; |
|
|
8822 | esac |
|
|
8823 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8824 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8825 | ac_status=$? |
|
|
8826 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8827 | rm -f conftest.er1 |
|
|
8828 | cat conftest.err >&5 |
|
|
8829 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8830 | (exit $ac_status); } && { |
|
|
8831 | test -z "$ac_cxx_werror_flag" || |
|
|
8832 | test ! -s conftest.err |
|
|
8833 | } && test -s conftest.$ac_objext; then |
|
|
8834 | ac_lo=$ac_mid; break |
|
|
8835 | else |
|
|
8836 | echo "$as_me: failed program was:" >&5 |
|
|
8837 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8838 | |
|
|
8839 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
8840 | if test $ac_mid -le $ac_hi; then |
|
|
8841 | ac_lo= ac_hi= |
|
|
8842 | break |
|
|
8843 | fi |
|
|
8844 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
8845 | fi |
|
|
8846 | |
|
|
8847 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8848 | done |
|
|
8849 | else |
|
|
8850 | echo "$as_me: failed program was:" >&5 |
|
|
8851 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8852 | |
|
|
8853 | ac_lo= ac_hi= |
|
|
8854 | fi |
|
|
8855 | |
|
|
8856 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8857 | fi |
|
|
8858 | |
|
|
8859 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8860 | # Binary search between lo and hi bounds. |
|
|
8861 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
8862 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
8863 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8864 | /* confdefs.h. */ |
|
|
8865 | _ACEOF |
|
|
8866 | cat confdefs.h >>conftest.$ac_ext |
|
|
8867 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8868 | /* end confdefs.h. */ |
|
|
8869 | $ac_includes_default |
|
|
8870 | typedef int ac__type_sizeof_; |
|
|
8871 | int |
|
|
8872 | main () |
|
|
8873 | { |
|
|
8874 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
8875 | test_array [0] = 0 |
|
|
8876 | |
|
|
8877 | ; |
|
|
8878 | return 0; |
|
|
8879 | } |
|
|
8880 | _ACEOF |
|
|
8881 | rm -f conftest.$ac_objext |
|
|
8882 | if { (ac_try="$ac_compile" |
|
|
8883 | case "(($ac_try" in |
|
|
8884 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8885 | *) ac_try_echo=$ac_try;; |
|
|
8886 | esac |
|
|
8887 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8888 | (eval "$ac_compile") 2>conftest.er1 |
|
|
8889 | ac_status=$? |
|
|
8890 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
8891 | rm -f conftest.er1 |
|
|
8892 | cat conftest.err >&5 |
|
|
8893 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8894 | (exit $ac_status); } && { |
|
|
8895 | test -z "$ac_cxx_werror_flag" || |
|
|
8896 | test ! -s conftest.err |
|
|
8897 | } && test -s conftest.$ac_objext; then |
|
|
8898 | ac_hi=$ac_mid |
|
|
8899 | else |
|
|
8900 | echo "$as_me: failed program was:" >&5 |
|
|
8901 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8902 | |
|
|
8903 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
8904 | fi |
|
|
8905 | |
|
|
8906 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
8907 | done |
|
|
8908 | case $ac_lo in |
|
|
8909 | ?*) ac_cv_sizeof_int=$ac_lo;; |
|
|
8910 | '') if test "$ac_cv_type_int" = yes; then |
|
|
8911 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8912 | See \`config.log' for more details." >&5 |
|
|
8913 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8914 | See \`config.log' for more details." >&2;} |
|
|
8915 | { (exit 77); exit 77; }; } |
|
|
8916 | else |
|
|
8917 | ac_cv_sizeof_int=0 |
|
|
8918 | fi ;; |
|
|
8919 | esac |
|
|
8920 | else |
|
|
8921 | cat >conftest.$ac_ext <<_ACEOF |
|
|
8922 | /* confdefs.h. */ |
|
|
8923 | _ACEOF |
|
|
8924 | cat confdefs.h >>conftest.$ac_ext |
|
|
8925 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
8926 | /* end confdefs.h. */ |
|
|
8927 | $ac_includes_default |
|
|
8928 | typedef int ac__type_sizeof_; |
|
|
8929 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8930 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
8931 | #include <stdio.h> |
|
|
8932 | #include <stdlib.h> |
|
|
8933 | int |
|
|
8934 | main () |
|
|
8935 | { |
|
|
8936 | |
|
|
8937 | FILE *f = fopen ("conftest.val", "w"); |
|
|
8938 | if (! f) |
|
|
8939 | return 1; |
|
|
8940 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
8941 | { |
|
|
8942 | long int i = longval (); |
|
|
8943 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8944 | return 1; |
|
|
8945 | fprintf (f, "%ld\n", i); |
|
|
8946 | } |
|
|
8947 | else |
|
|
8948 | { |
|
|
8949 | unsigned long int i = ulongval (); |
|
|
8950 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
8951 | return 1; |
|
|
8952 | fprintf (f, "%lu\n", i); |
|
|
8953 | } |
|
|
8954 | return ferror (f) || fclose (f) != 0; |
|
|
8955 | |
|
|
8956 | ; |
|
|
8957 | return 0; |
|
|
8958 | } |
|
|
8959 | _ACEOF |
|
|
8960 | rm -f conftest$ac_exeext |
|
|
8961 | if { (ac_try="$ac_link" |
|
|
8962 | case "(($ac_try" in |
|
|
8963 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8964 | *) ac_try_echo=$ac_try;; |
|
|
8965 | esac |
|
|
8966 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8967 | (eval "$ac_link") 2>&5 |
|
|
8968 | ac_status=$? |
|
|
8969 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8970 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
8971 | { (case "(($ac_try" in |
|
|
8972 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
8973 | *) ac_try_echo=$ac_try;; |
|
|
8974 | esac |
|
|
8975 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
8976 | (eval "$ac_try") 2>&5 |
|
|
8977 | ac_status=$? |
|
|
8978 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
8979 | (exit $ac_status); }; }; then |
|
|
8980 | ac_cv_sizeof_int=`cat conftest.val` |
|
|
8981 | else |
|
|
8982 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
8983 | echo "$as_me: failed program was:" >&5 |
|
|
8984 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
8985 | |
|
|
8986 | ( exit $ac_status ) |
|
|
8987 | if test "$ac_cv_type_int" = yes; then |
|
|
8988 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int) |
|
|
8989 | See \`config.log' for more details." >&5 |
|
|
8990 | echo "$as_me: error: cannot compute sizeof (int) |
|
|
8991 | See \`config.log' for more details." >&2;} |
|
|
8992 | { (exit 77); exit 77; }; } |
|
|
8993 | else |
|
|
8994 | ac_cv_sizeof_int=0 |
|
|
8995 | fi |
|
|
8996 | fi |
|
|
8997 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
8998 | fi |
|
|
8999 | rm -f conftest.val |
|
|
9000 | fi |
|
|
9001 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5 |
|
|
9002 | echo "${ECHO_T}$ac_cv_sizeof_int" >&6; } |
|
|
9003 | |
|
|
9004 | |
|
|
9005 | |
|
|
9006 | cat >>confdefs.h <<_ACEOF |
|
|
9007 | #define SIZEOF_INT $ac_cv_sizeof_int |
|
|
9008 | _ACEOF |
|
|
9009 | |
|
|
9010 | |
|
|
9011 | { echo "$as_me:$LINENO: checking for long long" >&5 |
|
|
9012 | echo $ECHO_N "checking for long long... $ECHO_C" >&6; } |
|
|
9013 | if test "${ac_cv_type_long_long+set}" = set; then |
|
|
9014 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9015 | else |
|
|
9016 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9017 | /* confdefs.h. */ |
|
|
9018 | _ACEOF |
|
|
9019 | cat confdefs.h >>conftest.$ac_ext |
|
|
9020 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9021 | /* end confdefs.h. */ |
|
|
9022 | $ac_includes_default |
|
|
9023 | typedef long long ac__type_new_; |
|
|
9024 | int |
|
|
9025 | main () |
|
|
9026 | { |
|
|
9027 | if ((ac__type_new_ *) 0) |
|
|
9028 | return 0; |
|
|
9029 | if (sizeof (ac__type_new_)) |
|
|
9030 | return 0; |
|
|
9031 | ; |
|
|
9032 | return 0; |
|
|
9033 | } |
|
|
9034 | _ACEOF |
|
|
9035 | rm -f conftest.$ac_objext |
|
|
9036 | if { (ac_try="$ac_compile" |
|
|
9037 | case "(($ac_try" in |
|
|
9038 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9039 | *) ac_try_echo=$ac_try;; |
|
|
9040 | esac |
|
|
9041 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9042 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9043 | ac_status=$? |
|
|
9044 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9045 | rm -f conftest.er1 |
|
|
9046 | cat conftest.err >&5 |
|
|
9047 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9048 | (exit $ac_status); } && { |
|
|
9049 | test -z "$ac_cxx_werror_flag" || |
|
|
9050 | test ! -s conftest.err |
|
|
9051 | } && test -s conftest.$ac_objext; then |
|
|
9052 | ac_cv_type_long_long=yes |
|
|
9053 | else |
|
|
9054 | echo "$as_me: failed program was:" >&5 |
|
|
9055 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9056 | |
|
|
9057 | ac_cv_type_long_long=no |
|
|
9058 | fi |
|
|
9059 | |
|
|
9060 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9061 | fi |
|
|
9062 | { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5 |
|
|
9063 | echo "${ECHO_T}$ac_cv_type_long_long" >&6; } |
|
|
9064 | |
|
|
9065 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9066 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9067 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9068 | # This bug is HP SR number 8606223364. |
|
|
9069 | { echo "$as_me:$LINENO: checking size of long long" >&5 |
|
|
9070 | echo $ECHO_N "checking size of long long... $ECHO_C" >&6; } |
|
|
9071 | if test "${ac_cv_sizeof_long_long+set}" = set; then |
|
|
9072 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9073 | else |
|
|
9074 | if test "$cross_compiling" = yes; then |
|
|
9075 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9076 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9077 | /* confdefs.h. */ |
|
|
9078 | _ACEOF |
|
|
9079 | cat confdefs.h >>conftest.$ac_ext |
|
|
9080 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9081 | /* end confdefs.h. */ |
|
|
9082 | $ac_includes_default |
|
|
9083 | typedef long long ac__type_sizeof_; |
|
|
9084 | int |
|
|
9085 | main () |
|
|
9086 | { |
|
|
9087 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9088 | test_array [0] = 0 |
|
|
9089 | |
|
|
9090 | ; |
|
|
9091 | return 0; |
|
|
9092 | } |
|
|
9093 | _ACEOF |
|
|
9094 | rm -f conftest.$ac_objext |
|
|
9095 | if { (ac_try="$ac_compile" |
|
|
9096 | case "(($ac_try" in |
|
|
9097 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9098 | *) ac_try_echo=$ac_try;; |
|
|
9099 | esac |
|
|
9100 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9101 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9102 | ac_status=$? |
|
|
9103 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9104 | rm -f conftest.er1 |
|
|
9105 | cat conftest.err >&5 |
|
|
9106 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9107 | (exit $ac_status); } && { |
|
|
9108 | test -z "$ac_cxx_werror_flag" || |
|
|
9109 | test ! -s conftest.err |
|
|
9110 | } && test -s conftest.$ac_objext; then |
|
|
9111 | ac_lo=0 ac_mid=0 |
|
|
9112 | while :; do |
|
|
9113 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9114 | /* confdefs.h. */ |
|
|
9115 | _ACEOF |
|
|
9116 | cat confdefs.h >>conftest.$ac_ext |
|
|
9117 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9118 | /* end confdefs.h. */ |
|
|
9119 | $ac_includes_default |
|
|
9120 | typedef long long ac__type_sizeof_; |
|
|
9121 | int |
|
|
9122 | main () |
|
|
9123 | { |
|
|
9124 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9125 | test_array [0] = 0 |
|
|
9126 | |
|
|
9127 | ; |
|
|
9128 | return 0; |
|
|
9129 | } |
|
|
9130 | _ACEOF |
|
|
9131 | rm -f conftest.$ac_objext |
|
|
9132 | if { (ac_try="$ac_compile" |
|
|
9133 | case "(($ac_try" in |
|
|
9134 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9135 | *) ac_try_echo=$ac_try;; |
|
|
9136 | esac |
|
|
9137 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9138 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9139 | ac_status=$? |
|
|
9140 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9141 | rm -f conftest.er1 |
|
|
9142 | cat conftest.err >&5 |
|
|
9143 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9144 | (exit $ac_status); } && { |
|
|
9145 | test -z "$ac_cxx_werror_flag" || |
|
|
9146 | test ! -s conftest.err |
|
|
9147 | } && test -s conftest.$ac_objext; then |
|
|
9148 | ac_hi=$ac_mid; break |
|
|
9149 | else |
|
|
9150 | echo "$as_me: failed program was:" >&5 |
|
|
9151 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9152 | |
|
|
9153 | ac_lo=`expr $ac_mid + 1` |
|
|
9154 | if test $ac_lo -le $ac_mid; then |
|
|
9155 | ac_lo= ac_hi= |
|
|
9156 | break |
|
|
9157 | fi |
|
|
9158 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9159 | fi |
|
|
9160 | |
|
|
9161 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9162 | done |
|
|
9163 | else |
|
|
9164 | echo "$as_me: failed program was:" >&5 |
|
|
9165 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9166 | |
|
|
9167 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9168 | /* confdefs.h. */ |
|
|
9169 | _ACEOF |
|
|
9170 | cat confdefs.h >>conftest.$ac_ext |
|
|
9171 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9172 | /* end confdefs.h. */ |
|
|
9173 | $ac_includes_default |
|
|
9174 | typedef long long ac__type_sizeof_; |
|
|
9175 | int |
|
|
9176 | main () |
|
|
9177 | { |
|
|
9178 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9179 | test_array [0] = 0 |
|
|
9180 | |
|
|
9181 | ; |
|
|
9182 | return 0; |
|
|
9183 | } |
|
|
9184 | _ACEOF |
|
|
9185 | rm -f conftest.$ac_objext |
|
|
9186 | if { (ac_try="$ac_compile" |
|
|
9187 | case "(($ac_try" in |
|
|
9188 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9189 | *) ac_try_echo=$ac_try;; |
|
|
9190 | esac |
|
|
9191 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9192 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9193 | ac_status=$? |
|
|
9194 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9195 | rm -f conftest.er1 |
|
|
9196 | cat conftest.err >&5 |
|
|
9197 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9198 | (exit $ac_status); } && { |
|
|
9199 | test -z "$ac_cxx_werror_flag" || |
|
|
9200 | test ! -s conftest.err |
|
|
9201 | } && test -s conftest.$ac_objext; then |
|
|
9202 | ac_hi=-1 ac_mid=-1 |
|
|
9203 | while :; do |
|
|
9204 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9205 | /* confdefs.h. */ |
|
|
9206 | _ACEOF |
|
|
9207 | cat confdefs.h >>conftest.$ac_ext |
|
|
9208 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9209 | /* end confdefs.h. */ |
|
|
9210 | $ac_includes_default |
|
|
9211 | typedef long long ac__type_sizeof_; |
|
|
9212 | int |
|
|
9213 | main () |
|
|
9214 | { |
|
|
9215 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9216 | test_array [0] = 0 |
|
|
9217 | |
|
|
9218 | ; |
|
|
9219 | return 0; |
|
|
9220 | } |
|
|
9221 | _ACEOF |
|
|
9222 | rm -f conftest.$ac_objext |
|
|
9223 | if { (ac_try="$ac_compile" |
|
|
9224 | case "(($ac_try" in |
|
|
9225 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9226 | *) ac_try_echo=$ac_try;; |
|
|
9227 | esac |
|
|
9228 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9229 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9230 | ac_status=$? |
|
|
9231 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9232 | rm -f conftest.er1 |
|
|
9233 | cat conftest.err >&5 |
|
|
9234 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9235 | (exit $ac_status); } && { |
|
|
9236 | test -z "$ac_cxx_werror_flag" || |
|
|
9237 | test ! -s conftest.err |
|
|
9238 | } && test -s conftest.$ac_objext; then |
|
|
9239 | ac_lo=$ac_mid; break |
|
|
9240 | else |
|
|
9241 | echo "$as_me: failed program was:" >&5 |
|
|
9242 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9243 | |
|
|
9244 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9245 | if test $ac_mid -le $ac_hi; then |
|
|
9246 | ac_lo= ac_hi= |
|
|
9247 | break |
|
|
9248 | fi |
|
|
9249 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9250 | fi |
|
|
9251 | |
|
|
9252 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9253 | done |
|
|
9254 | else |
|
|
9255 | echo "$as_me: failed program was:" >&5 |
|
|
9256 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9257 | |
|
|
9258 | ac_lo= ac_hi= |
|
|
9259 | fi |
|
|
9260 | |
|
|
9261 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9262 | fi |
|
|
9263 | |
|
|
9264 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9265 | # Binary search between lo and hi bounds. |
|
|
9266 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9267 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9268 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9269 | /* confdefs.h. */ |
|
|
9270 | _ACEOF |
|
|
9271 | cat confdefs.h >>conftest.$ac_ext |
|
|
9272 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9273 | /* end confdefs.h. */ |
|
|
9274 | $ac_includes_default |
|
|
9275 | typedef long long ac__type_sizeof_; |
|
|
9276 | int |
|
|
9277 | main () |
|
|
9278 | { |
|
|
9279 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9280 | test_array [0] = 0 |
|
|
9281 | |
|
|
9282 | ; |
|
|
9283 | return 0; |
|
|
9284 | } |
|
|
9285 | _ACEOF |
|
|
9286 | rm -f conftest.$ac_objext |
|
|
9287 | if { (ac_try="$ac_compile" |
|
|
9288 | case "(($ac_try" in |
|
|
9289 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9290 | *) ac_try_echo=$ac_try;; |
|
|
9291 | esac |
|
|
9292 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9293 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9294 | ac_status=$? |
|
|
9295 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9296 | rm -f conftest.er1 |
|
|
9297 | cat conftest.err >&5 |
|
|
9298 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9299 | (exit $ac_status); } && { |
|
|
9300 | test -z "$ac_cxx_werror_flag" || |
|
|
9301 | test ! -s conftest.err |
|
|
9302 | } && test -s conftest.$ac_objext; then |
|
|
9303 | ac_hi=$ac_mid |
|
|
9304 | else |
|
|
9305 | echo "$as_me: failed program was:" >&5 |
|
|
9306 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9307 | |
|
|
9308 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9309 | fi |
|
|
9310 | |
|
|
9311 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9312 | done |
|
|
9313 | case $ac_lo in |
|
|
9314 | ?*) ac_cv_sizeof_long_long=$ac_lo;; |
|
|
9315 | '') if test "$ac_cv_type_long_long" = yes; then |
|
|
9316 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9317 | See \`config.log' for more details." >&5 |
|
|
9318 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9319 | See \`config.log' for more details." >&2;} |
|
|
9320 | { (exit 77); exit 77; }; } |
|
|
9321 | else |
|
|
9322 | ac_cv_sizeof_long_long=0 |
|
|
9323 | fi ;; |
|
|
9324 | esac |
|
|
9325 | else |
|
|
9326 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9327 | /* confdefs.h. */ |
|
|
9328 | _ACEOF |
|
|
9329 | cat confdefs.h >>conftest.$ac_ext |
|
|
9330 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9331 | /* end confdefs.h. */ |
|
|
9332 | $ac_includes_default |
|
|
9333 | typedef long long ac__type_sizeof_; |
|
|
9334 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9335 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9336 | #include <stdio.h> |
|
|
9337 | #include <stdlib.h> |
|
|
9338 | int |
|
|
9339 | main () |
|
|
9340 | { |
|
|
9341 | |
|
|
9342 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9343 | if (! f) |
|
|
9344 | return 1; |
|
|
9345 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9346 | { |
|
|
9347 | long int i = longval (); |
|
|
9348 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9349 | return 1; |
|
|
9350 | fprintf (f, "%ld\n", i); |
|
|
9351 | } |
|
|
9352 | else |
|
|
9353 | { |
|
|
9354 | unsigned long int i = ulongval (); |
|
|
9355 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9356 | return 1; |
|
|
9357 | fprintf (f, "%lu\n", i); |
|
|
9358 | } |
|
|
9359 | return ferror (f) || fclose (f) != 0; |
|
|
9360 | |
|
|
9361 | ; |
|
|
9362 | return 0; |
|
|
9363 | } |
|
|
9364 | _ACEOF |
|
|
9365 | rm -f conftest$ac_exeext |
|
|
9366 | if { (ac_try="$ac_link" |
|
|
9367 | case "(($ac_try" in |
|
|
9368 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9369 | *) ac_try_echo=$ac_try;; |
|
|
9370 | esac |
|
|
9371 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9372 | (eval "$ac_link") 2>&5 |
|
|
9373 | ac_status=$? |
|
|
9374 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9375 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9376 | { (case "(($ac_try" in |
|
|
9377 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9378 | *) ac_try_echo=$ac_try;; |
|
|
9379 | esac |
|
|
9380 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9381 | (eval "$ac_try") 2>&5 |
|
|
9382 | ac_status=$? |
|
|
9383 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9384 | (exit $ac_status); }; }; then |
|
|
9385 | ac_cv_sizeof_long_long=`cat conftest.val` |
|
|
9386 | else |
|
|
9387 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9388 | echo "$as_me: failed program was:" >&5 |
|
|
9389 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9390 | |
|
|
9391 | ( exit $ac_status ) |
|
|
9392 | if test "$ac_cv_type_long_long" = yes; then |
|
|
9393 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long) |
|
|
9394 | See \`config.log' for more details." >&5 |
|
|
9395 | echo "$as_me: error: cannot compute sizeof (long long) |
|
|
9396 | See \`config.log' for more details." >&2;} |
|
|
9397 | { (exit 77); exit 77; }; } |
|
|
9398 | else |
|
|
9399 | ac_cv_sizeof_long_long=0 |
|
|
9400 | fi |
|
|
9401 | fi |
|
|
9402 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9403 | fi |
|
|
9404 | rm -f conftest.val |
|
|
9405 | fi |
|
|
9406 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5 |
|
|
9407 | echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; } |
|
|
9408 | |
|
|
9409 | |
|
|
9410 | |
|
|
9411 | cat >>confdefs.h <<_ACEOF |
|
|
9412 | #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long |
|
|
9413 | _ACEOF |
|
|
9414 | |
|
|
9415 | |
|
|
9416 | { echo "$as_me:$LINENO: checking for int *" >&5 |
|
|
9417 | echo $ECHO_N "checking for int *... $ECHO_C" >&6; } |
|
|
9418 | if test "${ac_cv_type_int_p+set}" = set; then |
|
|
9419 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9420 | else |
|
|
9421 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9422 | /* confdefs.h. */ |
|
|
9423 | _ACEOF |
|
|
9424 | cat confdefs.h >>conftest.$ac_ext |
|
|
9425 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9426 | /* end confdefs.h. */ |
|
|
9427 | $ac_includes_default |
|
|
9428 | typedef int * ac__type_new_; |
|
|
9429 | int |
|
|
9430 | main () |
|
|
9431 | { |
|
|
9432 | if ((ac__type_new_ *) 0) |
|
|
9433 | return 0; |
|
|
9434 | if (sizeof (ac__type_new_)) |
|
|
9435 | return 0; |
|
|
9436 | ; |
|
|
9437 | return 0; |
|
|
9438 | } |
|
|
9439 | _ACEOF |
|
|
9440 | rm -f conftest.$ac_objext |
|
|
9441 | if { (ac_try="$ac_compile" |
|
|
9442 | case "(($ac_try" in |
|
|
9443 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9444 | *) ac_try_echo=$ac_try;; |
|
|
9445 | esac |
|
|
9446 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9447 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9448 | ac_status=$? |
|
|
9449 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9450 | rm -f conftest.er1 |
|
|
9451 | cat conftest.err >&5 |
|
|
9452 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9453 | (exit $ac_status); } && { |
|
|
9454 | test -z "$ac_cxx_werror_flag" || |
|
|
9455 | test ! -s conftest.err |
|
|
9456 | } && test -s conftest.$ac_objext; then |
|
|
9457 | ac_cv_type_int_p=yes |
|
|
9458 | else |
|
|
9459 | echo "$as_me: failed program was:" >&5 |
|
|
9460 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9461 | |
|
|
9462 | ac_cv_type_int_p=no |
|
|
9463 | fi |
|
|
9464 | |
|
|
9465 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9466 | fi |
|
|
9467 | { echo "$as_me:$LINENO: result: $ac_cv_type_int_p" >&5 |
|
|
9468 | echo "${ECHO_T}$ac_cv_type_int_p" >&6; } |
|
|
9469 | |
|
|
9470 | # The cast to long int works around a bug in the HP C Compiler |
|
|
9471 | # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects |
|
|
9472 | # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'. |
|
|
9473 | # This bug is HP SR number 8606223364. |
|
|
9474 | { echo "$as_me:$LINENO: checking size of int *" >&5 |
|
|
9475 | echo $ECHO_N "checking size of int *... $ECHO_C" >&6; } |
|
|
9476 | if test "${ac_cv_sizeof_int_p+set}" = set; then |
|
|
9477 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9478 | else |
|
|
9479 | if test "$cross_compiling" = yes; then |
|
|
9480 | # Depending upon the size, compute the lo and hi bounds. |
|
|
9481 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9482 | /* confdefs.h. */ |
|
|
9483 | _ACEOF |
|
|
9484 | cat confdefs.h >>conftest.$ac_ext |
|
|
9485 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9486 | /* end confdefs.h. */ |
|
|
9487 | $ac_includes_default |
|
|
9488 | typedef int * ac__type_sizeof_; |
|
|
9489 | int |
|
|
9490 | main () |
|
|
9491 | { |
|
|
9492 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)]; |
|
|
9493 | test_array [0] = 0 |
|
|
9494 | |
|
|
9495 | ; |
|
|
9496 | return 0; |
|
|
9497 | } |
|
|
9498 | _ACEOF |
|
|
9499 | rm -f conftest.$ac_objext |
|
|
9500 | if { (ac_try="$ac_compile" |
|
|
9501 | case "(($ac_try" in |
|
|
9502 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9503 | *) ac_try_echo=$ac_try;; |
|
|
9504 | esac |
|
|
9505 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9506 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9507 | ac_status=$? |
|
|
9508 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9509 | rm -f conftest.er1 |
|
|
9510 | cat conftest.err >&5 |
|
|
9511 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9512 | (exit $ac_status); } && { |
|
|
9513 | test -z "$ac_cxx_werror_flag" || |
|
|
9514 | test ! -s conftest.err |
|
|
9515 | } && test -s conftest.$ac_objext; then |
|
|
9516 | ac_lo=0 ac_mid=0 |
|
|
9517 | while :; do |
|
|
9518 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9519 | /* confdefs.h. */ |
|
|
9520 | _ACEOF |
|
|
9521 | cat confdefs.h >>conftest.$ac_ext |
|
|
9522 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9523 | /* end confdefs.h. */ |
|
|
9524 | $ac_includes_default |
|
|
9525 | typedef int * ac__type_sizeof_; |
|
|
9526 | int |
|
|
9527 | main () |
|
|
9528 | { |
|
|
9529 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9530 | test_array [0] = 0 |
|
|
9531 | |
|
|
9532 | ; |
|
|
9533 | return 0; |
|
|
9534 | } |
|
|
9535 | _ACEOF |
|
|
9536 | rm -f conftest.$ac_objext |
|
|
9537 | if { (ac_try="$ac_compile" |
|
|
9538 | case "(($ac_try" in |
|
|
9539 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9540 | *) ac_try_echo=$ac_try;; |
|
|
9541 | esac |
|
|
9542 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9543 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9544 | ac_status=$? |
|
|
9545 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9546 | rm -f conftest.er1 |
|
|
9547 | cat conftest.err >&5 |
|
|
9548 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9549 | (exit $ac_status); } && { |
|
|
9550 | test -z "$ac_cxx_werror_flag" || |
|
|
9551 | test ! -s conftest.err |
|
|
9552 | } && test -s conftest.$ac_objext; then |
|
|
9553 | ac_hi=$ac_mid; break |
|
|
9554 | else |
|
|
9555 | echo "$as_me: failed program was:" >&5 |
|
|
9556 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9557 | |
|
|
9558 | ac_lo=`expr $ac_mid + 1` |
|
|
9559 | if test $ac_lo -le $ac_mid; then |
|
|
9560 | ac_lo= ac_hi= |
|
|
9561 | break |
|
|
9562 | fi |
|
|
9563 | ac_mid=`expr 2 '*' $ac_mid + 1` |
|
|
9564 | fi |
|
|
9565 | |
|
|
9566 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9567 | done |
|
|
9568 | else |
|
|
9569 | echo "$as_me: failed program was:" >&5 |
|
|
9570 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9571 | |
|
|
9572 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9573 | /* confdefs.h. */ |
|
|
9574 | _ACEOF |
|
|
9575 | cat confdefs.h >>conftest.$ac_ext |
|
|
9576 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9577 | /* end confdefs.h. */ |
|
|
9578 | $ac_includes_default |
|
|
9579 | typedef int * ac__type_sizeof_; |
|
|
9580 | int |
|
|
9581 | main () |
|
|
9582 | { |
|
|
9583 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)]; |
|
|
9584 | test_array [0] = 0 |
|
|
9585 | |
|
|
9586 | ; |
|
|
9587 | return 0; |
|
|
9588 | } |
|
|
9589 | _ACEOF |
|
|
9590 | rm -f conftest.$ac_objext |
|
|
9591 | if { (ac_try="$ac_compile" |
|
|
9592 | case "(($ac_try" in |
|
|
9593 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9594 | *) ac_try_echo=$ac_try;; |
|
|
9595 | esac |
|
|
9596 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9597 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9598 | ac_status=$? |
|
|
9599 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9600 | rm -f conftest.er1 |
|
|
9601 | cat conftest.err >&5 |
|
|
9602 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9603 | (exit $ac_status); } && { |
|
|
9604 | test -z "$ac_cxx_werror_flag" || |
|
|
9605 | test ! -s conftest.err |
|
|
9606 | } && test -s conftest.$ac_objext; then |
|
|
9607 | ac_hi=-1 ac_mid=-1 |
|
|
9608 | while :; do |
|
|
9609 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9610 | /* confdefs.h. */ |
|
|
9611 | _ACEOF |
|
|
9612 | cat confdefs.h >>conftest.$ac_ext |
|
|
9613 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9614 | /* end confdefs.h. */ |
|
|
9615 | $ac_includes_default |
|
|
9616 | typedef int * ac__type_sizeof_; |
|
|
9617 | int |
|
|
9618 | main () |
|
|
9619 | { |
|
|
9620 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)]; |
|
|
9621 | test_array [0] = 0 |
|
|
9622 | |
|
|
9623 | ; |
|
|
9624 | return 0; |
|
|
9625 | } |
|
|
9626 | _ACEOF |
|
|
9627 | rm -f conftest.$ac_objext |
|
|
9628 | if { (ac_try="$ac_compile" |
|
|
9629 | case "(($ac_try" in |
|
|
9630 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9631 | *) ac_try_echo=$ac_try;; |
|
|
9632 | esac |
|
|
9633 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9634 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9635 | ac_status=$? |
|
|
9636 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9637 | rm -f conftest.er1 |
|
|
9638 | cat conftest.err >&5 |
|
|
9639 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9640 | (exit $ac_status); } && { |
|
|
9641 | test -z "$ac_cxx_werror_flag" || |
|
|
9642 | test ! -s conftest.err |
|
|
9643 | } && test -s conftest.$ac_objext; then |
|
|
9644 | ac_lo=$ac_mid; break |
|
|
9645 | else |
|
|
9646 | echo "$as_me: failed program was:" >&5 |
|
|
9647 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9648 | |
|
|
9649 | ac_hi=`expr '(' $ac_mid ')' - 1` |
|
|
9650 | if test $ac_mid -le $ac_hi; then |
|
|
9651 | ac_lo= ac_hi= |
|
|
9652 | break |
|
|
9653 | fi |
|
|
9654 | ac_mid=`expr 2 '*' $ac_mid` |
|
|
9655 | fi |
|
|
9656 | |
|
|
9657 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9658 | done |
|
|
9659 | else |
|
|
9660 | echo "$as_me: failed program was:" >&5 |
|
|
9661 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9662 | |
|
|
9663 | ac_lo= ac_hi= |
|
|
9664 | fi |
|
|
9665 | |
|
|
9666 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9667 | fi |
|
|
9668 | |
|
|
9669 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9670 | # Binary search between lo and hi bounds. |
|
|
9671 | while test "x$ac_lo" != "x$ac_hi"; do |
|
|
9672 | ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo` |
|
|
9673 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9674 | /* confdefs.h. */ |
|
|
9675 | _ACEOF |
|
|
9676 | cat confdefs.h >>conftest.$ac_ext |
|
|
9677 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9678 | /* end confdefs.h. */ |
|
|
9679 | $ac_includes_default |
|
|
9680 | typedef int * ac__type_sizeof_; |
|
|
9681 | int |
|
|
9682 | main () |
|
|
9683 | { |
|
|
9684 | static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)]; |
|
|
9685 | test_array [0] = 0 |
|
|
9686 | |
|
|
9687 | ; |
|
|
9688 | return 0; |
|
|
9689 | } |
|
|
9690 | _ACEOF |
|
|
9691 | rm -f conftest.$ac_objext |
|
|
9692 | if { (ac_try="$ac_compile" |
|
|
9693 | case "(($ac_try" in |
|
|
9694 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9695 | *) ac_try_echo=$ac_try;; |
|
|
9696 | esac |
|
|
9697 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9698 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9699 | ac_status=$? |
|
|
9700 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9701 | rm -f conftest.er1 |
|
|
9702 | cat conftest.err >&5 |
|
|
9703 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9704 | (exit $ac_status); } && { |
|
|
9705 | test -z "$ac_cxx_werror_flag" || |
|
|
9706 | test ! -s conftest.err |
|
|
9707 | } && test -s conftest.$ac_objext; then |
|
|
9708 | ac_hi=$ac_mid |
|
|
9709 | else |
|
|
9710 | echo "$as_me: failed program was:" >&5 |
|
|
9711 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9712 | |
|
|
9713 | ac_lo=`expr '(' $ac_mid ')' + 1` |
|
|
9714 | fi |
|
|
9715 | |
|
|
9716 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9717 | done |
|
|
9718 | case $ac_lo in |
|
|
9719 | ?*) ac_cv_sizeof_int_p=$ac_lo;; |
|
|
9720 | '') if test "$ac_cv_type_int_p" = yes; then |
|
|
9721 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9722 | See \`config.log' for more details." >&5 |
|
|
9723 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9724 | See \`config.log' for more details." >&2;} |
|
|
9725 | { (exit 77); exit 77; }; } |
|
|
9726 | else |
|
|
9727 | ac_cv_sizeof_int_p=0 |
|
|
9728 | fi ;; |
|
|
9729 | esac |
|
|
9730 | else |
|
|
9731 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9732 | /* confdefs.h. */ |
|
|
9733 | _ACEOF |
|
|
9734 | cat confdefs.h >>conftest.$ac_ext |
|
|
9735 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9736 | /* end confdefs.h. */ |
|
|
9737 | $ac_includes_default |
|
|
9738 | typedef int * ac__type_sizeof_; |
|
|
9739 | static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9740 | static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); } |
|
|
9741 | #include <stdio.h> |
|
|
9742 | #include <stdlib.h> |
|
|
9743 | int |
|
|
9744 | main () |
|
|
9745 | { |
|
|
9746 | |
|
|
9747 | FILE *f = fopen ("conftest.val", "w"); |
|
|
9748 | if (! f) |
|
|
9749 | return 1; |
|
|
9750 | if (((long int) (sizeof (ac__type_sizeof_))) < 0) |
|
|
9751 | { |
|
|
9752 | long int i = longval (); |
|
|
9753 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9754 | return 1; |
|
|
9755 | fprintf (f, "%ld\n", i); |
|
|
9756 | } |
|
|
9757 | else |
|
|
9758 | { |
|
|
9759 | unsigned long int i = ulongval (); |
|
|
9760 | if (i != ((long int) (sizeof (ac__type_sizeof_)))) |
|
|
9761 | return 1; |
|
|
9762 | fprintf (f, "%lu\n", i); |
|
|
9763 | } |
|
|
9764 | return ferror (f) || fclose (f) != 0; |
|
|
9765 | |
|
|
9766 | ; |
|
|
9767 | return 0; |
|
|
9768 | } |
|
|
9769 | _ACEOF |
|
|
9770 | rm -f conftest$ac_exeext |
|
|
9771 | if { (ac_try="$ac_link" |
|
|
9772 | case "(($ac_try" in |
|
|
9773 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9774 | *) ac_try_echo=$ac_try;; |
|
|
9775 | esac |
|
|
9776 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9777 | (eval "$ac_link") 2>&5 |
|
|
9778 | ac_status=$? |
|
|
9779 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9780 | (exit $ac_status); } && { ac_try='./conftest$ac_exeext' |
|
|
9781 | { (case "(($ac_try" in |
|
|
9782 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9783 | *) ac_try_echo=$ac_try;; |
|
|
9784 | esac |
|
|
9785 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9786 | (eval "$ac_try") 2>&5 |
|
|
9787 | ac_status=$? |
|
|
9788 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9789 | (exit $ac_status); }; }; then |
|
|
9790 | ac_cv_sizeof_int_p=`cat conftest.val` |
|
|
9791 | else |
|
|
9792 | echo "$as_me: program exited with status $ac_status" >&5 |
|
|
9793 | echo "$as_me: failed program was:" >&5 |
|
|
9794 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9795 | |
|
|
9796 | ( exit $ac_status ) |
|
|
9797 | if test "$ac_cv_type_int_p" = yes; then |
|
|
9798 | { { echo "$as_me:$LINENO: error: cannot compute sizeof (int *) |
|
|
9799 | See \`config.log' for more details." >&5 |
|
|
9800 | echo "$as_me: error: cannot compute sizeof (int *) |
|
|
9801 | See \`config.log' for more details." >&2;} |
|
|
9802 | { (exit 77); exit 77; }; } |
|
|
9803 | else |
|
|
9804 | ac_cv_sizeof_int_p=0 |
|
|
9805 | fi |
|
|
9806 | fi |
|
|
9807 | rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext |
|
|
9808 | fi |
|
|
9809 | rm -f conftest.val |
|
|
9810 | fi |
|
|
9811 | { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int_p" >&5 |
|
|
9812 | echo "${ECHO_T}$ac_cv_sizeof_int_p" >&6; } |
|
|
9813 | |
|
|
9814 | |
|
|
9815 | |
|
|
9816 | cat >>confdefs.h <<_ACEOF |
|
|
9817 | #define SIZEOF_INT_P $ac_cv_sizeof_int_p |
|
|
9818 | _ACEOF |
|
|
9819 | |
|
|
9820 | |
|
|
9821 | |
|
|
9822 | |
|
|
9823 | { echo "$as_me:$LINENO: checking for int16_t" >&5 |
|
|
9824 | echo $ECHO_N "checking for int16_t... $ECHO_C" >&6; } |
|
|
9825 | if test "${rxvt_cv_int16_t+set}" = set; then |
|
|
9826 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9827 | else |
|
|
9828 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9829 | /* confdefs.h. */ |
|
|
9830 | _ACEOF |
|
|
9831 | cat confdefs.h >>conftest.$ac_ext |
|
|
9832 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9833 | /* end confdefs.h. */ |
|
|
9834 | #include <stdint.h> |
|
|
9835 | int |
|
|
9836 | main () |
|
|
9837 | { |
|
|
9838 | int16_t dummy; |
|
|
9839 | ; |
|
|
9840 | return 0; |
|
|
9841 | } |
|
|
9842 | _ACEOF |
|
|
9843 | rm -f conftest.$ac_objext |
|
|
9844 | if { (ac_try="$ac_compile" |
|
|
9845 | case "(($ac_try" in |
|
|
9846 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9847 | *) ac_try_echo=$ac_try;; |
|
|
9848 | esac |
|
|
9849 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9850 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9851 | ac_status=$? |
|
|
9852 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9853 | rm -f conftest.er1 |
|
|
9854 | cat conftest.err >&5 |
|
|
9855 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9856 | (exit $ac_status); } && { |
|
|
9857 | test -z "$ac_cxx_werror_flag" || |
|
|
9858 | test ! -s conftest.err |
|
|
9859 | } && test -s conftest.$ac_objext; then |
|
|
9860 | rxvt_cv_int16_t=yes |
|
|
9861 | else |
|
|
9862 | echo "$as_me: failed program was:" >&5 |
|
|
9863 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9864 | |
|
|
9865 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9866 | rxvt_cv_int16_t=" char" |
|
|
9867 | else |
|
|
9868 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9869 | rxvt_cv_int16_t=" short" |
|
|
9870 | else |
|
|
9871 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9872 | rxvt_cv_int16_t=" int" |
|
|
9873 | else |
|
|
9874 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9875 | rxvt_cv_int16_t=" long" |
|
|
9876 | else |
|
|
9877 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9878 | rxvt_cv_int16_t=" long long" |
|
|
9879 | else |
|
|
9880 | rxvt_cv_int16_t=" short" # we _must_ have a (possibly wrong) default |
|
|
9881 | fi |
|
|
9882 | fi |
|
|
9883 | fi |
|
|
9884 | fi |
|
|
9885 | fi |
|
|
9886 | fi |
|
|
9887 | |
|
|
9888 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9889 | fi |
|
|
9890 | { echo "$as_me:$LINENO: result: $rxvt_cv_int16_t" >&5 |
|
|
9891 | echo "${ECHO_T}$rxvt_cv_int16_t" >&6; } |
|
|
9892 | if test x"$rxvt_cv_int16_t" != xyes; then |
|
|
9893 | rxvt_int16_typedef="typedef $rxvt_cv_int16_t int16_t;" |
|
|
9894 | else |
|
|
9895 | if test x"" = x; then |
|
|
9896 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9897 | else |
|
|
9898 | rxvt_int16_typedef="/* typedef short int16_t; */" |
|
|
9899 | fi |
|
|
9900 | fi |
|
|
9901 | |
|
|
9902 | { echo "$as_me:$LINENO: checking for uint16_t" >&5 |
|
|
9903 | echo $ECHO_N "checking for uint16_t... $ECHO_C" >&6; } |
|
|
9904 | if test "${rxvt_cv_uint16_t+set}" = set; then |
|
|
9905 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9906 | else |
|
|
9907 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9908 | /* confdefs.h. */ |
|
|
9909 | _ACEOF |
|
|
9910 | cat confdefs.h >>conftest.$ac_ext |
|
|
9911 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9912 | /* end confdefs.h. */ |
|
|
9913 | #include <stdint.h> |
|
|
9914 | int |
|
|
9915 | main () |
|
|
9916 | { |
|
|
9917 | uint16_t dummy; |
|
|
9918 | ; |
|
|
9919 | return 0; |
|
|
9920 | } |
|
|
9921 | _ACEOF |
|
|
9922 | rm -f conftest.$ac_objext |
|
|
9923 | if { (ac_try="$ac_compile" |
|
|
9924 | case "(($ac_try" in |
|
|
9925 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
9926 | *) ac_try_echo=$ac_try;; |
|
|
9927 | esac |
|
|
9928 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
9929 | (eval "$ac_compile") 2>conftest.er1 |
|
|
9930 | ac_status=$? |
|
|
9931 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
9932 | rm -f conftest.er1 |
|
|
9933 | cat conftest.err >&5 |
|
|
9934 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
9935 | (exit $ac_status); } && { |
|
|
9936 | test -z "$ac_cxx_werror_flag" || |
|
|
9937 | test ! -s conftest.err |
|
|
9938 | } && test -s conftest.$ac_objext; then |
|
|
9939 | rxvt_cv_uint16_t=yes |
|
|
9940 | else |
|
|
9941 | echo "$as_me: failed program was:" >&5 |
|
|
9942 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
9943 | |
|
|
9944 | if test "$ac_cv_sizeof_char" -ge 2; then |
|
|
9945 | rxvt_cv_uint16_t="unsigned char" |
|
|
9946 | else |
|
|
9947 | if test "$ac_cv_sizeof_short" -ge 2; then |
|
|
9948 | rxvt_cv_uint16_t="unsigned short" |
|
|
9949 | else |
|
|
9950 | if test "$ac_cv_sizeof_int" -ge 2; then |
|
|
9951 | rxvt_cv_uint16_t="unsigned int" |
|
|
9952 | else |
|
|
9953 | if test "$ac_cv_sizeof_long" -ge 2; then |
|
|
9954 | rxvt_cv_uint16_t="unsigned long" |
|
|
9955 | else |
|
|
9956 | if test "$ac_cv_sizeof_long_long" -ge 2; then |
|
|
9957 | rxvt_cv_uint16_t="unsigned long long" |
|
|
9958 | else |
|
|
9959 | rxvt_cv_uint16_t="unsigned short" # we _must_ have a (possibly wrong) default |
|
|
9960 | fi |
|
|
9961 | fi |
|
|
9962 | fi |
|
|
9963 | fi |
|
|
9964 | fi |
|
|
9965 | fi |
|
|
9966 | |
|
|
9967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
9968 | fi |
|
|
9969 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint16_t" >&5 |
|
|
9970 | echo "${ECHO_T}$rxvt_cv_uint16_t" >&6; } |
|
|
9971 | if test x"$rxvt_cv_uint16_t" != xyes; then |
|
|
9972 | rxvt_uint16_typedef="typedef $rxvt_cv_uint16_t uint16_t;" |
|
|
9973 | else |
|
|
9974 | if test x"unsigned" = x; then |
|
|
9975 | rxvt_uint16_typedef="/* typedef short uint16_t; */" |
|
|
9976 | else |
|
|
9977 | rxvt_uint16_typedef="/* typedef unsigned short uint16_t; */" |
|
|
9978 | fi |
|
|
9979 | fi |
|
|
9980 | |
|
|
9981 | { echo "$as_me:$LINENO: checking for int32_t" >&5 |
|
|
9982 | echo $ECHO_N "checking for int32_t... $ECHO_C" >&6; } |
|
|
9983 | if test "${rxvt_cv_int32_t+set}" = set; then |
|
|
9984 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
9985 | else |
|
|
9986 | cat >conftest.$ac_ext <<_ACEOF |
|
|
9987 | /* confdefs.h. */ |
|
|
9988 | _ACEOF |
|
|
9989 | cat confdefs.h >>conftest.$ac_ext |
|
|
9990 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
9991 | /* end confdefs.h. */ |
|
|
9992 | #include <stdint.h> |
|
|
9993 | int |
|
|
9994 | main () |
|
|
9995 | { |
|
|
9996 | int32_t dummy; |
|
|
9997 | ; |
|
|
9998 | return 0; |
|
|
9999 | } |
|
|
10000 | _ACEOF |
|
|
10001 | rm -f conftest.$ac_objext |
|
|
10002 | if { (ac_try="$ac_compile" |
|
|
10003 | case "(($ac_try" in |
|
|
10004 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10005 | *) ac_try_echo=$ac_try;; |
|
|
10006 | esac |
|
|
10007 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10008 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10009 | ac_status=$? |
|
|
10010 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10011 | rm -f conftest.er1 |
|
|
10012 | cat conftest.err >&5 |
|
|
10013 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10014 | (exit $ac_status); } && { |
|
|
10015 | test -z "$ac_cxx_werror_flag" || |
|
|
10016 | test ! -s conftest.err |
|
|
10017 | } && test -s conftest.$ac_objext; then |
|
|
10018 | rxvt_cv_int32_t=yes |
|
|
10019 | else |
|
|
10020 | echo "$as_me: failed program was:" >&5 |
|
|
10021 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10022 | |
|
|
10023 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
10024 | rxvt_cv_int32_t=" char" |
|
|
10025 | else |
|
|
10026 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
10027 | rxvt_cv_int32_t=" short" |
|
|
10028 | else |
|
|
10029 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
10030 | rxvt_cv_int32_t=" int" |
|
|
10031 | else |
|
|
10032 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
10033 | rxvt_cv_int32_t=" long" |
|
|
10034 | else |
|
|
10035 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
10036 | rxvt_cv_int32_t=" long long" |
|
|
10037 | else |
|
|
10038 | rxvt_cv_int32_t=" int" # we _must_ have a (possibly wrong) default |
|
|
10039 | fi |
|
|
10040 | fi |
|
|
10041 | fi |
|
|
10042 | fi |
|
|
10043 | fi |
|
|
10044 | fi |
|
|
10045 | |
|
|
10046 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10047 | fi |
|
|
10048 | { echo "$as_me:$LINENO: result: $rxvt_cv_int32_t" >&5 |
|
|
10049 | echo "${ECHO_T}$rxvt_cv_int32_t" >&6; } |
|
|
10050 | if test x"$rxvt_cv_int32_t" != xyes; then |
|
|
10051 | rxvt_int32_typedef="typedef $rxvt_cv_int32_t int32_t;" |
|
|
10052 | else |
|
|
10053 | if test x"" = x; then |
|
|
10054 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
10055 | else |
|
|
10056 | rxvt_int32_typedef="/* typedef int int32_t; */" |
|
|
10057 | fi |
|
|
10058 | fi |
|
|
10059 | |
|
|
10060 | { echo "$as_me:$LINENO: checking for uint32_t" >&5 |
|
|
10061 | echo $ECHO_N "checking for uint32_t... $ECHO_C" >&6; } |
|
|
10062 | if test "${rxvt_cv_uint32_t+set}" = set; then |
|
|
10063 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10064 | else |
|
|
10065 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10066 | /* confdefs.h. */ |
|
|
10067 | _ACEOF |
|
|
10068 | cat confdefs.h >>conftest.$ac_ext |
|
|
10069 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10070 | /* end confdefs.h. */ |
|
|
10071 | #include <stdint.h> |
|
|
10072 | int |
|
|
10073 | main () |
|
|
10074 | { |
|
|
10075 | uint32_t dummy; |
|
|
10076 | ; |
|
|
10077 | return 0; |
|
|
10078 | } |
|
|
10079 | _ACEOF |
|
|
10080 | rm -f conftest.$ac_objext |
|
|
10081 | if { (ac_try="$ac_compile" |
|
|
10082 | case "(($ac_try" in |
|
|
10083 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10084 | *) ac_try_echo=$ac_try;; |
|
|
10085 | esac |
|
|
10086 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10087 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10088 | ac_status=$? |
|
|
10089 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10090 | rm -f conftest.er1 |
|
|
10091 | cat conftest.err >&5 |
|
|
10092 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10093 | (exit $ac_status); } && { |
|
|
10094 | test -z "$ac_cxx_werror_flag" || |
|
|
10095 | test ! -s conftest.err |
|
|
10096 | } && test -s conftest.$ac_objext; then |
|
|
10097 | rxvt_cv_uint32_t=yes |
|
|
10098 | else |
|
|
10099 | echo "$as_me: failed program was:" >&5 |
|
|
10100 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10101 | |
|
|
10102 | if test "$ac_cv_sizeof_char" -ge 4; then |
|
|
10103 | rxvt_cv_uint32_t="unsigned char" |
|
|
10104 | else |
|
|
10105 | if test "$ac_cv_sizeof_short" -ge 4; then |
|
|
10106 | rxvt_cv_uint32_t="unsigned short" |
|
|
10107 | else |
|
|
10108 | if test "$ac_cv_sizeof_int" -ge 4; then |
|
|
10109 | rxvt_cv_uint32_t="unsigned int" |
|
|
10110 | else |
|
|
10111 | if test "$ac_cv_sizeof_long" -ge 4; then |
|
|
10112 | rxvt_cv_uint32_t="unsigned long" |
|
|
10113 | else |
|
|
10114 | if test "$ac_cv_sizeof_long_long" -ge 4; then |
|
|
10115 | rxvt_cv_uint32_t="unsigned long long" |
|
|
10116 | else |
|
|
10117 | rxvt_cv_uint32_t="unsigned int" # we _must_ have a (possibly wrong) default |
|
|
10118 | fi |
|
|
10119 | fi |
|
|
10120 | fi |
|
|
10121 | fi |
|
|
10122 | fi |
|
|
10123 | fi |
|
|
10124 | |
|
|
10125 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10126 | fi |
|
|
10127 | { echo "$as_me:$LINENO: result: $rxvt_cv_uint32_t" >&5 |
|
|
10128 | echo "${ECHO_T}$rxvt_cv_uint32_t" >&6; } |
|
|
10129 | if test x"$rxvt_cv_uint32_t" != xyes; then |
|
|
10130 | rxvt_uint32_typedef="typedef $rxvt_cv_uint32_t uint32_t;" |
|
|
10131 | else |
|
|
10132 | if test x"unsigned" = x; then |
|
|
10133 | rxvt_uint32_typedef="/* typedef int uint32_t; */" |
|
|
10134 | else |
|
|
10135 | rxvt_uint32_typedef="/* typedef unsigned int uint32_t; */" |
|
|
10136 | fi |
|
|
10137 | fi |
|
|
10138 | |
|
|
10139 | if test "$ac_cv_sizeof_int_p" -eq 8; then |
|
|
10140 | rxvt_intp_define="#define intp_t int64_t" |
|
|
10141 | rxvt_u_intp_define="#define u_intp_t u_int64_t" |
|
|
10142 | else |
|
|
10143 | if test "$ac_cv_sizeof_int_p" -eq 4; then |
|
|
10144 | rxvt_intp_define="#define intp_t int32_t" |
|
|
10145 | rxvt_u_intp_define="#define u_intp_t u_int32_t" |
|
|
10146 | else |
|
|
10147 | if test "$ac_cv_sizeof_int_p" -eq 2; then |
|
|
10148 | rxvt_intp_define="#define intp_t int16_t" |
|
|
10149 | rxvt_u_intp_define="#define u_intp_t u_int16_t" |
|
|
10150 | else |
|
|
10151 | rxvt_intp_define="#error set intp_t" |
|
|
10152 | rxvt_u_intp_define="#error set u_intp_t" |
|
|
10153 | fi |
|
|
10154 | fi |
|
|
10155 | fi |
|
|
10156 | |
|
|
10157 | |
|
|
10158 | |
|
|
10159 | { echo "$as_me:$LINENO: checking return type of signal handlers" >&5 |
|
|
10160 | echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; } |
|
|
10161 | if test "${ac_cv_type_signal+set}" = set; then |
|
|
10162 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10163 | else |
|
|
10164 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10165 | /* confdefs.h. */ |
|
|
10166 | _ACEOF |
|
|
10167 | cat confdefs.h >>conftest.$ac_ext |
|
|
10168 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10169 | /* end confdefs.h. */ |
|
|
10170 | #include <sys/types.h> |
|
|
10171 | #include <signal.h> |
|
|
10172 | |
|
|
10173 | int |
|
|
10174 | main () |
|
|
10175 | { |
|
|
10176 | return *(signal (0, 0)) (0) == 1; |
|
|
10177 | ; |
|
|
10178 | return 0; |
|
|
10179 | } |
|
|
10180 | _ACEOF |
|
|
10181 | rm -f conftest.$ac_objext |
|
|
10182 | if { (ac_try="$ac_compile" |
|
|
10183 | case "(($ac_try" in |
|
|
10184 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
10185 | *) ac_try_echo=$ac_try;; |
|
|
10186 | esac |
|
|
10187 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
10188 | (eval "$ac_compile") 2>conftest.er1 |
|
|
10189 | ac_status=$? |
|
|
10190 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
10191 | rm -f conftest.er1 |
|
|
10192 | cat conftest.err >&5 |
|
|
10193 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
10194 | (exit $ac_status); } && { |
|
|
10195 | test -z "$ac_cxx_werror_flag" || |
|
|
10196 | test ! -s conftest.err |
|
|
10197 | } && test -s conftest.$ac_objext; then |
|
|
10198 | ac_cv_type_signal=int |
|
|
10199 | else |
|
|
10200 | echo "$as_me: failed program was:" >&5 |
|
|
10201 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
10202 | |
|
|
10203 | ac_cv_type_signal=void |
|
|
10204 | fi |
|
|
10205 | |
|
|
10206 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10207 | fi |
|
|
10208 | { echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5 |
|
|
10209 | echo "${ECHO_T}$ac_cv_type_signal" >&6; } |
|
|
10210 | |
|
|
10211 | cat >>confdefs.h <<_ACEOF |
|
|
10212 | #define RETSIGTYPE $ac_cv_type_signal |
|
|
10213 | _ACEOF |
|
|
10214 | |
|
|
10215 | |
8409 | |
10216 | |
8410 | |
10217 | |
8411 | |
10218 | for ac_func in unsetenv |
8412 | for ac_func in unsetenv |
10219 | do |
8413 | do |
… | |
… | |
13332 | _ACEOF |
11526 | _ACEOF |
13333 | |
11527 | |
13334 | fi |
11528 | fi |
13335 | |
11529 | |
13336 | |
11530 | |
|
|
11531 | scrolltypes=plain |
|
|
11532 | |
|
|
11533 | cat >>confdefs.h <<\_ACEOF |
|
|
11534 | #define PLAIN_SCROLLBAR 1 |
|
|
11535 | _ACEOF |
|
|
11536 | |
|
|
11537 | |
13337 | if test x$support_scroll_rxvt = xyes; then |
11538 | if test x$support_scroll_rxvt = xyes; then |
13338 | |
11539 | |
13339 | cat >>confdefs.h <<\_ACEOF |
11540 | cat >>confdefs.h <<\_ACEOF |
13340 | #define RXVT_SCROLLBAR 1 |
11541 | #define RXVT_SCROLLBAR 1 |
13341 | _ACEOF |
11542 | _ACEOF |
13342 | |
11543 | |
13343 | scrolltypes="rxvt" |
11544 | scrolltypes="$scrolltypes rxvt" |
13344 | fi |
11545 | fi |
13345 | if test x$support_scroll_next = xyes; then |
11546 | if test x$support_scroll_next = xyes; then |
13346 | |
11547 | |
13347 | cat >>confdefs.h <<\_ACEOF |
11548 | cat >>confdefs.h <<\_ACEOF |
13348 | #define NEXT_SCROLLBAR 1 |
11549 | #define NEXT_SCROLLBAR 1 |
… | |
… | |
13355 | cat >>confdefs.h <<\_ACEOF |
11556 | cat >>confdefs.h <<\_ACEOF |
13356 | #define XTERM_SCROLLBAR 1 |
11557 | #define XTERM_SCROLLBAR 1 |
13357 | _ACEOF |
11558 | _ACEOF |
13358 | |
11559 | |
13359 | scrolltypes="$scrolltypes xterm" |
11560 | scrolltypes="$scrolltypes xterm" |
13360 | fi |
|
|
13361 | if test x$support_scroll_plain = xyes; then |
|
|
13362 | |
|
|
13363 | cat >>confdefs.h <<\_ACEOF |
|
|
13364 | #define PLAIN_SCROLLBAR 1 |
|
|
13365 | _ACEOF |
|
|
13366 | |
|
|
13367 | scrolltypes="$scrolltypes plain" |
|
|
13368 | fi |
11561 | fi |
13369 | if test x$support_pointer_blank = xyes; then |
11562 | if test x$support_pointer_blank = xyes; then |
13370 | |
11563 | |
13371 | cat >>confdefs.h <<\_ACEOF |
11564 | cat >>confdefs.h <<\_ACEOF |
13372 | #define POINTER_BLANK 1 |
11565 | #define POINTER_BLANK 1 |
… | |
… | |
13635 | _ACEOF |
11828 | _ACEOF |
13636 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
11829 | program_transform_name=`echo $program_transform_name | sed -f conftest.sed` |
13637 | rm -f conftest.sed |
11830 | rm -f conftest.sed |
13638 | |
11831 | |
13639 | |
11832 | |
13640 | |
|
|
13641 | |
|
|
13642 | |
|
|
13643 | if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13644 | include_stdint_h="#include <stdint.h>" |
|
|
13645 | else |
|
|
13646 | include_stdint_h="/* #include <stdint.h> */" |
|
|
13647 | fi |
|
|
13648 | if test "$ac_cv_header_stdarg_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13649 | include_stdarg_h="#include <cstdarg>" |
|
|
13650 | else |
|
|
13651 | include_stdarg_h="/* #include <cstdarg> */" |
|
|
13652 | fi |
|
|
13653 | if test "$ac_cv_header_stdlib_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13654 | include_stdlib_h="#include <cstdlib>" |
|
|
13655 | else |
|
|
13656 | include_stdlib_h="/* #include <cstdlib> */" |
|
|
13657 | fi |
|
|
13658 | if test "$ac_cv_header_unistd_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13659 | include_unistd_h="#include <unistd.h>" |
|
|
13660 | else |
|
|
13661 | include_unistd_h="/* #include <unistd.h> */" |
|
|
13662 | fi |
|
|
13663 | if test "$ac_cv_header_string_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13664 | include_string_h="#include <cstring>" |
|
|
13665 | else |
|
|
13666 | include_string_h="/* #include <cstring> */" |
|
|
13667 | fi |
|
|
13668 | if test "$ac_cv_header_fcntl_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13669 | include_fcntl_h="#include <fcntl.h>" |
|
|
13670 | else |
|
|
13671 | include_fcntl_h="/* #include <fcntl.h> */" |
|
|
13672 | fi |
|
|
13673 | if test "$ac_cv_header_util_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13674 | include_util_h="#include <util.h>" |
|
|
13675 | else |
|
|
13676 | include_util_h="/* #include <util.h> */" |
|
|
13677 | fi |
|
|
13678 | if test "$ac_cv_header_assert_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13679 | include_assert_h="#include <assert.h>" |
|
|
13680 | else |
|
|
13681 | include_assert_h="/* #include <assert.h> */" |
|
|
13682 | fi |
|
|
13683 | if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13684 | include_sys_ioctl_h="#include <sys/ioctl.h>" |
|
|
13685 | else |
|
|
13686 | include_sys_ioctl_h="/* #include <sys/ioctl.h> */" |
|
|
13687 | fi |
|
|
13688 | if test "$ac_cv_header_sys_select_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13689 | include_sys_select_h="#include <sys/select.h>" |
|
|
13690 | else |
|
|
13691 | include_sys_select_h="/* #include <sys/select.h> */" |
|
|
13692 | fi |
|
|
13693 | if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13694 | include_sys_strredir_h="#include <sys/strredir.h>" |
|
|
13695 | else |
|
|
13696 | include_sys_strredir_h="/* #include <sys/strredir.h> */" |
|
|
13697 | fi |
|
|
13698 | if test "$ac_cv_header_sys_time_h" = "yes" -o "$notset" = "dontmatch"; then |
|
|
13699 | include_sys_time_h="#include <sys/time.h>" |
|
|
13700 | else |
|
|
13701 | include_sys_time_h="/* #include <sys/time.h> */" |
|
|
13702 | fi |
|
|
13703 | if test "$ac_cv_header_sys_time_h" = "no" -o "$ac_cv_header_time" = "yes"; then |
|
|
13704 | include_time_h="#include <time.h>" |
|
|
13705 | else |
|
|
13706 | include_time_h="/* #include <time.h> */" |
|
|
13707 | fi |
|
|
13708 | |
|
|
13709 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" |
11833 | ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile" |
13710 | |
11834 | |
13711 | cat >confcache <<\_ACEOF |
11835 | cat >confcache <<\_ACEOF |
13712 | # This file is a shell script that caches the results of configure |
11836 | # This file is a shell script that caches the results of configure |
13713 | # tests run on this system so they can be shared between configure |
11837 | # tests run on this system so they can be shared between configure |
13714 | # scripts and configure runs, see configure's option --config-cache. |
11838 | # scripts and configure runs, see configure's option --config-cache. |
… | |
… | |
14263 | case $ac_config_target in |
12387 | case $ac_config_target in |
14264 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
12388 | "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; |
14265 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
12389 | "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; |
14266 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
12390 | "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; |
14267 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
12391 | "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; |
14268 | "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;; |
|
|
14269 | |
12392 | |
14270 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
12393 | *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 |
14271 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
12394 | echo "$as_me: error: invalid argument: $ac_config_target" >&2;} |
14272 | { (exit 1); exit 1; }; };; |
12395 | { (exit 1); exit 1; }; };; |
14273 | esac |
12396 | esac |
… | |
… | |
14372 | host_cpu!$host_cpu$ac_delim |
12495 | host_cpu!$host_cpu$ac_delim |
14373 | host_vendor!$host_vendor$ac_delim |
12496 | host_vendor!$host_vendor$ac_delim |
14374 | host_os!$host_os$ac_delim |
12497 | host_os!$host_os$ac_delim |
14375 | VERSION!$VERSION$ac_delim |
12498 | VERSION!$VERSION$ac_delim |
14376 | DATE!$DATE$ac_delim |
12499 | DATE!$DATE$ac_delim |
14377 | LSMDATE!$LSMDATE$ac_delim |
|
|
14378 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14379 | CC!$CC$ac_delim |
12500 | CC!$CC$ac_delim |
14380 | CFLAGS!$CFLAGS$ac_delim |
12501 | CFLAGS!$CFLAGS$ac_delim |
14381 | LDFLAGS!$LDFLAGS$ac_delim |
12502 | LDFLAGS!$LDFLAGS$ac_delim |
14382 | CPPFLAGS!$CPPFLAGS$ac_delim |
12503 | CPPFLAGS!$CPPFLAGS$ac_delim |
14383 | ac_ct_CC!$ac_ct_CC$ac_delim |
12504 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14391 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
12512 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14392 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
12513 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14393 | GREP!$GREP$ac_delim |
12514 | GREP!$GREP$ac_delim |
14394 | EGREP!$EGREP$ac_delim |
12515 | EGREP!$EGREP$ac_delim |
14395 | LINKER!$LINKER$ac_delim |
12516 | LINKER!$LINKER$ac_delim |
14396 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14397 | RXVTNAME!$RXVTNAME$ac_delim |
12517 | RXVTNAME!$RXVTNAME$ac_delim |
14398 | CXXCPP!$CXXCPP$ac_delim |
12518 | CXXCPP!$CXXCPP$ac_delim |
14399 | TIC!$TIC$ac_delim |
12519 | TIC!$TIC$ac_delim |
14400 | XMKMF!$XMKMF$ac_delim |
12520 | XMKMF!$XMKMF$ac_delim |
14401 | X_CFLAGS!$X_CFLAGS$ac_delim |
12521 | X_CFLAGS!$X_CFLAGS$ac_delim |
14402 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
12522 | X_PRE_LIBS!$X_PRE_LIBS$ac_delim |
14403 | X_LIBS!$X_LIBS$ac_delim |
12523 | X_LIBS!$X_LIBS$ac_delim |
14404 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
12524 | X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim |
14405 | afterimage_config!$afterimage_config$ac_delim |
12525 | afterimage_config!$afterimage_config$ac_delim |
14406 | rxvt_int16_typedef!$rxvt_int16_typedef$ac_delim |
|
|
14407 | rxvt_uint16_typedef!$rxvt_uint16_typedef$ac_delim |
|
|
14408 | rxvt_int32_typedef!$rxvt_int32_typedef$ac_delim |
|
|
14409 | rxvt_uint32_typedef!$rxvt_uint32_typedef$ac_delim |
|
|
14410 | rxvt_intp_define!$rxvt_intp_define$ac_delim |
|
|
14411 | rxvt_u_intp_define!$rxvt_u_intp_define$ac_delim |
|
|
14412 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
12526 | PKG_CONFIG!$PKG_CONFIG$ac_delim |
14413 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
12527 | XFT_CONFIG!$XFT_CONFIG$ac_delim |
14414 | PERL!$PERL$ac_delim |
12528 | PERL!$PERL$ac_delim |
14415 | PERLLIB!$PERLLIB$ac_delim |
12529 | PERLLIB!$PERLLIB$ac_delim |
14416 | PERLFLAGS!$PERLFLAGS$ac_delim |
12530 | PERLFLAGS!$PERLFLAGS$ac_delim |
14417 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
12531 | PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim |
14418 | IF_PERL!$IF_PERL$ac_delim |
12532 | IF_PERL!$IF_PERL$ac_delim |
14419 | PERL_O!$PERL_O$ac_delim |
12533 | PERL_O!$PERL_O$ac_delim |
14420 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
12534 | AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim |
14421 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
12535 | AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim |
14422 | include_stdint_h!$include_stdint_h$ac_delim |
12536 | LIBOBJS!$LIBOBJS$ac_delim |
14423 | include_stdarg_h!$include_stdarg_h$ac_delim |
12537 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14424 | include_stdlib_h!$include_stdlib_h$ac_delim |
|
|
14425 | include_unistd_h!$include_unistd_h$ac_delim |
|
|
14426 | include_string_h!$include_string_h$ac_delim |
|
|
14427 | _ACEOF |
12538 | _ACEOF |
14428 | |
12539 | |
14429 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
12540 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then |
14430 | break |
12541 | break |
14431 | elif $ac_last_try; then |
12542 | elif $ac_last_try; then |
14432 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
12543 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14433 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
12544 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14434 | { (exit 1); exit 1; }; } |
12545 | { (exit 1); exit 1; }; } |
… | |
… | |
14443 | ac_eof=`expr $ac_eof + 1` |
12554 | ac_eof=`expr $ac_eof + 1` |
14444 | fi |
12555 | fi |
14445 | |
12556 | |
14446 | cat >>$CONFIG_STATUS <<_ACEOF |
12557 | cat >>$CONFIG_STATUS <<_ACEOF |
14447 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
12558 | cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof |
14448 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b |
|
|
14449 | _ACEOF |
|
|
14450 | sed ' |
|
|
14451 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
|
|
14452 | s/^/s,@/; s/!/@,|#_!!_#|/ |
|
|
14453 | :n |
|
|
14454 | t n |
|
|
14455 | s/'"$ac_delim"'$/,g/; t |
|
|
14456 | s/$/\\/; p |
|
|
14457 | N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n |
|
|
14458 | ' >>$CONFIG_STATUS <conf$$subs.sed |
|
|
14459 | rm -f conf$$subs.sed |
|
|
14460 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14461 | CEOF$ac_eof |
|
|
14462 | _ACEOF |
|
|
14463 | |
|
|
14464 | |
|
|
14465 | ac_delim='%!_!# ' |
|
|
14466 | for ac_last_try in false false false false false :; do |
|
|
14467 | cat >conf$$subs.sed <<_ACEOF |
|
|
14468 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14469 | include_util_h!$include_util_h$ac_delim |
|
|
14470 | include_assert_h!$include_assert_h$ac_delim |
|
|
14471 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
|
|
14472 | include_sys_select_h!$include_sys_select_h$ac_delim |
|
|
14473 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
|
|
14474 | include_sys_time_h!$include_sys_time_h$ac_delim |
|
|
14475 | include_time_h!$include_time_h$ac_delim |
|
|
14476 | LIBOBJS!$LIBOBJS$ac_delim |
|
|
14477 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
|
|
14478 | _ACEOF |
|
|
14479 | |
|
|
14480 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
|
|
14481 | break |
|
|
14482 | elif $ac_last_try; then |
|
|
14483 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
|
|
14484 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
|
|
14485 | { (exit 1); exit 1; }; } |
|
|
14486 | else |
|
|
14487 | ac_delim="$ac_delim!$ac_delim _$ac_delim!! " |
|
|
14488 | fi |
|
|
14489 | done |
|
|
14490 | |
|
|
14491 | ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed` |
|
|
14492 | if test -n "$ac_eof"; then |
|
|
14493 | ac_eof=`echo "$ac_eof" | sort -nru | sed 1q` |
|
|
14494 | ac_eof=`expr $ac_eof + 1` |
|
|
14495 | fi |
|
|
14496 | |
|
|
14497 | cat >>$CONFIG_STATUS <<_ACEOF |
|
|
14498 | cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof |
|
|
14499 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
12559 | /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end |
14500 | _ACEOF |
12560 | _ACEOF |
14501 | sed ' |
12561 | sed ' |
14502 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
12562 | s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g |
14503 | s/^/s,@/; s/!/@,|#_!!_#|/ |
12563 | s/^/s,@/; s/!/@,|#_!!_#|/ |
… | |
… | |
14756 | s&@builddir@&$ac_builddir&;t t |
12816 | s&@builddir@&$ac_builddir&;t t |
14757 | s&@abs_builddir@&$ac_abs_builddir&;t t |
12817 | s&@abs_builddir@&$ac_abs_builddir&;t t |
14758 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
12818 | s&@abs_top_builddir@&$ac_abs_top_builddir&;t t |
14759 | s&@INSTALL@&$ac_INSTALL&;t t |
12819 | s&@INSTALL@&$ac_INSTALL&;t t |
14760 | $ac_datarootdir_hack |
12820 | $ac_datarootdir_hack |
14761 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" | sed -f "$tmp/subs-2.sed" >$tmp/out |
12821 | " $ac_file_inputs | sed -f "$tmp/subs-1.sed" >$tmp/out |
14762 | |
12822 | |
14763 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
12823 | test -z "$ac_datarootdir_hack$ac_datarootdir_seen" && |
14764 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
12824 | { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } && |
14765 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
12825 | { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } && |
14766 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |
12826 | { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir' |