… | |
… | |
1294 | Optional Features: |
1294 | Optional Features: |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1295 | --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1296 | --enable-FEATURE[=ARG] include FEATURE [ARG=yes] |
1297 | --enable-everything enable standard non-multichoice features |
1297 | --enable-everything enable standard non-multichoice features |
1298 | NOTE: this option is order dependent |
1298 | NOTE: this option is order dependent |
|
|
1299 | --enable-assert enable assertions |
1299 | --enable-warnings turn on g++ warnings |
1300 | --enable-warnings turn on g++ warnings |
1300 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1301 | --enable-unicode3 use 21 instead of 16 bits to represent unicode characters |
1301 | --enable-combining enable composition of base and combining characters |
1302 | --enable-combining enable composition of base and combining characters |
1302 | --enable-xft enable xft support on systems that have it |
1303 | --enable-xft enable xft support on systems that have it |
1303 | --enable-font-styles enable bold and italic support |
1304 | --enable-font-styles enable bold and italic support |
… | |
… | |
1321 | --enable-selectionscrolling enable scrolling during selections |
1322 | --enable-selectionscrolling enable scrolling during selections |
1322 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1323 | --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 |
1323 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1324 | --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) |
1324 | --enable-smart-resize enable smart growth/shrink behaviour |
1325 | --enable-smart-resize enable smart growth/shrink behaviour |
1325 | --enable-text-blink enable blinking text |
1326 | --enable-text-blink enable blinking text |
1326 | --enable-pointer-blank enable pointer blank when typing or inactive pointer |
1327 | --enable-pointer-blank enable pointer blanking when typing or inactive |
1327 | --enable-utmp enable utmp (utmpx) support |
1328 | --enable-utmp enable utmp (utmpx) support |
1328 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1329 | --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) |
1329 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1330 | --enable-lastlog enable lastlog support (requires --enable-utmp) |
1330 | |
1331 | |
1331 | Optional Packages: |
1332 | Optional Packages: |
… | |
… | |
4453 | fi |
4454 | fi |
4454 | |
4455 | |
4455 | fi |
4456 | fi |
4456 | |
4457 | |
4457 | |
4458 | |
|
|
4459 | ASSERTIONS=no |
|
|
4460 | # Check whether --enable-assert was given. |
|
|
4461 | if test "${enable_assert+set}" = set; then |
|
|
4462 | enableval=$enable_assert; if test x$enableval = xyes; then |
|
|
4463 | ASSERTIONS=yes |
|
|
4464 | fi |
|
|
4465 | fi |
|
|
4466 | |
|
|
4467 | if test x$ASSERTIONS = xno; then |
|
|
4468 | |
|
|
4469 | cat >>confdefs.h <<\_ACEOF |
|
|
4470 | #define NDEBUG 1 |
|
|
4471 | _ACEOF |
|
|
4472 | |
|
|
4473 | fi |
|
|
4474 | |
4458 | WARNINGS=no |
4475 | WARNINGS=no |
4459 | # Check whether --enable-warnings was given. |
4476 | # Check whether --enable-warnings was given. |
4460 | if test "${enable_warnings+set}" = set; then |
4477 | if test "${enable_warnings+set}" = set; then |
4461 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4478 | enableval=$enable_warnings; if test x$enableval = xyes; then |
4462 | WARNINGS=yes |
4479 | WARNINGS=yes |
… | |
… | |
5324 | |
5341 | |
5325 | |
5342 | |
5326 | |
5343 | |
5327 | |
5344 | |
5328 | |
5345 | |
5329 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h sys/eventfd.h |
5346 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h port.h poll.h sys/select.h sys/eventfd.h sys/signalfd.h |
5330 | do |
5347 | do |
5331 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5348 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5332 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5349 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5333 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5350 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5334 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5351 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5471 | |
5488 | |
5472 | |
5489 | |
5473 | |
5490 | |
5474 | |
5491 | |
5475 | |
5492 | |
|
|
5493 | |
5476 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd |
5494 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd |
5477 | do |
5495 | do |
5478 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5496 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5479 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5497 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5480 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5498 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5481 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5499 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5650 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5668 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5651 | if test $ac_cv_func_clock_gettime = yes; then |
5669 | if test $ac_cv_func_clock_gettime = yes; then |
5652 | : |
5670 | : |
5653 | else |
5671 | else |
5654 | |
5672 | |
5655 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5673 | if test $(uname) = Linux; then |
|
|
5674 | { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5 |
|
|
5675 | echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; } |
|
|
5676 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5677 | /* confdefs.h. */ |
|
|
5678 | _ACEOF |
|
|
5679 | cat confdefs.h >>conftest.$ac_ext |
|
|
5680 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5681 | /* end confdefs.h. */ |
|
|
5682 | #include <unistd.h> |
|
|
5683 | #include <sys/syscall.h> |
|
|
5684 | #include <time.h> |
|
|
5685 | int |
|
|
5686 | main () |
|
|
5687 | { |
|
|
5688 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
|
|
5689 | ; |
|
|
5690 | return 0; |
|
|
5691 | } |
|
|
5692 | _ACEOF |
|
|
5693 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5694 | if { (ac_try="$ac_link" |
|
|
5695 | case "(($ac_try" in |
|
|
5696 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5697 | *) ac_try_echo=$ac_try;; |
|
|
5698 | esac |
|
|
5699 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5700 | (eval "$ac_link") 2>conftest.er1 |
|
|
5701 | ac_status=$? |
|
|
5702 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5703 | rm -f conftest.er1 |
|
|
5704 | cat conftest.err >&5 |
|
|
5705 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5706 | (exit $ac_status); } && { |
|
|
5707 | test -z "$ac_cxx_werror_flag" || |
|
|
5708 | test ! -s conftest.err |
|
|
5709 | } && test -s conftest$ac_exeext && |
|
|
5710 | $as_test_x conftest$ac_exeext; then |
|
|
5711 | ac_have_clock_syscall=1 |
|
|
5712 | |
|
|
5713 | cat >>confdefs.h <<\_ACEOF |
|
|
5714 | #define HAVE_CLOCK_SYSCALL 1 |
|
|
5715 | _ACEOF |
|
|
5716 | |
|
|
5717 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
5718 | echo "${ECHO_T}yes" >&6; } |
|
|
5719 | else |
|
|
5720 | echo "$as_me: failed program was:" >&5 |
|
|
5721 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5722 | |
|
|
5723 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5724 | echo "${ECHO_T}no" >&6; } |
|
|
5725 | fi |
|
|
5726 | |
|
|
5727 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5728 | conftest$ac_exeext conftest.$ac_ext |
|
|
5729 | fi |
|
|
5730 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5656 | |
5731 | |
5657 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5732 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5658 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5733 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5659 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5734 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5660 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5735 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
6149 | _ACEOF |
6224 | _ACEOF |
6150 | |
6225 | |
6151 | LIBS="-lm $LIBS" |
6226 | LIBS="-lm $LIBS" |
6152 | |
6227 | |
6153 | fi |
6228 | fi |
6154 | |
|
|
6155 | |
|
|
6156 | |
6229 | |
6157 | |
6230 | |
6158 | |
6231 | |
6159 | |
6232 | |
6160 | |
6233 | |
… | |
… | |
7805 | |
7878 | |
7806 | fi |
7879 | fi |
7807 | |
7880 | |
7808 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7881 | { echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 |
7809 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7882 | echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } |
7810 | if test "${rxvt_xlib_illegal_access+set}" = set; then |
7883 | if test "${rxvt_cv_xlib_illegal_access+set}" = set; then |
7811 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7884 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
7812 | else |
7885 | else |
7813 | cat >conftest.$ac_ext <<_ACEOF |
7886 | cat >conftest.$ac_ext <<_ACEOF |
7814 | /* confdefs.h. */ |
7887 | /* confdefs.h. */ |
7815 | _ACEOF |
7888 | _ACEOF |
… | |
… | |
7846 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7919 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
7847 | (exit $ac_status); } && { |
7920 | (exit $ac_status); } && { |
7848 | test -z "$ac_cxx_werror_flag" || |
7921 | test -z "$ac_cxx_werror_flag" || |
7849 | test ! -s conftest.err |
7922 | test ! -s conftest.err |
7850 | } && test -s conftest.$ac_objext; then |
7923 | } && test -s conftest.$ac_objext; then |
7851 | rxvt_xlib_illegal_access=yes |
7924 | rxvt_cv_xlib_illegal_access=yes |
7852 | else |
7925 | else |
7853 | echo "$as_me: failed program was:" >&5 |
7926 | echo "$as_me: failed program was:" >&5 |
7854 | sed 's/^/| /' conftest.$ac_ext >&5 |
7927 | sed 's/^/| /' conftest.$ac_ext >&5 |
7855 | |
7928 | |
7856 | rxvt_xlib_illegal_access=no |
7929 | rxvt_cv_xlib_illegal_access=no |
7857 | |
7930 | |
7858 | fi |
7931 | fi |
7859 | |
7932 | |
7860 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7933 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
7861 | fi |
7934 | fi |
7862 | { echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 |
7935 | { echo "$as_me:$LINENO: result: $rxvt_cv_xlib_illegal_access" >&5 |
7863 | echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6; } |
7936 | echo "${ECHO_T}$rxvt_cv_xlib_illegal_access" >&6; } |
7864 | if test x$rxvt_xlib_illegal_access = xyes; then |
7937 | if test x$rxvt_cv_xlib_illegal_access = xyes; then |
7865 | |
7938 | |
7866 | cat >>confdefs.h <<\_ACEOF |
7939 | cat >>confdefs.h <<\_ACEOF |
7867 | #define XLIB_ILLEGAL_ACCESS 1 |
7940 | #define XLIB_ILLEGAL_ACCESS 1 |
7868 | _ACEOF |
7941 | _ACEOF |
7869 | |
7942 | |
… | |
… | |
8558 | |
8631 | |
8559 | |
8632 | |
8560 | |
8633 | |
8561 | |
8634 | |
8562 | for ac_func in \ |
8635 | for ac_func in \ |
8563 | ttyslot \ |
|
|
8564 | updwtmp \ |
8636 | updwtmp \ |
8565 | updwtmpx \ |
8637 | updwtmpx \ |
|
|
8638 | updlastlogx \ |
8566 | |
8639 | |
8567 | do |
8640 | do |
8568 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8641 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
8569 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8642 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
8570 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
8643 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
… | |
… | |
8656 | fi |
8729 | fi |
8657 | done |
8730 | done |
8658 | |
8731 | |
8659 | |
8732 | |
8660 | |
8733 | |
8661 | |
|
|
8662 | |
|
|
8663 | for ac_header in \ |
8734 | for ac_header in lastlog.h |
8664 | utmp.h \ |
|
|
8665 | utmpx.h \ |
|
|
8666 | lastlog.h \ |
|
|
8667 | |
|
|
8668 | do |
8735 | do |
8669 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8736 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8670 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8737 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8671 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8738 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8672 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8739 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
8803 | |
8870 | |
8804 | done |
8871 | done |
8805 | |
8872 | |
8806 | |
8873 | |
8807 | |
8874 | |
8808 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8875 | |
|
|
8876 | for ac_header in utmp.h |
|
|
8877 | do |
|
|
8878 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8879 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8809 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8880 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8810 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8881 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8811 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8882 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8812 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8883 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8813 | fi |
8884 | fi |
|
|
8885 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8814 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8886 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8815 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8887 | echo "${ECHO_T}$ac_res" >&6; } |
8816 | else |
8888 | else |
8817 | # Is the header compilable? |
8889 | # Is the header compilable? |
8818 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
8890 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8819 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
8891 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8820 | cat >conftest.$ac_ext <<_ACEOF |
8892 | cat >conftest.$ac_ext <<_ACEOF |
8821 | /* confdefs.h. */ |
8893 | /* confdefs.h. */ |
8822 | _ACEOF |
8894 | _ACEOF |
8823 | cat confdefs.h >>conftest.$ac_ext |
8895 | cat confdefs.h >>conftest.$ac_ext |
8824 | cat >>conftest.$ac_ext <<_ACEOF |
8896 | cat >>conftest.$ac_ext <<_ACEOF |
8825 | /* end confdefs.h. */ |
8897 | /* end confdefs.h. */ |
8826 | $ac_includes_default |
8898 | $ac_includes_default |
8827 | #include <utmp.h> |
8899 | #include <$ac_header> |
8828 | _ACEOF |
8900 | _ACEOF |
8829 | rm -f conftest.$ac_objext |
8901 | rm -f conftest.$ac_objext |
8830 | if { (ac_try="$ac_compile" |
8902 | if { (ac_try="$ac_compile" |
8831 | case "(($ac_try" in |
8903 | case "(($ac_try" in |
8832 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8904 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
8854 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8926 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8855 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8927 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8856 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8928 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8857 | |
8929 | |
8858 | # Is the header present? |
8930 | # Is the header present? |
8859 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
8931 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8860 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
8932 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8861 | cat >conftest.$ac_ext <<_ACEOF |
8933 | cat >conftest.$ac_ext <<_ACEOF |
8862 | /* confdefs.h. */ |
8934 | /* confdefs.h. */ |
8863 | _ACEOF |
8935 | _ACEOF |
8864 | cat confdefs.h >>conftest.$ac_ext |
8936 | cat confdefs.h >>conftest.$ac_ext |
8865 | cat >>conftest.$ac_ext <<_ACEOF |
8937 | cat >>conftest.$ac_ext <<_ACEOF |
8866 | /* end confdefs.h. */ |
8938 | /* end confdefs.h. */ |
8867 | #include <utmp.h> |
8939 | #include <$ac_header> |
8868 | _ACEOF |
8940 | _ACEOF |
8869 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8941 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8870 | case "(($ac_try" in |
8942 | case "(($ac_try" in |
8871 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8943 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8872 | *) ac_try_echo=$ac_try;; |
8944 | *) ac_try_echo=$ac_try;; |
… | |
… | |
8895 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8967 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8896 | |
8968 | |
8897 | # So? What about this header? |
8969 | # So? What about this header? |
8898 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8970 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8899 | yes:no: ) |
8971 | yes:no: ) |
8900 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8972 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8901 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8973 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8902 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
8974 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8903 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
8975 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8904 | ac_header_preproc=yes |
8976 | ac_header_preproc=yes |
8905 | ;; |
8977 | ;; |
8906 | no:yes:* ) |
8978 | no:yes:* ) |
8907 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
8979 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8908 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
8980 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8909 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
8981 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8910 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
8982 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8911 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
8983 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8912 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
8984 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8913 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
8985 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8914 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8986 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8915 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
8987 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8916 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
8988 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8917 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
8989 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8918 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
8990 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8919 | |
8991 | |
8920 | ;; |
8992 | ;; |
8921 | esac |
8993 | esac |
8922 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8994 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8923 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8995 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8924 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8996 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8925 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8997 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8926 | else |
8998 | else |
8927 | ac_cv_header_utmp_h=$ac_header_preproc |
8999 | eval "$as_ac_Header=\$ac_header_preproc" |
8928 | fi |
9000 | fi |
|
|
9001 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8929 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
9002 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8930 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
9003 | echo "${ECHO_T}$ac_res" >&6; } |
8931 | |
9004 | |
8932 | fi |
9005 | fi |
8933 | if test $ac_cv_header_utmp_h = yes; then |
9006 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
9007 | cat >>confdefs.h <<_ACEOF |
|
|
9008 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9009 | _ACEOF |
8934 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
9010 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8935 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
9011 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8936 | if test "${struct_utmp+set}" = set; then |
9012 | if test "${struct_utmp+set}" = set; then |
8937 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9013 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8938 | else |
9014 | else |
8939 | cat >conftest.$ac_ext <<_ACEOF |
9015 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9106 | |
9182 | |
9107 | fi |
9183 | fi |
9108 | |
9184 | |
9109 | fi |
9185 | fi |
9110 | |
9186 | |
|
|
9187 | done |
9111 | |
9188 | |
9112 | |
9189 | |
9113 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9190 | |
|
|
9191 | for ac_header in utmpx.h |
|
|
9192 | do |
|
|
9193 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9194 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9114 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9195 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9115 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9196 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9116 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9197 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9117 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9198 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9118 | fi |
9199 | fi |
|
|
9200 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9119 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9201 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9120 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9202 | echo "${ECHO_T}$ac_res" >&6; } |
9121 | else |
9203 | else |
9122 | # Is the header compilable? |
9204 | # Is the header compilable? |
9123 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
9205 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9124 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
9206 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9125 | cat >conftest.$ac_ext <<_ACEOF |
9207 | cat >conftest.$ac_ext <<_ACEOF |
9126 | /* confdefs.h. */ |
9208 | /* confdefs.h. */ |
9127 | _ACEOF |
9209 | _ACEOF |
9128 | cat confdefs.h >>conftest.$ac_ext |
9210 | cat confdefs.h >>conftest.$ac_ext |
9129 | cat >>conftest.$ac_ext <<_ACEOF |
9211 | cat >>conftest.$ac_ext <<_ACEOF |
9130 | /* end confdefs.h. */ |
9212 | /* end confdefs.h. */ |
9131 | $ac_includes_default |
9213 | $ac_includes_default |
9132 | #include <utmpx.h> |
9214 | #include <$ac_header> |
9133 | _ACEOF |
9215 | _ACEOF |
9134 | rm -f conftest.$ac_objext |
9216 | rm -f conftest.$ac_objext |
9135 | if { (ac_try="$ac_compile" |
9217 | if { (ac_try="$ac_compile" |
9136 | case "(($ac_try" in |
9218 | case "(($ac_try" in |
9137 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9219 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
9159 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9241 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9160 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9242 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9161 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9243 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9162 | |
9244 | |
9163 | # Is the header present? |
9245 | # Is the header present? |
9164 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
9246 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9165 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
9247 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9166 | cat >conftest.$ac_ext <<_ACEOF |
9248 | cat >conftest.$ac_ext <<_ACEOF |
9167 | /* confdefs.h. */ |
9249 | /* confdefs.h. */ |
9168 | _ACEOF |
9250 | _ACEOF |
9169 | cat confdefs.h >>conftest.$ac_ext |
9251 | cat confdefs.h >>conftest.$ac_ext |
9170 | cat >>conftest.$ac_ext <<_ACEOF |
9252 | cat >>conftest.$ac_ext <<_ACEOF |
9171 | /* end confdefs.h. */ |
9253 | /* end confdefs.h. */ |
9172 | #include <utmpx.h> |
9254 | #include <$ac_header> |
9173 | _ACEOF |
9255 | _ACEOF |
9174 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9256 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9175 | case "(($ac_try" in |
9257 | case "(($ac_try" in |
9176 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9258 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9177 | *) ac_try_echo=$ac_try;; |
9259 | *) ac_try_echo=$ac_try;; |
… | |
… | |
9200 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9282 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9201 | |
9283 | |
9202 | # So? What about this header? |
9284 | # So? What about this header? |
9203 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9285 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9204 | yes:no: ) |
9286 | yes:no: ) |
9205 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9287 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9206 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9288 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9207 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
9289 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
9208 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
9290 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
9209 | ac_header_preproc=yes |
9291 | ac_header_preproc=yes |
9210 | ;; |
9292 | ;; |
9211 | no:yes:* ) |
9293 | no:yes:* ) |
9212 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
9294 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9213 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
9295 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9214 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
9296 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9215 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
9297 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9216 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
9298 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
9217 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
9299 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
9218 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
9300 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
9219 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9301 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9220 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
9302 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9221 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
9303 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9222 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
9304 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9223 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
9305 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9224 | |
9306 | |
9225 | ;; |
9307 | ;; |
9226 | esac |
9308 | esac |
9227 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9309 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9228 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9310 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9229 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9311 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9230 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9312 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9231 | else |
9313 | else |
9232 | ac_cv_header_utmpx_h=$ac_header_preproc |
9314 | eval "$as_ac_Header=\$ac_header_preproc" |
9233 | fi |
9315 | fi |
|
|
9316 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9234 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9317 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9235 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9318 | echo "${ECHO_T}$ac_res" >&6; } |
9236 | |
9319 | |
9237 | fi |
9320 | fi |
9238 | if test $ac_cv_header_utmpx_h = yes; then |
9321 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
9322 | cat >>confdefs.h <<_ACEOF |
|
|
9323 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9324 | _ACEOF |
9239 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9325 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9240 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9326 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9241 | if test "${struct_utmpx+set}" = set; then |
9327 | if test "${struct_utmpx+set}" = set; then |
9242 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9328 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9243 | else |
9329 | else |
9244 | cat >conftest.$ac_ext <<_ACEOF |
9330 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9411 | |
9497 | |
9412 | fi |
9498 | fi |
9413 | |
9499 | |
9414 | fi |
9500 | fi |
9415 | |
9501 | |
|
|
9502 | done |
9416 | |
9503 | |
9417 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9504 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9418 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9505 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9419 | if test "${struct_lastlog+set}" = set; then |
9506 | if test "${struct_lastlog+set}" = set; then |
9420 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9507 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
9991 | |
10078 | |
9992 | cat >>confdefs.h <<_ACEOF |
10079 | cat >>confdefs.h <<_ACEOF |
9993 | #define LASTLOG_FILE "$path_lastlog" |
10080 | #define LASTLOG_FILE "$path_lastlog" |
9994 | _ACEOF |
10081 | _ACEOF |
9995 | |
10082 | |
9996 | if test -d "$path_lastlog"; then |
|
|
9997 | |
|
|
9998 | cat >>confdefs.h <<\_ACEOF |
|
|
9999 | #define LASTLOG_IS_DIR 1 |
|
|
10000 | _ACEOF |
|
|
10001 | |
|
|
10002 | fi |
|
|
10003 | fi |
10083 | fi |
10004 | |
10084 | |
10005 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10085 | { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 |
10006 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
10086 | echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } |
10007 | if test "${path_lastlogx+set}" = set; then |
10087 | if test "${path_lastlogx+set}" = set; then |
… | |
… | |
10162 | #define USE_XIM 1 |
10242 | #define USE_XIM 1 |
10163 | _ACEOF |
10243 | _ACEOF |
10164 | |
10244 | |
10165 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
10245 | { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 |
10166 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
10246 | echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } |
10167 | if test "${rxvt_broken_ximcb+set}" = set; then |
10247 | if test "${rxvt_cv_broken_ximcb+set}" = set; then |
10168 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10248 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
10169 | else |
10249 | else |
10170 | cat >conftest.$ac_ext <<_ACEOF |
10250 | cat >conftest.$ac_ext <<_ACEOF |
10171 | |
10251 | |
10172 | #include <X11/Xlib.h> |
10252 | #include <X11/Xlib.h> |
… | |
… | |
10194 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10274 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
10195 | (exit $ac_status); } && { |
10275 | (exit $ac_status); } && { |
10196 | test -z "$ac_cxx_werror_flag" || |
10276 | test -z "$ac_cxx_werror_flag" || |
10197 | test ! -s conftest.err |
10277 | test ! -s conftest.err |
10198 | } && test -s conftest.$ac_objext; then |
10278 | } && test -s conftest.$ac_objext; then |
10199 | rxvt_broken_ximcb=yes |
10279 | rxvt_cv_broken_ximcb=yes |
10200 | else |
10280 | else |
10201 | echo "$as_me: failed program was:" >&5 |
10281 | echo "$as_me: failed program was:" >&5 |
10202 | sed 's/^/| /' conftest.$ac_ext >&5 |
10282 | sed 's/^/| /' conftest.$ac_ext >&5 |
10203 | |
10283 | |
10204 | rxvt_broken_ximcb=no |
10284 | rxvt_cv_broken_ximcb=no |
10205 | fi |
10285 | fi |
10206 | |
10286 | |
10207 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10287 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
10208 | fi |
10288 | fi |
10209 | { echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 |
10289 | { echo "$as_me:$LINENO: result: $rxvt_cv_broken_ximcb" >&5 |
10210 | echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } |
10290 | echo "${ECHO_T}$rxvt_cv_broken_ximcb" >&6; } |
10211 | |
10291 | |
10212 | if test x$rxvt_broken_ximcb = xyes; then |
10292 | if test x$rxvt_cv_broken_ximcb = xyes; then |
10213 | |
10293 | |
10214 | cat >>confdefs.h <<\_ACEOF |
10294 | cat >>confdefs.h <<\_ACEOF |
10215 | #define XIMCB_PROTO_BROKEN 1 |
10295 | #define XIMCB_PROTO_BROKEN 1 |
10216 | _ACEOF |
10296 | _ACEOF |
10217 | |
10297 | |