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