… | |
… | |
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 |
… | |
… | |
1316 | Optional Features: |
1313 | Optional Features: |
1317 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1314 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1318 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1315 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1319 | --enable-everything enable standard non-multichoice features |
1316 | --enable-everything enable standard non-multichoice features |
1320 | NOTE: this option is order dependent |
1317 | NOTE: this option is order dependent |
1321 | NOTE: automatically enabled with --enable-shared |
|
|
1322 | --enable-warnings turn on g++ warnings |
1318 | --enable-warnings turn on g++ warnings |
1323 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1319 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1324 | --enable-combining enable composition of base and combining characters |
1320 | --enable-combining enable composition of base and combining characters |
1325 | --enable-xft enable xft support on systems that have it |
1321 | --enable-xft enable xft support on systems that have it |
1326 | --enable-font-styles enable bold and italic support |
1322 | --enable-font-styles enable bold and italic support |
… | |
… | |
1328 | --enable-transparency enable transparent backgrounds |
1324 | --enable-transparency enable transparent backgrounds |
1329 | --enable-fading enable colors fading when off focus |
1325 | --enable-fading enable colors fading when off focus |
1330 | --enable-rxvt-scroll enable rxvt style scrollbar |
1326 | --enable-rxvt-scroll enable rxvt style scrollbar |
1331 | --enable-next-scroll enable NeXT style scrollbar |
1327 | --enable-next-scroll enable NeXT style scrollbar |
1332 | --enable-xterm-scroll enable Xterm style scrollbar |
1328 | --enable-xterm-scroll enable Xterm style scrollbar |
|
|
1329 | --enable-plain-scroll enable plain style scrollbar |
1333 | --enable-perl enable embedded perl interpreter |
1330 | --enable-perl enable embedded perl interpreter |
1334 | --enable-plain-scroll enable plain style scrollbar |
|
|
1335 | --enable-xim XIM (X Input Method) protocol support |
1331 | --enable-xim XIM (X Input Method) protocol support |
1336 | --disable-backspace-key disable handling of the backspace key |
1332 | --disable-backspace-key disable handling of the backspace key |
1337 | --disable-delete-key disable handling of the delete key |
1333 | --disable-delete-key disable handling of the delete key |
1338 | --disable-resources disable all resource checking |
1334 | --disable-resources disable all resource checking |
1339 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
1335 | --enable-8bitctrls enable 8 bit control sequences (not recommended) |
… | |
… | |
1927 | echo "configuring for rxvt $VERSION" |
1923 | echo "configuring for rxvt $VERSION" |
1928 | echo "" |
1924 | echo "" |
1929 | |
1925 | |
1930 | orig_CXXFLAGS="$CXXFLAGS" |
1926 | orig_CXXFLAGS="$CXXFLAGS" |
1931 | |
1927 | |
1932 | |
|
|
1933 | ac_ext=c |
1928 | ac_ext=c |
1934 | ac_cpp='$CPP $CPPFLAGS' |
1929 | ac_cpp='$CPP $CPPFLAGS' |
1935 | ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' |
1930 | 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' |
1931 | ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' |
1937 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
1932 | ac_compiler_gnu=$ac_cv_c_compiler_gnu |
… | |
… | |
3715 | echo "${ECHO_T}no" >&6; } |
3710 | echo "${ECHO_T}no" >&6; } |
3716 | fi |
3711 | fi |
3717 | rm -f conftest* |
3712 | rm -f conftest* |
3718 | |
3713 | |
3719 | |
3714 | |
|
|
3715 | |
|
|
3716 | cat >>confdefs.h <<\_ACEOF |
|
|
3717 | #define _GNU_SOURCE 1 |
|
|
3718 | _ACEOF |
|
|
3719 | |
|
|
3720 | |
3720 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | { echo "$as_me:$LINENO: checking for library containing strerror" >&5 |
3721 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } |
3722 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | if test "${ac_cv_search_strerror+set}" = set; then |
3723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3724 | else |
3725 | else |
… | |
… | |
3919 | CXXFLAGS="-O" |
3920 | CXXFLAGS="-O" |
3920 | fi |
3921 | fi |
3921 | CFLAGS="$CXXFLAGS" |
3922 | CFLAGS="$CXXFLAGS" |
3922 | fi |
3923 | fi |
3923 | |
3924 | |
3924 | |
|
|
3925 | cat >>confdefs.h <<\_ACEOF |
|
|
3926 | #define _GNU_SOURCE 1 |
|
|
3927 | _ACEOF |
|
|
3928 | |
|
|
3929 | |
|
|
3930 | case $host in |
3925 | case $host in |
3931 | *-*-solaris* ) |
3926 | *-*-solaris* ) |
3932 | |
3927 | |
3933 | cat >>confdefs.h <<\_ACEOF |
3928 | cat >>confdefs.h <<\_ACEOF |
3934 | #define _XOPEN_SOURCE 500 |
3929 | #define _XOPEN_SOURCE 500 |
3935 | _ACEOF |
3930 | _ACEOF |
3936 | |
3931 | |
3937 | ;; |
3932 | ;; |
3938 | esac |
3933 | esac |
3939 | |
|
|
3940 | |
3934 | |
3941 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3935 | { echo "$as_me:$LINENO: checking for setlocale" >&5 |
3942 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3936 | echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } |
3943 | if test "${ac_cv_func_setlocale+set}" = set; then |
3937 | if test "${ac_cv_func_setlocale+set}" = set; then |
3944 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
3938 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
4417 | support_iso14755=yes |
4411 | support_iso14755=yes |
4418 | support_styles=yes |
4412 | support_styles=yes |
4419 | support_perl=yes |
4413 | support_perl=yes |
4420 | codesets=all |
4414 | codesets=all |
4421 | |
4415 | |
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 | |
4416 | |
4432 | |
4417 | |
4433 | # Check whether --enable-everything was given. |
4418 | # Check whether --enable-everything was given. |
4434 | if test "${enable_everything+set}" = set; then |
4419 | if test "${enable_everything+set}" = set; then |
4435 | enableval=$enable_everything; |
4420 | enableval=$enable_everything; |
… | |
… | |
4641 | support_scroll_xterm=$enableval |
4626 | support_scroll_xterm=$enableval |
4642 | fi |
4627 | fi |
4643 | fi |
4628 | fi |
4644 | |
4629 | |
4645 | |
4630 | |
|
|
4631 | # Check whether --enable-plain-scroll was given. |
|
|
4632 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4633 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4634 | support_scroll_plain=$enableval |
|
|
4635 | fi |
|
|
4636 | fi |
|
|
4637 | |
|
|
4638 | |
4646 | # Check whether --enable-perl was given. |
4639 | # Check whether --enable-perl was given. |
4647 | if test "${enable_perl+set}" = set; then |
4640 | if test "${enable_perl+set}" = set; then |
4648 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4641 | enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then |
4649 | support_perl=$enableval |
4642 | 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 |
4643 | fi |
4659 | fi |
4644 | fi |
4660 | |
4645 | |
4661 | |
4646 | |
4662 | |
4647 | |
… | |
… | |
5370 | |
5355 | |
5371 | |
5356 | |
5372 | |
5357 | |
5373 | |
5358 | |
5374 | |
5359 | |
|
|
5360 | |
5375 | for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
5361 | 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 |
5362 | do |
5377 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5363 | 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 |
5364 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5379 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5365 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5380 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5366 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5515 | |
5501 | |
5516 | |
5502 | |
5517 | |
5503 | |
5518 | |
5504 | |
5519 | |
5505 | |
|
|
5506 | |
5520 | for ac_func in epoll_ctl kqueue port_create poll select |
5507 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5521 | do |
5508 | do |
5522 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5509 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5523 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5510 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5524 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5511 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5525 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5512 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5766 | |
5753 | |
5767 | LIBS="-lrt $LIBS" |
5754 | LIBS="-lrt $LIBS" |
5768 | |
5755 | |
5769 | fi |
5756 | fi |
5770 | |
5757 | |
|
|
5758 | unset ac_cv_func_clock_gettime |
5771 | |
5759 | |
5772 | for ac_func in clock_gettime |
5760 | for ac_func in clock_gettime |
5773 | do |
5761 | do |
5774 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5762 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5775 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5763 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
5981 | echo "${ECHO_T}$TIC" >&6; } |
5969 | echo "${ECHO_T}$TIC" >&6; } |
5982 | else |
5970 | else |
5983 | { echo "$as_me:$LINENO: result: no" >&5 |
5971 | { echo "$as_me:$LINENO: result: no" >&5 |
5984 | echo "${ECHO_T}no" >&6; } |
5972 | echo "${ECHO_T}no" >&6; } |
5985 | fi |
5973 | fi |
5986 | |
|
|
5987 | |
|
|
5988 | |
5974 | |
5989 | |
5975 | |
5990 | |
5976 | |
5991 | { echo "$as_me:$LINENO: checking for X" >&5 |
5977 | { echo "$as_me:$LINENO: checking for X" >&5 |
5992 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
5978 | echo $ECHO_N "checking for X... $ECHO_C" >&6; } |
… | |
… | |
7379 | echo "${ECHO_T}no" >&6; } |
7365 | echo "${ECHO_T}no" >&6; } |
7380 | fi |
7366 | fi |
7381 | fi |
7367 | fi |
7382 | fi |
7368 | fi |
7383 | |
7369 | |
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 | |
7370 | |
7452 | |
7371 | |
7453 | |
7372 | |
7454 | |
7373 | |
7455 | |
7374 | |
… | |
… | |
7621 | fi |
7540 | fi |
7622 | |
7541 | |
7623 | done |
7542 | done |
7624 | |
7543 | |
7625 | |
7544 | |
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 |
7545 | { 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; } |
7546 | 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 |
7547 | if test "${rxvt_cv_header_sysioctl+set}" = set; then |
7691 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7548 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7692 | else |
7549 | else |
… | |
… | |
7857 | cat >>confdefs.h <<\_ACEOF |
7714 | cat >>confdefs.h <<\_ACEOF |
7858 | #define XLIB_ILLEGAL_ACCESS 1 |
7715 | #define XLIB_ILLEGAL_ACCESS 1 |
7859 | _ACEOF |
7716 | _ACEOF |
7860 | |
7717 | |
7861 | fi |
7718 | 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 | |
7719 | |
8040 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
7720 | { echo "$as_me:$LINENO: checking for mode_t" >&5 |
8041 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
7721 | echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } |
8042 | if test "${ac_cv_type_mode_t+set}" = set; then |
7722 | if test "${ac_cv_type_mode_t+set}" = set; then |
8043 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7723 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10158 | fi |
9838 | fi |
10159 | fi |
9839 | fi |
10160 | |
9840 | |
10161 | |
9841 | |
10162 | |
9842 | |
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 | |
|
|
10220 | |
|
|
10221 | |
9843 | |
10222 | for ac_func in unsetenv |
9844 | for ac_func in unsetenv |
10223 | do |
9845 | do |
10224 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9846 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
10225 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9847 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
… | |
… | |
10464 | fi |
10086 | fi |
10465 | done |
10087 | done |
10466 | |
10088 | |
10467 | |
10089 | |
10468 | |
10090 | |
10469 | |
|
|
10470 | |
|
|
10471 | for ac_header in \ |
10091 | for ac_header in lastlog.h |
10472 | utmp.h \ |
|
|
10473 | utmpx.h \ |
|
|
10474 | lastlog.h \ |
|
|
10475 | |
|
|
10476 | do |
10092 | do |
10477 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10093 | 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 |
10094 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10479 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10095 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10480 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10096 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
10611 | |
10227 | |
10612 | done |
10228 | done |
10613 | |
10229 | |
10614 | |
10230 | |
10615 | |
10231 | |
10616 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10232 | |
|
|
10233 | for ac_header in utmp.h |
|
|
10234 | do |
|
|
10235 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10236 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10617 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10237 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10618 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10238 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10619 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10239 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10620 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10621 | fi |
10241 | fi |
|
|
10242 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10622 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10243 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10623 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10244 | echo "${ECHO_T}$ac_res" >&6; } |
10624 | else |
10245 | else |
10625 | # Is the header compilable? |
10246 | # Is the header compilable? |
10626 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
10247 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10627 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
10248 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10628 | cat >conftest.$ac_ext <<_ACEOF |
10249 | cat >conftest.$ac_ext <<_ACEOF |
10629 | /* confdefs.h. */ |
10250 | /* confdefs.h. */ |
10630 | _ACEOF |
10251 | _ACEOF |
10631 | cat confdefs.h >>conftest.$ac_ext |
10252 | cat confdefs.h >>conftest.$ac_ext |
10632 | cat >>conftest.$ac_ext <<_ACEOF |
10253 | cat >>conftest.$ac_ext <<_ACEOF |
10633 | /* end confdefs.h. */ |
10254 | /* end confdefs.h. */ |
10634 | $ac_includes_default |
10255 | $ac_includes_default |
10635 | #include <utmp.h> |
10256 | #include <$ac_header> |
10636 | _ACEOF |
10257 | _ACEOF |
10637 | rm -f conftest.$ac_objext |
10258 | rm -f conftest.$ac_objext |
10638 | if { (ac_try="$ac_compile" |
10259 | if { (ac_try="$ac_compile" |
10639 | case "(($ac_try" in |
10260 | case "(($ac_try" in |
10640 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10261 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10662 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10283 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10663 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10284 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10664 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10285 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10665 | |
10286 | |
10666 | # Is the header present? |
10287 | # Is the header present? |
10667 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
10288 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10668 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
10289 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10669 | cat >conftest.$ac_ext <<_ACEOF |
10290 | cat >conftest.$ac_ext <<_ACEOF |
10670 | /* confdefs.h. */ |
10291 | /* confdefs.h. */ |
10671 | _ACEOF |
10292 | _ACEOF |
10672 | cat confdefs.h >>conftest.$ac_ext |
10293 | cat confdefs.h >>conftest.$ac_ext |
10673 | cat >>conftest.$ac_ext <<_ACEOF |
10294 | cat >>conftest.$ac_ext <<_ACEOF |
10674 | /* end confdefs.h. */ |
10295 | /* end confdefs.h. */ |
10675 | #include <utmp.h> |
10296 | #include <$ac_header> |
10676 | _ACEOF |
10297 | _ACEOF |
10677 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10298 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10678 | case "(($ac_try" in |
10299 | case "(($ac_try" in |
10679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10300 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10680 | *) ac_try_echo=$ac_try;; |
10301 | *) ac_try_echo=$ac_try;; |
… | |
… | |
10703 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10324 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10704 | |
10325 | |
10705 | # So? What about this header? |
10326 | # So? What about this header? |
10706 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10327 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10707 | yes:no: ) |
10328 | yes:no: ) |
10708 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10329 | { 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;} |
10330 | 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 |
10331 | { 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;} |
10332 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
10712 | ac_header_preproc=yes |
10333 | ac_header_preproc=yes |
10713 | ;; |
10334 | ;; |
10714 | no:yes:* ) |
10335 | no:yes:* ) |
10715 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
10336 | { 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;} |
10337 | 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 |
10338 | { 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;} |
10339 | 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 |
10340 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
10720 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
10341 | 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 |
10342 | { 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;} |
10343 | 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 |
10344 | { 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;} |
10345 | 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 |
10346 | { 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;} |
10347 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
10727 | |
10348 | |
10728 | ;; |
10349 | ;; |
10729 | esac |
10350 | esac |
10730 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
10351 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10731 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
10352 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10732 | if test "${ac_cv_header_utmp_h+set}" = set; then |
10353 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10733 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10354 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10734 | else |
10355 | else |
10735 | ac_cv_header_utmp_h=$ac_header_preproc |
10356 | eval "$as_ac_Header=\$ac_header_preproc" |
10736 | fi |
10357 | fi |
|
|
10358 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10737 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
10359 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10738 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
10360 | echo "${ECHO_T}$ac_res" >&6; } |
10739 | |
10361 | |
10740 | fi |
10362 | fi |
10741 | if test $ac_cv_header_utmp_h = yes; then |
10363 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10364 | cat >>confdefs.h <<_ACEOF |
|
|
10365 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10366 | _ACEOF |
10742 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10367 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
10743 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10368 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
10744 | if test "${struct_utmp+set}" = set; then |
10369 | if test "${struct_utmp+set}" = set; then |
10745 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10370 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10746 | else |
10371 | else |
10747 | cat >conftest.$ac_ext <<_ACEOF |
10372 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
10914 | |
10539 | |
10915 | fi |
10540 | fi |
10916 | |
10541 | |
10917 | fi |
10542 | fi |
10918 | |
10543 | |
|
|
10544 | done |
10919 | |
10545 | |
10920 | |
10546 | |
10921 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10547 | |
|
|
10548 | for ac_header in utmpx.h |
|
|
10549 | do |
|
|
10550 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
10551 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10922 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10552 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10923 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10553 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
10924 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10554 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10555 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10926 | fi |
10556 | fi |
|
|
10557 | ac_res=`eval echo '${'$as_ac_Header'}'` |
10927 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10558 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
10928 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10559 | echo "${ECHO_T}$ac_res" >&6; } |
10929 | else |
10560 | else |
10930 | # Is the header compilable? |
10561 | # Is the header compilable? |
10931 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
10562 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
10932 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
10563 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
10933 | cat >conftest.$ac_ext <<_ACEOF |
10564 | cat >conftest.$ac_ext <<_ACEOF |
10934 | /* confdefs.h. */ |
10565 | /* confdefs.h. */ |
10935 | _ACEOF |
10566 | _ACEOF |
10936 | cat confdefs.h >>conftest.$ac_ext |
10567 | cat confdefs.h >>conftest.$ac_ext |
10937 | cat >>conftest.$ac_ext <<_ACEOF |
10568 | cat >>conftest.$ac_ext <<_ACEOF |
10938 | /* end confdefs.h. */ |
10569 | /* end confdefs.h. */ |
10939 | $ac_includes_default |
10570 | $ac_includes_default |
10940 | #include <utmpx.h> |
10571 | #include <$ac_header> |
10941 | _ACEOF |
10572 | _ACEOF |
10942 | rm -f conftest.$ac_objext |
10573 | rm -f conftest.$ac_objext |
10943 | if { (ac_try="$ac_compile" |
10574 | if { (ac_try="$ac_compile" |
10944 | case "(($ac_try" in |
10575 | case "(($ac_try" in |
10945 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10576 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
10967 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10598 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10968 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10599 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
10969 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10600 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
10970 | |
10601 | |
10971 | # Is the header present? |
10602 | # Is the header present? |
10972 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
10603 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
10973 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
10604 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
10974 | cat >conftest.$ac_ext <<_ACEOF |
10605 | cat >conftest.$ac_ext <<_ACEOF |
10975 | /* confdefs.h. */ |
10606 | /* confdefs.h. */ |
10976 | _ACEOF |
10607 | _ACEOF |
10977 | cat confdefs.h >>conftest.$ac_ext |
10608 | cat confdefs.h >>conftest.$ac_ext |
10978 | cat >>conftest.$ac_ext <<_ACEOF |
10609 | cat >>conftest.$ac_ext <<_ACEOF |
10979 | /* end confdefs.h. */ |
10610 | /* end confdefs.h. */ |
10980 | #include <utmpx.h> |
10611 | #include <$ac_header> |
10981 | _ACEOF |
10612 | _ACEOF |
10982 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10613 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
10983 | case "(($ac_try" in |
10614 | case "(($ac_try" in |
10984 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10615 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
10985 | *) ac_try_echo=$ac_try;; |
10616 | *) ac_try_echo=$ac_try;; |
… | |
… | |
11008 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
10639 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
11009 | |
10640 | |
11010 | # So? What about this header? |
10641 | # So? What about this header? |
11011 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
10642 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
11012 | yes:no: ) |
10643 | yes:no: ) |
11013 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
10644 | { 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;} |
10645 | 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 |
10646 | { 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;} |
10647 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
11017 | ac_header_preproc=yes |
10648 | ac_header_preproc=yes |
11018 | ;; |
10649 | ;; |
11019 | no:yes:* ) |
10650 | no:yes:* ) |
11020 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
10651 | { 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;} |
10652 | 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 |
10653 | { 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;} |
10654 | 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 |
10655 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
11025 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
10656 | 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 |
10657 | { 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;} |
10658 | 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 |
10659 | { 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;} |
10660 | 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 |
10661 | { 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;} |
10662 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
11032 | |
10663 | |
11033 | ;; |
10664 | ;; |
11034 | esac |
10665 | esac |
11035 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
10666 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
11036 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
10667 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
11037 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
10668 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
11038 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10669 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11039 | else |
10670 | else |
11040 | ac_cv_header_utmpx_h=$ac_header_preproc |
10671 | eval "$as_ac_Header=\$ac_header_preproc" |
11041 | fi |
10672 | fi |
|
|
10673 | ac_res=`eval echo '${'$as_ac_Header'}'` |
11042 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
10674 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
11043 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
10675 | echo "${ECHO_T}$ac_res" >&6; } |
11044 | |
10676 | |
11045 | fi |
10677 | fi |
11046 | if test $ac_cv_header_utmpx_h = yes; then |
10678 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
10679 | cat >>confdefs.h <<_ACEOF |
|
|
10680 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
10681 | _ACEOF |
11047 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
10682 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
11048 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
10683 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
11049 | if test "${struct_utmpx+set}" = set; then |
10684 | if test "${struct_utmpx+set}" = set; then |
11050 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10685 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
11051 | else |
10686 | else |
11052 | cat >conftest.$ac_ext <<_ACEOF |
10687 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
11219 | |
10854 | |
11220 | fi |
10855 | fi |
11221 | |
10856 | |
11222 | fi |
10857 | fi |
11223 | |
10858 | |
|
|
10859 | done |
11224 | |
10860 | |
11225 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10861 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
11226 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
10862 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
11227 | if test "${struct_lastlog+set}" = set; then |
10863 | if test "${struct_lastlog+set}" = set; then |
11228 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10864 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
14376 | host_cpu!$host_cpu$ac_delim |
14012 | host_cpu!$host_cpu$ac_delim |
14377 | host_vendor!$host_vendor$ac_delim |
14013 | host_vendor!$host_vendor$ac_delim |
14378 | host_os!$host_os$ac_delim |
14014 | host_os!$host_os$ac_delim |
14379 | VERSION!$VERSION$ac_delim |
14015 | VERSION!$VERSION$ac_delim |
14380 | DATE!$DATE$ac_delim |
14016 | DATE!$DATE$ac_delim |
14381 | LSMDATE!$LSMDATE$ac_delim |
|
|
14382 | LIBVERSION!$LIBVERSION$ac_delim |
|
|
14383 | CC!$CC$ac_delim |
14017 | CC!$CC$ac_delim |
14384 | CFLAGS!$CFLAGS$ac_delim |
14018 | CFLAGS!$CFLAGS$ac_delim |
14385 | LDFLAGS!$LDFLAGS$ac_delim |
14019 | LDFLAGS!$LDFLAGS$ac_delim |
14386 | CPPFLAGS!$CPPFLAGS$ac_delim |
14020 | CPPFLAGS!$CPPFLAGS$ac_delim |
14387 | ac_ct_CC!$ac_ct_CC$ac_delim |
14021 | ac_ct_CC!$ac_ct_CC$ac_delim |
… | |
… | |
14395 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14029 | INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim |
14396 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14030 | INSTALL_DATA!$INSTALL_DATA$ac_delim |
14397 | GREP!$GREP$ac_delim |
14031 | GREP!$GREP$ac_delim |
14398 | EGREP!$EGREP$ac_delim |
14032 | EGREP!$EGREP$ac_delim |
14399 | LINKER!$LINKER$ac_delim |
14033 | LINKER!$LINKER$ac_delim |
14400 | INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim |
|
|
14401 | RXVTNAME!$RXVTNAME$ac_delim |
14034 | RXVTNAME!$RXVTNAME$ac_delim |
14402 | CXXCPP!$CXXCPP$ac_delim |
14035 | CXXCPP!$CXXCPP$ac_delim |
14403 | TIC!$TIC$ac_delim |
14036 | TIC!$TIC$ac_delim |
14404 | XMKMF!$XMKMF$ac_delim |
14037 | XMKMF!$XMKMF$ac_delim |
14405 | X_CFLAGS!$X_CFLAGS$ac_delim |
14038 | X_CFLAGS!$X_CFLAGS$ac_delim |
… | |
… | |
14426 | include_stdint_h!$include_stdint_h$ac_delim |
14059 | include_stdint_h!$include_stdint_h$ac_delim |
14427 | include_stdarg_h!$include_stdarg_h$ac_delim |
14060 | include_stdarg_h!$include_stdarg_h$ac_delim |
14428 | include_stdlib_h!$include_stdlib_h$ac_delim |
14061 | include_stdlib_h!$include_stdlib_h$ac_delim |
14429 | include_unistd_h!$include_unistd_h$ac_delim |
14062 | include_unistd_h!$include_unistd_h$ac_delim |
14430 | include_string_h!$include_string_h$ac_delim |
14063 | include_string_h!$include_string_h$ac_delim |
|
|
14064 | include_fcntl_h!$include_fcntl_h$ac_delim |
|
|
14065 | include_util_h!$include_util_h$ac_delim |
|
|
14066 | include_assert_h!$include_assert_h$ac_delim |
14431 | _ACEOF |
14067 | _ACEOF |
14432 | |
14068 | |
14433 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14069 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then |
14434 | break |
14070 | break |
14435 | elif $ac_last_try; then |
14071 | elif $ac_last_try; then |
… | |
… | |
14467 | |
14103 | |
14468 | |
14104 | |
14469 | ac_delim='%!_!# ' |
14105 | ac_delim='%!_!# ' |
14470 | for ac_last_try in false false false false false :; do |
14106 | for ac_last_try in false false false false false :; do |
14471 | cat >conf$$subs.sed <<_ACEOF |
14107 | 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 |
14108 | include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim |
14476 | include_sys_select_h!$include_sys_select_h$ac_delim |
14109 | include_sys_select_h!$include_sys_select_h$ac_delim |
14477 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14110 | include_sys_strredir_h!$include_sys_strredir_h$ac_delim |
14478 | include_sys_time_h!$include_sys_time_h$ac_delim |
14111 | include_sys_time_h!$include_sys_time_h$ac_delim |
14479 | include_time_h!$include_time_h$ac_delim |
14112 | include_time_h!$include_time_h$ac_delim |
14480 | LIBOBJS!$LIBOBJS$ac_delim |
14113 | LIBOBJS!$LIBOBJS$ac_delim |
14481 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14114 | LTLIBOBJS!$LTLIBOBJS$ac_delim |
14482 | _ACEOF |
14115 | _ACEOF |
14483 | |
14116 | |
14484 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then |
14117 | if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then |
14485 | break |
14118 | break |
14486 | elif $ac_last_try; then |
14119 | elif $ac_last_try; then |
14487 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14120 | { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 |
14488 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14121 | echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} |
14489 | { (exit 1); exit 1; }; } |
14122 | { (exit 1); exit 1; }; } |