ViewVC Help
View File | Revision Log | Show Annotations | Download File
/cvs/rxvt-unicode/configure
(Generate patch)

Comparing rxvt-unicode/configure (file contents):
Revision 1.125 by root, Sun Jan 6 21:34:57 2008 UTC vs.
Revision 1.129 by root, Fri Sep 4 15:40:12 2009 UTC

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
4378support_text_blink=yes 4377support_text_blink=yes
4379support_pointer_blank=yes 4378support_pointer_blank=yes
4380support_scroll_rxvt=yes 4379support_scroll_rxvt=yes
4381support_scroll_next=yes 4380support_scroll_next=yes
4382support_scroll_xterm=yes 4381support_scroll_xterm=yes
4383support_scroll_plain=yes
4384support_xim=yes 4382support_xim=yes
4385support_afterimage=yes 4383support_afterimage=yes
4386support_afterstep=yes 4384support_afterstep=yes
4387support_xft=yes 4385support_xft=yes
4388support_unicode3=no 4386support_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.
4603if test "${enable_xterm_scroll+set}" = set; then 4599if 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
4607fi
4608
4609
4610# Check whether --enable-plain-scroll was given.
4611if 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
4615fi 4603fi
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
5340for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5330for 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
5341do 5331do
5342as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5332as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5343if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5333if { 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
5345echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5335echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5481 5471
5482 5472
5483 5473
5484 5474
5485 5475
5476
5477
5486for ac_func in inotify_init epoll_ctl kqueue port_create poll select 5478for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5487do 5479do
5488as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5480as_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
5490echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5482echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5491if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5483if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5660echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5652echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5661if test $ac_cv_func_clock_gettime = yes; then 5653if test $ac_cv_func_clock_gettime = yes; then
5662 : 5654 :
5663else 5655else
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
5659echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; }
5660 cat >conftest.$ac_ext <<_ACEOF
5661/* confdefs.h. */
5662_ACEOF
5663cat confdefs.h >>conftest.$ac_ext
5664cat >>conftest.$ac_ext <<_ACEOF
5665/* end confdefs.h. */
5666#include <syscall.h>
5667 #include <time.h>
5668int
5669main ()
5670{
5671struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
5672 ;
5673 return 0;
5674}
5675_ACEOF
5676rm -f conftest.$ac_objext conftest$ac_exeext
5677if { (ac_try="$ac_link"
5678case "(($ac_try" in
5679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5680 *) ac_try_echo=$ac_try;;
5681esac
5682eval "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
5696cat >>confdefs.h <<\_ACEOF
5697#define HAVE_CLOCK_SYSCALL 1
5698_ACEOF
5699
5700 { echo "$as_me:$LINENO: result: yes" >&5
5701echo "${ECHO_T}yes" >&6; }
5702else
5703 echo "$as_me: failed program was:" >&5
5704sed 's/^/| /' conftest.$ac_ext >&5
5705
5706 { echo "$as_me:$LINENO: result: no" >&5
5707echo "${ECHO_T}no" >&6; }
5708fi
5709
5710rm -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
5668echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5716echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5669if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5717if 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
6163fi 6211fi
6164
6165
6166 6212
6167 6213
6168 6214
6169 6215
6170 6216
8666fi 8712fi
8667done 8713done
8668 8714
8669 8715
8670 8716
8671
8672
8673for ac_header in \ 8717for ac_header in lastlog.h
8674 utmp.h \
8675 utmpx.h \
8676 lastlog.h \
8677
8678do 8718do
8679as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8719as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8680if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8720if { 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
8682echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8722echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8813 8853
8814done 8854done
8815 8855
8816 8856
8817 8857
8818if test "${ac_cv_header_utmp_h+set}" = set; then 8858
8859for ac_header in utmp.h
8860do
8861as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8862if { 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
8820echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8864echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8821if test "${ac_cv_header_utmp_h+set}" = set; then 8865if { 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
8823fi 8867fi
8868ac_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
8825echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8870echo "${ECHO_T}$ac_res" >&6; }
8826else 8871else
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
8829echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8874echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8830cat >conftest.$ac_ext <<_ACEOF 8875cat >conftest.$ac_ext <<_ACEOF
8831/* confdefs.h. */ 8876/* confdefs.h. */
8832_ACEOF 8877_ACEOF
8833cat confdefs.h >>conftest.$ac_ext 8878cat confdefs.h >>conftest.$ac_ext
8834cat >>conftest.$ac_ext <<_ACEOF 8879cat >>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
8839rm -f conftest.$ac_objext 8884rm -f conftest.$ac_objext
8840if { (ac_try="$ac_compile" 8885if { (ac_try="$ac_compile"
8841case "(($ac_try" in 8886case "(($ac_try" in
8842 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8864rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8909rm -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
8866echo "${ECHO_T}$ac_header_compiler" >&6; } 8911echo "${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
8870echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8915echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8871cat >conftest.$ac_ext <<_ACEOF 8916cat >conftest.$ac_ext <<_ACEOF
8872/* confdefs.h. */ 8917/* confdefs.h. */
8873_ACEOF 8918_ACEOF
8874cat confdefs.h >>conftest.$ac_ext 8919cat confdefs.h >>conftest.$ac_ext
8875cat >>conftest.$ac_ext <<_ACEOF 8920cat >>conftest.$ac_ext <<_ACEOF
8876/* end confdefs.h. */ 8921/* end confdefs.h. */
8877#include <utmp.h> 8922#include <$ac_header>
8878_ACEOF 8923_ACEOF
8879if { (ac_try="$ac_cpp conftest.$ac_ext" 8924if { (ac_try="$ac_cpp conftest.$ac_ext"
8880case "(($ac_try" in 8925case "(($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;;
8905echo "${ECHO_T}$ac_header_preproc" >&6; } 8950echo "${ECHO_T}$ac_header_preproc" >&6; }
8906 8951
8907# So? What about this header? 8952# So? What about this header?
8908case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8953case $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
8911echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8956echo "$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
8913echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 8958echo "$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
8918echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8963echo "$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
8920echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8965echo "$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
8922echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8967echo "$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
8924echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 8969echo "$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
8926echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 8971echo "$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
8928echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 8973echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8929 8974
8930 ;; 8975 ;;
8931esac 8976esac
8932{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8977{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8933echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8978echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8934if test "${ac_cv_header_utmp_h+set}" = set; then 8979if { 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
8936else 8981else
8937 ac_cv_header_utmp_h=$ac_header_preproc 8982 eval "$as_ac_Header=\$ac_header_preproc"
8938fi 8983fi
8984ac_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
8940echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8986echo "${ECHO_T}$ac_res" >&6; }
8941 8987
8942fi 8988fi
8943if test $ac_cv_header_utmp_h = yes; then 8989if 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
8945echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 8994echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
8946if test "${struct_utmp+set}" = set; then 8995if test "${struct_utmp+set}" = set; then
8947 echo $ECHO_N "(cached) $ECHO_C" >&6 8996 echo $ECHO_N "(cached) $ECHO_C" >&6
8948else 8997else
8949 cat >conftest.$ac_ext <<_ACEOF 8998 cat >conftest.$ac_ext <<_ACEOF
9116 9165
9117fi 9166fi
9118 9167
9119fi 9168fi
9120 9169
9170done
9121 9171
9122 9172
9123if test "${ac_cv_header_utmpx_h+set}" = set; then 9173
9174for ac_header in utmpx.h
9175do
9176as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9177if { 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
9125echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9179echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9126if test "${ac_cv_header_utmpx_h+set}" = set; then 9180if { 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
9128fi 9182fi
9183ac_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
9130echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9185echo "${ECHO_T}$ac_res" >&6; }
9131else 9186else
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
9134echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9189echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9135cat >conftest.$ac_ext <<_ACEOF 9190cat >conftest.$ac_ext <<_ACEOF
9136/* confdefs.h. */ 9191/* confdefs.h. */
9137_ACEOF 9192_ACEOF
9138cat confdefs.h >>conftest.$ac_ext 9193cat confdefs.h >>conftest.$ac_ext
9139cat >>conftest.$ac_ext <<_ACEOF 9194cat >>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
9144rm -f conftest.$ac_objext 9199rm -f conftest.$ac_objext
9145if { (ac_try="$ac_compile" 9200if { (ac_try="$ac_compile"
9146case "(($ac_try" in 9201case "(($ac_try" in
9147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9169rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9224rm -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
9171echo "${ECHO_T}$ac_header_compiler" >&6; } 9226echo "${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
9175echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9230echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9176cat >conftest.$ac_ext <<_ACEOF 9231cat >conftest.$ac_ext <<_ACEOF
9177/* confdefs.h. */ 9232/* confdefs.h. */
9178_ACEOF 9233_ACEOF
9179cat confdefs.h >>conftest.$ac_ext 9234cat confdefs.h >>conftest.$ac_ext
9180cat >>conftest.$ac_ext <<_ACEOF 9235cat >>conftest.$ac_ext <<_ACEOF
9181/* end confdefs.h. */ 9236/* end confdefs.h. */
9182#include <utmpx.h> 9237#include <$ac_header>
9183_ACEOF 9238_ACEOF
9184if { (ac_try="$ac_cpp conftest.$ac_ext" 9239if { (ac_try="$ac_cpp conftest.$ac_ext"
9185case "(($ac_try" in 9240case "(($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;;
9210echo "${ECHO_T}$ac_header_preproc" >&6; } 9265echo "${ECHO_T}$ac_header_preproc" >&6; }
9211 9266
9212# So? What about this header? 9267# So? What about this header?
9213case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9268case $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
9216echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9271echo "$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
9218echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 9273echo "$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
9223echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9278echo "$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
9225echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9280echo "$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
9227echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9282echo "$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
9229echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 9284echo "$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
9231echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 9286echo "$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
9233echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 9288echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9234 9289
9235 ;; 9290 ;;
9236esac 9291esac
9237{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9292{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9238echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9293echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9239if test "${ac_cv_header_utmpx_h+set}" = set; then 9294if { 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
9241else 9296else
9242 ac_cv_header_utmpx_h=$ac_header_preproc 9297 eval "$as_ac_Header=\$ac_header_preproc"
9243fi 9298fi
9299ac_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
9245echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9301echo "${ECHO_T}$ac_res" >&6; }
9246 9302
9247fi 9303fi
9248if test $ac_cv_header_utmpx_h = yes; then 9304if 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
9250echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9309echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
9251if test "${struct_utmpx+set}" = set; then 9310if test "${struct_utmpx+set}" = set; then
9252 echo $ECHO_N "(cached) $ECHO_C" >&6 9311 echo $ECHO_N "(cached) $ECHO_C" >&6
9253else 9312else
9254 cat >conftest.$ac_ext <<_ACEOF 9313 cat >conftest.$ac_ext <<_ACEOF
9421 9480
9422fi 9481fi
9423 9482
9424fi 9483fi
9425 9484
9485done
9426 9486
9427{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9487{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
9428echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9488echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
9429if test "${struct_lastlog+set}" = set; then 9489if 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
10505for ac_header in \ 10566for 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
10512do 10574do
10513as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10575as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10514if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10576if { 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
11540fi 11602fi
11541 11603
11542 11604
11605scrolltypes=plain
11606
11607cat >>confdefs.h <<\_ACEOF
11608#define PLAIN_SCROLLBAR 1
11609_ACEOF
11610
11611
11543if test x$support_scroll_rxvt = xyes; then 11612if test x$support_scroll_rxvt = xyes; then
11544 11613
11545cat >>confdefs.h <<\_ACEOF 11614cat >>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"
11550fi 11619fi
11551if test x$support_scroll_next = xyes; then 11620if test x$support_scroll_next = xyes; then
11552 11621
11553cat >>confdefs.h <<\_ACEOF 11622cat >>confdefs.h <<\_ACEOF
11554#define NEXT_SCROLLBAR 1 11623#define NEXT_SCROLLBAR 1
11561cat >>confdefs.h <<\_ACEOF 11630cat >>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"
11566fi
11567if test x$support_scroll_plain = xyes; then
11568
11569cat >>confdefs.h <<\_ACEOF
11570#define PLAIN_SCROLLBAR 1
11571_ACEOF
11572
11573 scrolltypes="$scrolltypes plain"
11574fi 11635fi
11575if test x$support_pointer_blank = xyes; then 11636if test x$support_pointer_blank = xyes; then
11576 11637
11577cat >>confdefs.h <<\_ACEOF 11638cat >>confdefs.h <<\_ACEOF
11578#define POINTER_BLANK 1 11639#define POINTER_BLANK 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines