… | |
… | |
1305 | --enable-transparency enable transparent backgrounds |
1305 | --enable-transparency enable transparent backgrounds |
1306 | --enable-fading enable colors fading when off focus |
1306 | --enable-fading enable colors fading when off focus |
1307 | --enable-rxvt-scroll enable rxvt style scrollbar |
1307 | --enable-rxvt-scroll enable rxvt style scrollbar |
1308 | --enable-next-scroll enable NeXT style scrollbar |
1308 | --enable-next-scroll enable NeXT style scrollbar |
1309 | --enable-xterm-scroll enable Xterm style scrollbar |
1309 | --enable-xterm-scroll enable Xterm style scrollbar |
1310 | --enable-plain-scroll enable plain style scrollbar |
|
|
1311 | --enable-perl enable embedded perl interpreter |
1310 | --enable-perl enable embedded perl interpreter |
1312 | --enable-xim XIM (X Input Method) protocol support |
1311 | --enable-xim XIM (X Input Method) protocol support |
1313 | --disable-backspace-key disable handling of the backspace key |
1312 | --disable-backspace-key disable handling of the backspace key |
1314 | --disable-delete-key disable handling of the delete key |
1313 | --disable-delete-key disable handling of the delete key |
1315 | --disable-resources disable all resource checking |
1314 | --disable-resources disable all resource checking |
… | |
… | |
4378 | support_text_blink=yes |
4377 | support_text_blink=yes |
4379 | support_pointer_blank=yes |
4378 | support_pointer_blank=yes |
4380 | support_scroll_rxvt=yes |
4379 | support_scroll_rxvt=yes |
4381 | support_scroll_next=yes |
4380 | support_scroll_next=yes |
4382 | support_scroll_xterm=yes |
4381 | support_scroll_xterm=yes |
4383 | support_scroll_plain=yes |
|
|
4384 | support_xim=yes |
4382 | support_xim=yes |
4385 | support_afterimage=yes |
4383 | support_afterimage=yes |
4386 | support_afterstep=yes |
4384 | support_afterstep=yes |
4387 | support_xft=yes |
4385 | support_xft=yes |
4388 | support_unicode3=no |
4386 | support_unicode3=no |
… | |
… | |
4409 | support_text_blink=no |
4407 | support_text_blink=no |
4410 | support_pointer_blank=no |
4408 | support_pointer_blank=no |
4411 | support_scroll_rxvt=no |
4409 | support_scroll_rxvt=no |
4412 | support_scroll_next=no |
4410 | support_scroll_next=no |
4413 | support_scroll_xterm=no |
4411 | support_scroll_xterm=no |
4414 | support_scroll_plain=no |
|
|
4415 | support_utmp=no |
4412 | support_utmp=no |
4416 | support_wtmp=no |
4413 | support_wtmp=no |
4417 | support_xim=no |
4414 | support_xim=no |
4418 | support_afterimage=no |
4415 | support_afterimage=no |
4419 | support_afterstep=no |
4416 | support_afterstep=no |
… | |
… | |
4438 | support_text_blink=yes |
4435 | support_text_blink=yes |
4439 | support_pointer_blank=yes |
4436 | support_pointer_blank=yes |
4440 | support_scroll_rxvt=yes |
4437 | support_scroll_rxvt=yes |
4441 | support_scroll_next=yes |
4438 | support_scroll_next=yes |
4442 | support_scroll_xterm=yes |
4439 | support_scroll_xterm=yes |
4443 | support_scroll_plain=yes |
|
|
4444 | support_utmp=yes |
4440 | support_utmp=yes |
4445 | support_wtmp=yes |
4441 | support_wtmp=yes |
4446 | support_xim=yes |
4442 | support_xim=yes |
4447 | support_afterimage=yes |
4443 | support_afterimage=yes |
4448 | support_afterstep=yes |
4444 | support_afterstep=yes |
… | |
… | |
4601 | |
4597 | |
4602 | # Check whether --enable-xterm-scroll was given. |
4598 | # Check whether --enable-xterm-scroll was given. |
4603 | if test "${enable_xterm_scroll+set}" = set; then |
4599 | if test "${enable_xterm_scroll+set}" = set; then |
4604 | enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
4600 | enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
4605 | support_scroll_xterm=$enableval |
4601 | support_scroll_xterm=$enableval |
4606 | fi |
|
|
4607 | fi |
|
|
4608 | |
|
|
4609 | |
|
|
4610 | # Check whether --enable-plain-scroll was given. |
|
|
4611 | if test "${enable_plain_scroll+set}" = set; then |
|
|
4612 | enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then |
|
|
4613 | support_scroll_plain=$enableval |
|
|
4614 | fi |
4602 | fi |
4615 | fi |
4603 | fi |
4616 | |
4604 | |
4617 | |
4605 | |
4618 | # Check whether --enable-perl was given. |
4606 | # Check whether --enable-perl was given. |
… | |
… | |
5335 | |
5323 | |
5336 | |
5324 | |
5337 | |
5325 | |
5338 | |
5326 | |
5339 | |
5327 | |
|
|
5328 | |
|
|
5329 | |
5340 | for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h |
5330 | 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 sys/signalfd.h |
5341 | do |
5331 | do |
5342 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5332 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
5343 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5333 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
5344 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5334 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
5345 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
5335 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
5481 | |
5471 | |
5482 | |
5472 | |
5483 | |
5473 | |
5484 | |
5474 | |
5485 | |
5475 | |
|
|
5476 | |
|
|
5477 | |
5486 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select |
5478 | for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd |
5487 | do |
5479 | do |
5488 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5480 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
5489 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5481 | { echo "$as_me:$LINENO: checking for $ac_func" >&5 |
5490 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5482 | echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } |
5491 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
5483 | if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then |
… | |
… | |
5660 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5652 | echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } |
5661 | if test $ac_cv_func_clock_gettime = yes; then |
5653 | if test $ac_cv_func_clock_gettime = yes; then |
5662 | : |
5654 | : |
5663 | else |
5655 | else |
5664 | |
5656 | |
5665 | if test -z "$LIBEV_M4_AVOID_LIBRT"; then |
5657 | if test $(uname) = Linux; then |
|
|
5658 | { echo "$as_me:$LINENO: checking for clock_gettime syscall" >&5 |
|
|
5659 | echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; } |
|
|
5660 | cat >conftest.$ac_ext <<_ACEOF |
|
|
5661 | /* confdefs.h. */ |
|
|
5662 | _ACEOF |
|
|
5663 | cat confdefs.h >>conftest.$ac_ext |
|
|
5664 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
5665 | /* end confdefs.h. */ |
|
|
5666 | #include <syscall.h> |
|
|
5667 | #include <time.h> |
|
|
5668 | int |
|
|
5669 | main () |
|
|
5670 | { |
|
|
5671 | struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts) |
|
|
5672 | ; |
|
|
5673 | return 0; |
|
|
5674 | } |
|
|
5675 | _ACEOF |
|
|
5676 | rm -f conftest.$ac_objext conftest$ac_exeext |
|
|
5677 | if { (ac_try="$ac_link" |
|
|
5678 | case "(($ac_try" in |
|
|
5679 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
|
|
5680 | *) ac_try_echo=$ac_try;; |
|
|
5681 | esac |
|
|
5682 | eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5 |
|
|
5683 | (eval "$ac_link") 2>conftest.er1 |
|
|
5684 | ac_status=$? |
|
|
5685 | grep -v '^ *+' conftest.er1 >conftest.err |
|
|
5686 | rm -f conftest.er1 |
|
|
5687 | cat conftest.err >&5 |
|
|
5688 | echo "$as_me:$LINENO: \$? = $ac_status" >&5 |
|
|
5689 | (exit $ac_status); } && { |
|
|
5690 | test -z "$ac_cxx_werror_flag" || |
|
|
5691 | test ! -s conftest.err |
|
|
5692 | } && test -s conftest$ac_exeext && |
|
|
5693 | $as_test_x conftest$ac_exeext; then |
|
|
5694 | ac_have_clock_syscall=1 |
|
|
5695 | |
|
|
5696 | cat >>confdefs.h <<\_ACEOF |
|
|
5697 | #define HAVE_CLOCK_SYSCALL 1 |
|
|
5698 | _ACEOF |
|
|
5699 | |
|
|
5700 | { echo "$as_me:$LINENO: result: yes" >&5 |
|
|
5701 | echo "${ECHO_T}yes" >&6; } |
|
|
5702 | else |
|
|
5703 | echo "$as_me: failed program was:" >&5 |
|
|
5704 | sed 's/^/| /' conftest.$ac_ext >&5 |
|
|
5705 | |
|
|
5706 | { echo "$as_me:$LINENO: result: no" >&5 |
|
|
5707 | echo "${ECHO_T}no" >&6; } |
|
|
5708 | fi |
|
|
5709 | |
|
|
5710 | rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \ |
|
|
5711 | conftest$ac_exeext conftest.$ac_ext |
|
|
5712 | fi |
|
|
5713 | if test -z "$LIBEV_M4_AVOID_LIBRT" && test -z "$ac_have_clock_syscall"; then |
5666 | |
5714 | |
5667 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5715 | { echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 |
5668 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5716 | echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } |
5669 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5717 | if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then |
5670 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
5718 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
6159 | _ACEOF |
6207 | _ACEOF |
6160 | |
6208 | |
6161 | LIBS="-lm $LIBS" |
6209 | LIBS="-lm $LIBS" |
6162 | |
6210 | |
6163 | fi |
6211 | fi |
6164 | |
|
|
6165 | |
|
|
6166 | |
6212 | |
6167 | |
6213 | |
6168 | |
6214 | |
6169 | |
6215 | |
6170 | |
6216 | |
… | |
… | |
8666 | fi |
8712 | fi |
8667 | done |
8713 | done |
8668 | |
8714 | |
8669 | |
8715 | |
8670 | |
8716 | |
8671 | |
|
|
8672 | |
|
|
8673 | for ac_header in \ |
8717 | for ac_header in lastlog.h |
8674 | utmp.h \ |
|
|
8675 | utmpx.h \ |
|
|
8676 | lastlog.h \ |
|
|
8677 | |
|
|
8678 | do |
8718 | do |
8679 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8719 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
8680 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8720 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8681 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8721 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8682 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8722 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
… | |
… | |
8813 | |
8853 | |
8814 | done |
8854 | done |
8815 | |
8855 | |
8816 | |
8856 | |
8817 | |
8857 | |
8818 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8858 | |
|
|
8859 | for ac_header in utmp.h |
|
|
8860 | do |
|
|
8861 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
8862 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8819 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8863 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8820 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8864 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8821 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8865 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8822 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8866 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8823 | fi |
8867 | fi |
|
|
8868 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8824 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8869 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8825 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8870 | echo "${ECHO_T}$ac_res" >&6; } |
8826 | else |
8871 | else |
8827 | # Is the header compilable? |
8872 | # Is the header compilable? |
8828 | { echo "$as_me:$LINENO: checking utmp.h usability" >&5 |
8873 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
8829 | echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } |
8874 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
8830 | cat >conftest.$ac_ext <<_ACEOF |
8875 | cat >conftest.$ac_ext <<_ACEOF |
8831 | /* confdefs.h. */ |
8876 | /* confdefs.h. */ |
8832 | _ACEOF |
8877 | _ACEOF |
8833 | cat confdefs.h >>conftest.$ac_ext |
8878 | cat confdefs.h >>conftest.$ac_ext |
8834 | cat >>conftest.$ac_ext <<_ACEOF |
8879 | cat >>conftest.$ac_ext <<_ACEOF |
8835 | /* end confdefs.h. */ |
8880 | /* end confdefs.h. */ |
8836 | $ac_includes_default |
8881 | $ac_includes_default |
8837 | #include <utmp.h> |
8882 | #include <$ac_header> |
8838 | _ACEOF |
8883 | _ACEOF |
8839 | rm -f conftest.$ac_objext |
8884 | rm -f conftest.$ac_objext |
8840 | if { (ac_try="$ac_compile" |
8885 | if { (ac_try="$ac_compile" |
8841 | case "(($ac_try" in |
8886 | case "(($ac_try" in |
8842 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8887 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
8864 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8909 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
8865 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8910 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
8866 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8911 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
8867 | |
8912 | |
8868 | # Is the header present? |
8913 | # Is the header present? |
8869 | { echo "$as_me:$LINENO: checking utmp.h presence" >&5 |
8914 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
8870 | echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } |
8915 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
8871 | cat >conftest.$ac_ext <<_ACEOF |
8916 | cat >conftest.$ac_ext <<_ACEOF |
8872 | /* confdefs.h. */ |
8917 | /* confdefs.h. */ |
8873 | _ACEOF |
8918 | _ACEOF |
8874 | cat confdefs.h >>conftest.$ac_ext |
8919 | cat confdefs.h >>conftest.$ac_ext |
8875 | cat >>conftest.$ac_ext <<_ACEOF |
8920 | cat >>conftest.$ac_ext <<_ACEOF |
8876 | /* end confdefs.h. */ |
8921 | /* end confdefs.h. */ |
8877 | #include <utmp.h> |
8922 | #include <$ac_header> |
8878 | _ACEOF |
8923 | _ACEOF |
8879 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8924 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
8880 | case "(($ac_try" in |
8925 | case "(($ac_try" in |
8881 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8926 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
8882 | *) ac_try_echo=$ac_try;; |
8927 | *) ac_try_echo=$ac_try;; |
… | |
… | |
8905 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8950 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
8906 | |
8951 | |
8907 | # So? What about this header? |
8952 | # So? What about this header? |
8908 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8953 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
8909 | yes:no: ) |
8954 | yes:no: ) |
8910 | { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
8955 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
8911 | echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8956 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
8912 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 |
8957 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
8913 | echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} |
8958 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
8914 | ac_header_preproc=yes |
8959 | ac_header_preproc=yes |
8915 | ;; |
8960 | ;; |
8916 | no:yes:* ) |
8961 | no:yes:* ) |
8917 | { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 |
8962 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
8918 | echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} |
8963 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
8919 | { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 |
8964 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
8920 | echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} |
8965 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
8921 | { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 |
8966 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
8922 | echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} |
8967 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
8923 | { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 |
8968 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
8924 | echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} |
8969 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
8925 | { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 |
8970 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
8926 | echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} |
8971 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
8927 | { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 |
8972 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
8928 | echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} |
8973 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
8929 | |
8974 | |
8930 | ;; |
8975 | ;; |
8931 | esac |
8976 | esac |
8932 | { echo "$as_me:$LINENO: checking for utmp.h" >&5 |
8977 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
8933 | echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } |
8978 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
8934 | if test "${ac_cv_header_utmp_h+set}" = set; then |
8979 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
8935 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8980 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8936 | else |
8981 | else |
8937 | ac_cv_header_utmp_h=$ac_header_preproc |
8982 | eval "$as_ac_Header=\$ac_header_preproc" |
8938 | fi |
8983 | fi |
|
|
8984 | ac_res=`eval echo '${'$as_ac_Header'}'` |
8939 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 |
8985 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
8940 | echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } |
8986 | echo "${ECHO_T}$ac_res" >&6; } |
8941 | |
8987 | |
8942 | fi |
8988 | fi |
8943 | if test $ac_cv_header_utmp_h = yes; then |
8989 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
8990 | cat >>confdefs.h <<_ACEOF |
|
|
8991 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
8992 | _ACEOF |
8944 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8993 | { echo "$as_me:$LINENO: checking for struct utmp" >&5 |
8945 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8994 | echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } |
8946 | if test "${struct_utmp+set}" = set; then |
8995 | if test "${struct_utmp+set}" = set; then |
8947 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8996 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
8948 | else |
8997 | else |
8949 | cat >conftest.$ac_ext <<_ACEOF |
8998 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9116 | |
9165 | |
9117 | fi |
9166 | fi |
9118 | |
9167 | |
9119 | fi |
9168 | fi |
9120 | |
9169 | |
|
|
9170 | done |
9121 | |
9171 | |
9122 | |
9172 | |
9123 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9173 | |
|
|
9174 | for ac_header in utmpx.h |
|
|
9175 | do |
|
|
9176 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
|
|
9177 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9124 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9178 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9125 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9179 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9126 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9180 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9127 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9181 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9128 | fi |
9182 | fi |
|
|
9183 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9129 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9184 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9130 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9185 | echo "${ECHO_T}$ac_res" >&6; } |
9131 | else |
9186 | else |
9132 | # Is the header compilable? |
9187 | # Is the header compilable? |
9133 | { echo "$as_me:$LINENO: checking utmpx.h usability" >&5 |
9188 | { echo "$as_me:$LINENO: checking $ac_header usability" >&5 |
9134 | echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } |
9189 | echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } |
9135 | cat >conftest.$ac_ext <<_ACEOF |
9190 | cat >conftest.$ac_ext <<_ACEOF |
9136 | /* confdefs.h. */ |
9191 | /* confdefs.h. */ |
9137 | _ACEOF |
9192 | _ACEOF |
9138 | cat confdefs.h >>conftest.$ac_ext |
9193 | cat confdefs.h >>conftest.$ac_ext |
9139 | cat >>conftest.$ac_ext <<_ACEOF |
9194 | cat >>conftest.$ac_ext <<_ACEOF |
9140 | /* end confdefs.h. */ |
9195 | /* end confdefs.h. */ |
9141 | $ac_includes_default |
9196 | $ac_includes_default |
9142 | #include <utmpx.h> |
9197 | #include <$ac_header> |
9143 | _ACEOF |
9198 | _ACEOF |
9144 | rm -f conftest.$ac_objext |
9199 | rm -f conftest.$ac_objext |
9145 | if { (ac_try="$ac_compile" |
9200 | if { (ac_try="$ac_compile" |
9146 | case "(($ac_try" in |
9201 | case "(($ac_try" in |
9147 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9202 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
… | |
… | |
9169 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9224 | rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext |
9170 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9225 | { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 |
9171 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9226 | echo "${ECHO_T}$ac_header_compiler" >&6; } |
9172 | |
9227 | |
9173 | # Is the header present? |
9228 | # Is the header present? |
9174 | { echo "$as_me:$LINENO: checking utmpx.h presence" >&5 |
9229 | { echo "$as_me:$LINENO: checking $ac_header presence" >&5 |
9175 | echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } |
9230 | echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } |
9176 | cat >conftest.$ac_ext <<_ACEOF |
9231 | cat >conftest.$ac_ext <<_ACEOF |
9177 | /* confdefs.h. */ |
9232 | /* confdefs.h. */ |
9178 | _ACEOF |
9233 | _ACEOF |
9179 | cat confdefs.h >>conftest.$ac_ext |
9234 | cat confdefs.h >>conftest.$ac_ext |
9180 | cat >>conftest.$ac_ext <<_ACEOF |
9235 | cat >>conftest.$ac_ext <<_ACEOF |
9181 | /* end confdefs.h. */ |
9236 | /* end confdefs.h. */ |
9182 | #include <utmpx.h> |
9237 | #include <$ac_header> |
9183 | _ACEOF |
9238 | _ACEOF |
9184 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9239 | if { (ac_try="$ac_cpp conftest.$ac_ext" |
9185 | case "(($ac_try" in |
9240 | case "(($ac_try" in |
9186 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9241 | *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; |
9187 | *) ac_try_echo=$ac_try;; |
9242 | *) ac_try_echo=$ac_try;; |
… | |
… | |
9210 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9265 | echo "${ECHO_T}$ac_header_preproc" >&6; } |
9211 | |
9266 | |
9212 | # So? What about this header? |
9267 | # So? What about this header? |
9213 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9268 | case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in |
9214 | yes:no: ) |
9269 | yes:no: ) |
9215 | { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 |
9270 | { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 |
9216 | echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9271 | echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} |
9217 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 |
9272 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 |
9218 | echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} |
9273 | echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} |
9219 | ac_header_preproc=yes |
9274 | ac_header_preproc=yes |
9220 | ;; |
9275 | ;; |
9221 | no:yes:* ) |
9276 | no:yes:* ) |
9222 | { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 |
9277 | { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 |
9223 | echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} |
9278 | echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} |
9224 | { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 |
9279 | { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 |
9225 | echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} |
9280 | echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} |
9226 | { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 |
9281 | { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 |
9227 | echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} |
9282 | echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} |
9228 | { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 |
9283 | { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 |
9229 | echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} |
9284 | echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} |
9230 | { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 |
9285 | { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 |
9231 | echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} |
9286 | echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} |
9232 | { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 |
9287 | { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 |
9233 | echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} |
9288 | echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} |
9234 | |
9289 | |
9235 | ;; |
9290 | ;; |
9236 | esac |
9291 | esac |
9237 | { echo "$as_me:$LINENO: checking for utmpx.h" >&5 |
9292 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
9238 | echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } |
9293 | echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } |
9239 | if test "${ac_cv_header_utmpx_h+set}" = set; then |
9294 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
9240 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9295 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9241 | else |
9296 | else |
9242 | ac_cv_header_utmpx_h=$ac_header_preproc |
9297 | eval "$as_ac_Header=\$ac_header_preproc" |
9243 | fi |
9298 | fi |
|
|
9299 | ac_res=`eval echo '${'$as_ac_Header'}'` |
9244 | { echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 |
9300 | { echo "$as_me:$LINENO: result: $ac_res" >&5 |
9245 | echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } |
9301 | echo "${ECHO_T}$ac_res" >&6; } |
9246 | |
9302 | |
9247 | fi |
9303 | fi |
9248 | if test $ac_cv_header_utmpx_h = yes; then |
9304 | if test `eval echo '${'$as_ac_Header'}'` = yes; then |
|
|
9305 | cat >>confdefs.h <<_ACEOF |
|
|
9306 | #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1 |
|
|
9307 | _ACEOF |
9249 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9308 | { echo "$as_me:$LINENO: checking for struct utmpx" >&5 |
9250 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9309 | echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } |
9251 | if test "${struct_utmpx+set}" = set; then |
9310 | if test "${struct_utmpx+set}" = set; then |
9252 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9311 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9253 | else |
9312 | else |
9254 | cat >conftest.$ac_ext <<_ACEOF |
9313 | cat >conftest.$ac_ext <<_ACEOF |
… | |
… | |
9421 | |
9480 | |
9422 | fi |
9481 | fi |
9423 | |
9482 | |
9424 | fi |
9483 | fi |
9425 | |
9484 | |
|
|
9485 | done |
9426 | |
9486 | |
9427 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9487 | { echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
9428 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9488 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } |
9429 | if test "${struct_lastlog+set}" = set; then |
9489 | if test "${struct_lastlog+set}" = set; then |
9430 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
9490 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
… | |
… | |
10500 | |
10560 | |
10501 | |
10561 | |
10502 | |
10562 | |
10503 | |
10563 | |
10504 | |
10564 | |
|
|
10565 | |
10505 | for ac_header in \ |
10566 | for ac_header in \ |
10506 | pty.h \ |
10567 | pty.h \ |
10507 | util.h \ |
10568 | util.h \ |
10508 | libutil.h \ |
10569 | libutil.h \ |
10509 | sys/ioctl.h \ |
10570 | sys/ioctl.h \ |
10510 | sys/stropts.h \ |
10571 | sys/stropts.h \ |
|
|
10572 | stropts.h \ |
10511 | |
10573 | |
10512 | do |
10574 | do |
10513 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10575 | as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` |
10514 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10576 | if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then |
10515 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
10577 | { echo "$as_me:$LINENO: checking for $ac_header" >&5 |
… | |
… | |
11538 | _ACEOF |
11600 | _ACEOF |
11539 | |
11601 | |
11540 | fi |
11602 | fi |
11541 | |
11603 | |
11542 | |
11604 | |
|
|
11605 | scrolltypes=plain |
|
|
11606 | |
|
|
11607 | cat >>confdefs.h <<\_ACEOF |
|
|
11608 | #define PLAIN_SCROLLBAR 1 |
|
|
11609 | _ACEOF |
|
|
11610 | |
|
|
11611 | |
11543 | if test x$support_scroll_rxvt = xyes; then |
11612 | if test x$support_scroll_rxvt = xyes; then |
11544 | |
11613 | |
11545 | cat >>confdefs.h <<\_ACEOF |
11614 | cat >>confdefs.h <<\_ACEOF |
11546 | #define RXVT_SCROLLBAR 1 |
11615 | #define RXVT_SCROLLBAR 1 |
11547 | _ACEOF |
11616 | _ACEOF |
11548 | |
11617 | |
11549 | scrolltypes="rxvt" |
11618 | scrolltypes="$scrolltypes rxvt" |
11550 | fi |
11619 | fi |
11551 | if test x$support_scroll_next = xyes; then |
11620 | if test x$support_scroll_next = xyes; then |
11552 | |
11621 | |
11553 | cat >>confdefs.h <<\_ACEOF |
11622 | cat >>confdefs.h <<\_ACEOF |
11554 | #define NEXT_SCROLLBAR 1 |
11623 | #define NEXT_SCROLLBAR 1 |
… | |
… | |
11561 | cat >>confdefs.h <<\_ACEOF |
11630 | cat >>confdefs.h <<\_ACEOF |
11562 | #define XTERM_SCROLLBAR 1 |
11631 | #define XTERM_SCROLLBAR 1 |
11563 | _ACEOF |
11632 | _ACEOF |
11564 | |
11633 | |
11565 | scrolltypes="$scrolltypes xterm" |
11634 | scrolltypes="$scrolltypes xterm" |
11566 | fi |
|
|
11567 | if test x$support_scroll_plain = xyes; then |
|
|
11568 | |
|
|
11569 | cat >>confdefs.h <<\_ACEOF |
|
|
11570 | #define PLAIN_SCROLLBAR 1 |
|
|
11571 | _ACEOF |
|
|
11572 | |
|
|
11573 | scrolltypes="$scrolltypes plain" |
|
|
11574 | fi |
11635 | fi |
11575 | if test x$support_pointer_blank = xyes; then |
11636 | if test x$support_pointer_blank = xyes; then |
11576 | |
11637 | |
11577 | cat >>confdefs.h <<\_ACEOF |
11638 | cat >>confdefs.h <<\_ACEOF |
11578 | #define POINTER_BLANK 1 |
11639 | #define POINTER_BLANK 1 |