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