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

Comparing rxvt-unicode/configure (file contents):
Revision 1.124 by ayin, Fri Dec 28 14:00:47 2007 UTC vs.
Revision 1.131 by root, Tue Mar 16 00:54:46 2010 UTC

1293 1293
1294Optional Features: 1294Optional 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
1304 --enable-afterimage enable integration with libAfterImage for background images 1305 --enable-afterimage enable integration with libAfterImage for background images
1305 --enable-transparency enable transparent backgrounds 1306 --enable-transparency enable transparent backgrounds
1306 --enable-fading enable colors fading when off focus 1307 --enable-fading enable colors fading when off focus
1307 --enable-rxvt-scroll enable rxvt style scrollbar 1308 --enable-rxvt-scroll enable rxvt style scrollbar
1308 --enable-next-scroll enable NeXT style scrollbar 1309 --enable-next-scroll enable NeXT style scrollbar
1309 --enable-xterm-scroll enable Xterm style scrollbar 1310 --enable-xterm-scroll enable Xterm style scrollbar
1310 --enable-plain-scroll enable plain style scrollbar
1311 --enable-perl enable embedded perl interpreter 1311 --enable-perl enable embedded perl interpreter
1312 --enable-xim XIM (X Input Method) protocol support 1312 --enable-xim XIM (X Input Method) protocol support
1313 --disable-backspace-key disable handling of the backspace key 1313 --disable-backspace-key disable handling of the backspace key
1314 --disable-delete-key disable handling of the delete key 1314 --disable-delete-key disable handling of the delete key
1315 --disable-resources disable all resource checking 1315 --disable-resources disable all resource checking
1322 --enable-selectionscrolling enable scrolling during selections 1322 --enable-selectionscrolling enable scrolling during selections
1323 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1323 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1324 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) 1324 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1325 --enable-smart-resize enable smart growth/shrink behaviour 1325 --enable-smart-resize enable smart growth/shrink behaviour
1326 --enable-text-blink enable blinking text 1326 --enable-text-blink enable blinking text
1327 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1327 --enable-pointer-blank enable pointer blanking when typing or inactive
1328 --enable-utmp enable utmp (utmpx) support 1328 --enable-utmp enable utmp (utmpx) support
1329 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1329 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1330 --enable-lastlog enable lastlog support (requires --enable-utmp) 1330 --enable-lastlog enable lastlog support (requires --enable-utmp)
1331 1331
1332Optional Packages: 1332Optional Packages:
4366fi 4366fi
4367 4367
4368fi 4368fi
4369 4369
4370 4370
4371
4372support_frills=yes 4371support_frills=yes
4373support_inheritpixmap=yes 4372support_inheritpixmap=yes
4374support_fading=yes 4373support_fading=yes
4375support_keepscrolling=yes 4374support_keepscrolling=yes
4376support_selectionscrolling=yes 4375support_selectionscrolling=yes
4379support_text_blink=yes 4378support_text_blink=yes
4380support_pointer_blank=yes 4379support_pointer_blank=yes
4381support_scroll_rxvt=yes 4380support_scroll_rxvt=yes
4382support_scroll_next=yes 4381support_scroll_next=yes
4383support_scroll_xterm=yes 4382support_scroll_xterm=yes
4384support_scroll_plain=yes
4385support_xim=yes 4383support_xim=yes
4386support_afterimage=yes 4384support_afterimage=yes
4387support_afterstep=yes 4385support_afterstep=yes
4388support_xft=yes 4386support_xft=yes
4389support_unicode3=no 4387support_unicode3=no
4391support_8bitctrls=no 4389support_8bitctrls=no
4392support_iso14755=yes 4390support_iso14755=yes
4393support_styles=yes 4391support_styles=yes
4394support_perl=yes 4392support_perl=yes
4395codesets=all 4393codesets=all
4396
4397 4394
4398 4395
4399# Check whether --enable-everything was given. 4396# Check whether --enable-everything was given.
4400if test "${enable_everything+set}" = set; then 4397if test "${enable_everything+set}" = set; then
4401 enableval=$enable_everything; 4398 enableval=$enable_everything;
4411 support_text_blink=no 4408 support_text_blink=no
4412 support_pointer_blank=no 4409 support_pointer_blank=no
4413 support_scroll_rxvt=no 4410 support_scroll_rxvt=no
4414 support_scroll_next=no 4411 support_scroll_next=no
4415 support_scroll_xterm=no 4412 support_scroll_xterm=no
4416 support_scroll_plain=no
4417 support_utmp=no 4413 support_utmp=no
4418 support_wtmp=no 4414 support_wtmp=no
4419 support_xim=no 4415 support_xim=no
4420 support_afterimage=no 4416 support_afterimage=no
4421 support_afterstep=no 4417 support_afterstep=no
4440 support_text_blink=yes 4436 support_text_blink=yes
4441 support_pointer_blank=yes 4437 support_pointer_blank=yes
4442 support_scroll_rxvt=yes 4438 support_scroll_rxvt=yes
4443 support_scroll_next=yes 4439 support_scroll_next=yes
4444 support_scroll_xterm=yes 4440 support_scroll_xterm=yes
4445 support_scroll_plain=yes
4446 support_utmp=yes 4441 support_utmp=yes
4447 support_wtmp=yes 4442 support_wtmp=yes
4448 support_xim=yes 4443 support_xim=yes
4449 support_afterimage=yes 4444 support_afterimage=yes
4450 support_afterstep=yes 4445 support_afterstep=yes
4459 fi 4454 fi
4460 4455
4461fi 4456fi
4462 4457
4463 4458
4459ASSERTIONS=no
4460# Check whether --enable-assert was given.
4461if test "${enable_assert+set}" = set; then
4462 enableval=$enable_assert; if test x$enableval = xyes; then
4463 ASSERTIONS=yes
4464 fi
4465fi
4466
4467if test x$ASSERTIONS = xno; then
4468
4469cat >>confdefs.h <<\_ACEOF
4470#define NDEBUG 1
4471_ACEOF
4472
4473fi
4474
4464WARNINGS=no 4475WARNINGS=no
4465# Check whether --enable-warnings was given. 4476# Check whether --enable-warnings was given.
4466if test "${enable_warnings+set}" = set; then 4477if test "${enable_warnings+set}" = set; then
4467 enableval=$enable_warnings; if test x$enableval = xyes; then 4478 enableval=$enable_warnings; if test x$enableval = xyes; then
4468 WARNINGS=yes 4479 WARNINGS=yes
4603 4614
4604# Check whether --enable-xterm-scroll was given. 4615# Check whether --enable-xterm-scroll was given.
4605if test "${enable_xterm_scroll+set}" = set; then 4616if test "${enable_xterm_scroll+set}" = set; then
4606 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then 4617 enableval=$enable_xterm_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4607 support_scroll_xterm=$enableval 4618 support_scroll_xterm=$enableval
4608 fi
4609fi
4610
4611
4612# Check whether --enable-plain-scroll was given.
4613if test "${enable_plain_scroll+set}" = set; then
4614 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4615 support_scroll_plain=$enableval
4616 fi 4619 fi
4617fi 4620fi
4618 4621
4619 4622
4620# Check whether --enable-perl was given. 4623# Check whether --enable-perl was given.
5337 5340
5338 5341
5339 5342
5340 5343
5341 5344
5345
5342for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5346for 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
5343do 5347do
5344as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5348as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5345if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5349if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5346 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5347echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5483 5487
5484 5488
5485 5489
5486 5490
5487 5491
5492
5493
5488for ac_func in inotify_init epoll_ctl kqueue port_create poll select 5494for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd signalfd
5489do 5495do
5490as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5496as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5491{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5497{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5492echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5498echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5493if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5499if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5662echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5668echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5663if test $ac_cv_func_clock_gettime = yes; then 5669if test $ac_cv_func_clock_gettime = yes; then
5664 : 5670 :
5665else 5671else
5666 5672
5667 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
5675echo $ECHO_N "checking for clock_gettime syscall... $ECHO_C" >&6; }
5676 cat >conftest.$ac_ext <<_ACEOF
5677/* confdefs.h. */
5678_ACEOF
5679cat confdefs.h >>conftest.$ac_ext
5680cat >>conftest.$ac_ext <<_ACEOF
5681/* end confdefs.h. */
5682#include <unistd.h>
5683 #include <sys/syscall.h>
5684 #include <time.h>
5685int
5686main ()
5687{
5688struct timespec ts; int status = syscall (SYS_clock_gettime, CLOCK_REALTIME, &ts)
5689 ;
5690 return 0;
5691}
5692_ACEOF
5693rm -f conftest.$ac_objext conftest$ac_exeext
5694if { (ac_try="$ac_link"
5695case "(($ac_try" in
5696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5697 *) ac_try_echo=$ac_try;;
5698esac
5699eval "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
5713cat >>confdefs.h <<\_ACEOF
5714#define HAVE_CLOCK_SYSCALL 1
5715_ACEOF
5716
5717 { echo "$as_me:$LINENO: result: yes" >&5
5718echo "${ECHO_T}yes" >&6; }
5719else
5720 echo "$as_me: failed program was:" >&5
5721sed 's/^/| /' conftest.$ac_ext >&5
5722
5723 { echo "$as_me:$LINENO: result: no" >&5
5724echo "${ECHO_T}no" >&6; }
5725fi
5726
5727rm -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
5668 5731
5669{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5732{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5670echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5733echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5671if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5734if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5672 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 echo $ECHO_N "(cached) $ECHO_C" >&6
6161_ACEOF 6224_ACEOF
6162 6225
6163 LIBS="-lm $LIBS" 6226 LIBS="-lm $LIBS"
6164 6227
6165fi 6228fi
6166
6167
6168 6229
6169 6230
6170 6231
6171 6232
6172 6233
7817 7878
7818fi 7879fi
7819 7880
7820{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7881{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7821echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7882echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7822if test "${rxvt_xlib_illegal_access+set}" = set; then 7883if test "${rxvt_cv_xlib_illegal_access+set}" = set; then
7823 echo $ECHO_N "(cached) $ECHO_C" >&6 7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7824else 7885else
7825 cat >conftest.$ac_ext <<_ACEOF 7886 cat >conftest.$ac_ext <<_ACEOF
7826/* confdefs.h. */ 7887/* confdefs.h. */
7827_ACEOF 7888_ACEOF
7858 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7859 (exit $ac_status); } && { 7920 (exit $ac_status); } && {
7860 test -z "$ac_cxx_werror_flag" || 7921 test -z "$ac_cxx_werror_flag" ||
7861 test ! -s conftest.err 7922 test ! -s conftest.err
7862 } && test -s conftest.$ac_objext; then 7923 } && test -s conftest.$ac_objext; then
7863 rxvt_xlib_illegal_access=yes 7924 rxvt_cv_xlib_illegal_access=yes
7864else 7925else
7865 echo "$as_me: failed program was:" >&5 7926 echo "$as_me: failed program was:" >&5
7866sed 's/^/| /' conftest.$ac_ext >&5 7927sed 's/^/| /' conftest.$ac_ext >&5
7867 7928
7868 rxvt_xlib_illegal_access=no 7929 rxvt_cv_xlib_illegal_access=no
7869 7930
7870fi 7931fi
7871 7932
7872rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7873fi 7934fi
7874{ echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 7935{ echo "$as_me:$LINENO: result: $rxvt_cv_xlib_illegal_access" >&5
7875echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6; } 7936echo "${ECHO_T}$rxvt_cv_xlib_illegal_access" >&6; }
7876if test x$rxvt_xlib_illegal_access = xyes; then 7937if test x$rxvt_cv_xlib_illegal_access = xyes; then
7877 7938
7878cat >>confdefs.h <<\_ACEOF 7939cat >>confdefs.h <<\_ACEOF
7879#define XLIB_ILLEGAL_ACCESS 1 7940#define XLIB_ILLEGAL_ACCESS 1
7880_ACEOF 7941_ACEOF
7881 7942
8668fi 8729fi
8669done 8730done
8670 8731
8671 8732
8672 8733
8673
8674
8675for ac_header in \ 8734for ac_header in lastlog.h
8676 utmp.h \
8677 utmpx.h \
8678 lastlog.h \
8679
8680do 8735do
8681as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8736as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8682if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8737if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8683 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8684echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8739echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8815 8870
8816done 8871done
8817 8872
8818 8873
8819 8874
8820if test "${ac_cv_header_utmp_h+set}" = set; then 8875
8876for ac_header in utmp.h
8877do
8878as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8879if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8821 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8822echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8823if test "${ac_cv_header_utmp_h+set}" = set; then 8882if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8824 echo $ECHO_N "(cached) $ECHO_C" >&6 8883 echo $ECHO_N "(cached) $ECHO_C" >&6
8825fi 8884fi
8885ac_res=`eval echo '${'$as_ac_Header'}'`
8826{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8886 { echo "$as_me:$LINENO: result: $ac_res" >&5
8827echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8887echo "${ECHO_T}$ac_res" >&6; }
8828else 8888else
8829 # Is the header compilable? 8889 # Is the header compilable?
8830{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8890{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8831echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8891echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8832cat >conftest.$ac_ext <<_ACEOF 8892cat >conftest.$ac_ext <<_ACEOF
8833/* confdefs.h. */ 8893/* confdefs.h. */
8834_ACEOF 8894_ACEOF
8835cat confdefs.h >>conftest.$ac_ext 8895cat confdefs.h >>conftest.$ac_ext
8836cat >>conftest.$ac_ext <<_ACEOF 8896cat >>conftest.$ac_ext <<_ACEOF
8837/* end confdefs.h. */ 8897/* end confdefs.h. */
8838$ac_includes_default 8898$ac_includes_default
8839#include <utmp.h> 8899#include <$ac_header>
8840_ACEOF 8900_ACEOF
8841rm -f conftest.$ac_objext 8901rm -f conftest.$ac_objext
8842if { (ac_try="$ac_compile" 8902if { (ac_try="$ac_compile"
8843case "(($ac_try" in 8903case "(($ac_try" in
8844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8866rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8867{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8927{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8868echo "${ECHO_T}$ac_header_compiler" >&6; } 8928echo "${ECHO_T}$ac_header_compiler" >&6; }
8869 8929
8870# Is the header present? 8930# Is the header present?
8871{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8931{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8872echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8932echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8873cat >conftest.$ac_ext <<_ACEOF 8933cat >conftest.$ac_ext <<_ACEOF
8874/* confdefs.h. */ 8934/* confdefs.h. */
8875_ACEOF 8935_ACEOF
8876cat confdefs.h >>conftest.$ac_ext 8936cat confdefs.h >>conftest.$ac_ext
8877cat >>conftest.$ac_ext <<_ACEOF 8937cat >>conftest.$ac_ext <<_ACEOF
8878/* end confdefs.h. */ 8938/* end confdefs.h. */
8879#include <utmp.h> 8939#include <$ac_header>
8880_ACEOF 8940_ACEOF
8881if { (ac_try="$ac_cpp conftest.$ac_ext" 8941if { (ac_try="$ac_cpp conftest.$ac_ext"
8882case "(($ac_try" in 8942case "(($ac_try" in
8883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8884 *) ac_try_echo=$ac_try;; 8944 *) ac_try_echo=$ac_try;;
8907echo "${ECHO_T}$ac_header_preproc" >&6; } 8967echo "${ECHO_T}$ac_header_preproc" >&6; }
8908 8968
8909# So? What about this header? 8969# So? What about this header?
8910case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8970case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8911 yes:no: ) 8971 yes:no: )
8912 { 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
8913echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 8973echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
8914 { 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
8915echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 8975echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
8916 ac_header_preproc=yes 8976 ac_header_preproc=yes
8917 ;; 8977 ;;
8918 no:yes:* ) 8978 no:yes:* )
8919 { 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
8920echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8980echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8921 { 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
8922echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8982echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8923 { 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
8924echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8984echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8925 { 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
8926echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 8986echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
8927 { 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
8928echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 8988echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
8929 { 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
8930echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 8990echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
8931 8991
8932 ;; 8992 ;;
8933esac 8993esac
8934{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8994{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8935echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8936if test "${ac_cv_header_utmp_h+set}" = set; then 8996if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8937 echo $ECHO_N "(cached) $ECHO_C" >&6 8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8938else 8998else
8939 ac_cv_header_utmp_h=$ac_header_preproc 8999 eval "$as_ac_Header=\$ac_header_preproc"
8940fi 9000fi
9001ac_res=`eval echo '${'$as_ac_Header'}'`
8941{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
8942echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 9003echo "${ECHO_T}$ac_res" >&6; }
8943 9004
8944fi 9005fi
8945if test $ac_cv_header_utmp_h = yes; then 9006if 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
8946 { echo "$as_me:$LINENO: checking for struct utmp" >&5 9010 { echo "$as_me:$LINENO: checking for struct utmp" >&5
8947echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 9011echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
8948if test "${struct_utmp+set}" = set; then 9012if test "${struct_utmp+set}" = set; then
8949 echo $ECHO_N "(cached) $ECHO_C" >&6 9013 echo $ECHO_N "(cached) $ECHO_C" >&6
8950else 9014else
8951 cat >conftest.$ac_ext <<_ACEOF 9015 cat >conftest.$ac_ext <<_ACEOF
9118 9182
9119fi 9183fi
9120 9184
9121fi 9185fi
9122 9186
9187done
9123 9188
9124 9189
9125if test "${ac_cv_header_utmpx_h+set}" = set; then 9190
9191for ac_header in utmpx.h
9192do
9193as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
9194if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9126 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9127echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9196echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9128if test "${ac_cv_header_utmpx_h+set}" = set; then 9197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9129 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9130fi 9199fi
9200ac_res=`eval echo '${'$as_ac_Header'}'`
9131{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9201 { echo "$as_me:$LINENO: result: $ac_res" >&5
9132echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9202echo "${ECHO_T}$ac_res" >&6; }
9133else 9203else
9134 # Is the header compilable? 9204 # Is the header compilable?
9135{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9205{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9136echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9206echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9137cat >conftest.$ac_ext <<_ACEOF 9207cat >conftest.$ac_ext <<_ACEOF
9138/* confdefs.h. */ 9208/* confdefs.h. */
9139_ACEOF 9209_ACEOF
9140cat confdefs.h >>conftest.$ac_ext 9210cat confdefs.h >>conftest.$ac_ext
9141cat >>conftest.$ac_ext <<_ACEOF 9211cat >>conftest.$ac_ext <<_ACEOF
9142/* end confdefs.h. */ 9212/* end confdefs.h. */
9143$ac_includes_default 9213$ac_includes_default
9144#include <utmpx.h> 9214#include <$ac_header>
9145_ACEOF 9215_ACEOF
9146rm -f conftest.$ac_objext 9216rm -f conftest.$ac_objext
9147if { (ac_try="$ac_compile" 9217if { (ac_try="$ac_compile"
9148case "(($ac_try" in 9218case "(($ac_try" in
9149 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9171rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9172{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9242{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9173echo "${ECHO_T}$ac_header_compiler" >&6; } 9243echo "${ECHO_T}$ac_header_compiler" >&6; }
9174 9244
9175# Is the header present? 9245# Is the header present?
9176{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9246{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9177echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9247echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9178cat >conftest.$ac_ext <<_ACEOF 9248cat >conftest.$ac_ext <<_ACEOF
9179/* confdefs.h. */ 9249/* confdefs.h. */
9180_ACEOF 9250_ACEOF
9181cat confdefs.h >>conftest.$ac_ext 9251cat confdefs.h >>conftest.$ac_ext
9182cat >>conftest.$ac_ext <<_ACEOF 9252cat >>conftest.$ac_ext <<_ACEOF
9183/* end confdefs.h. */ 9253/* end confdefs.h. */
9184#include <utmpx.h> 9254#include <$ac_header>
9185_ACEOF 9255_ACEOF
9186if { (ac_try="$ac_cpp conftest.$ac_ext" 9256if { (ac_try="$ac_cpp conftest.$ac_ext"
9187case "(($ac_try" in 9257case "(($ac_try" in
9188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9189 *) ac_try_echo=$ac_try;; 9259 *) ac_try_echo=$ac_try;;
9212echo "${ECHO_T}$ac_header_preproc" >&6; } 9282echo "${ECHO_T}$ac_header_preproc" >&6; }
9213 9283
9214# So? What about this header? 9284# So? What about this header?
9215case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9285case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9216 yes:no: ) 9286 yes:no: )
9217 { 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
9218echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 9288echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
9219 { 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
9220echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 9290echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
9221 ac_header_preproc=yes 9291 ac_header_preproc=yes
9222 ;; 9292 ;;
9223 no:yes:* ) 9293 no:yes:* )
9224 { 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
9225echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9226 { 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
9227echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9228 { 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
9229echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9230 { 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
9231echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 9301echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
9232 { 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
9233echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 9303echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
9234 { 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
9235echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 9305echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
9236 9306
9237 ;; 9307 ;;
9238esac 9308esac
9239{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9309{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9240echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9241if test "${ac_cv_header_utmpx_h+set}" = set; then 9311if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9242 echo $ECHO_N "(cached) $ECHO_C" >&6 9312 echo $ECHO_N "(cached) $ECHO_C" >&6
9243else 9313else
9244 ac_cv_header_utmpx_h=$ac_header_preproc 9314 eval "$as_ac_Header=\$ac_header_preproc"
9245fi 9315fi
9316ac_res=`eval echo '${'$as_ac_Header'}'`
9246{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9317 { echo "$as_me:$LINENO: result: $ac_res" >&5
9247echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9318echo "${ECHO_T}$ac_res" >&6; }
9248 9319
9249fi 9320fi
9250if test $ac_cv_header_utmpx_h = yes; then 9321if 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
9251 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9325 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
9252echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9326echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
9253if test "${struct_utmpx+set}" = set; then 9327if test "${struct_utmpx+set}" = set; then
9254 echo $ECHO_N "(cached) $ECHO_C" >&6 9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9255else 9329else
9256 cat >conftest.$ac_ext <<_ACEOF 9330 cat >conftest.$ac_ext <<_ACEOF
9423 9497
9424fi 9498fi
9425 9499
9426fi 9500fi
9427 9501
9502done
9428 9503
9429{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9504{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
9430echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9505echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
9431if test "${struct_lastlog+set}" = set; then 9506if test "${struct_lastlog+set}" = set; then
9432 echo $ECHO_N "(cached) $ECHO_C" >&6 9507 echo $ECHO_N "(cached) $ECHO_C" >&6
10167#define USE_XIM 1 10242#define USE_XIM 1
10168_ACEOF 10243_ACEOF
10169 10244
10170 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 10245 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
10171echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } 10246echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
10172if test "${rxvt_broken_ximcb+set}" = set; then 10247if test "${rxvt_cv_broken_ximcb+set}" = set; then
10173 echo $ECHO_N "(cached) $ECHO_C" >&6 10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10174else 10249else
10175 cat >conftest.$ac_ext <<_ACEOF 10250 cat >conftest.$ac_ext <<_ACEOF
10176 10251
10177 #include <X11/Xlib.h> 10252 #include <X11/Xlib.h>
10199 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10200 (exit $ac_status); } && { 10275 (exit $ac_status); } && {
10201 test -z "$ac_cxx_werror_flag" || 10276 test -z "$ac_cxx_werror_flag" ||
10202 test ! -s conftest.err 10277 test ! -s conftest.err
10203 } && test -s conftest.$ac_objext; then 10278 } && test -s conftest.$ac_objext; then
10204 rxvt_broken_ximcb=yes 10279 rxvt_cv_broken_ximcb=yes
10205else 10280else
10206 echo "$as_me: failed program was:" >&5 10281 echo "$as_me: failed program was:" >&5
10207sed 's/^/| /' conftest.$ac_ext >&5 10282sed 's/^/| /' conftest.$ac_ext >&5
10208 10283
10209 rxvt_broken_ximcb=no 10284 rxvt_cv_broken_ximcb=no
10210fi 10285fi
10211 10286
10212rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10213fi 10288fi
10214{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 10289{ echo "$as_me:$LINENO: result: $rxvt_cv_broken_ximcb" >&5
10215echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } 10290echo "${ECHO_T}$rxvt_cv_broken_ximcb" >&6; }
10216 10291
10217 if test x$rxvt_broken_ximcb = xyes; then 10292 if test x$rxvt_cv_broken_ximcb = xyes; then
10218 10293
10219cat >>confdefs.h <<\_ACEOF 10294cat >>confdefs.h <<\_ACEOF
10220#define XIMCB_PROTO_BROKEN 1 10295#define XIMCB_PROTO_BROKEN 1
10221_ACEOF 10296_ACEOF
10222 10297
10502 10577
10503 10578
10504 10579
10505 10580
10506 10581
10582
10507for ac_header in \ 10583for ac_header in \
10508 pty.h \ 10584 pty.h \
10509 util.h \ 10585 util.h \
10510 libutil.h \ 10586 libutil.h \
10511 sys/ioctl.h \ 10587 sys/ioctl.h \
10512 sys/stropts.h \ 10588 sys/stropts.h \
10589 stropts.h \
10513 10590
10514do 10591do
10515as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10516if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10593if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10517 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11540_ACEOF 11617_ACEOF
11541 11618
11542fi 11619fi
11543 11620
11544 11621
11622scrolltypes=plain
11623
11624cat >>confdefs.h <<\_ACEOF
11625#define PLAIN_SCROLLBAR 1
11626_ACEOF
11627
11628
11545if test x$support_scroll_rxvt = xyes; then 11629if test x$support_scroll_rxvt = xyes; then
11546 11630
11547cat >>confdefs.h <<\_ACEOF 11631cat >>confdefs.h <<\_ACEOF
11548#define RXVT_SCROLLBAR 1 11632#define RXVT_SCROLLBAR 1
11549_ACEOF 11633_ACEOF
11550 11634
11551 scrolltypes="rxvt" 11635 scrolltypes="$scrolltypes rxvt"
11552fi 11636fi
11553if test x$support_scroll_next = xyes; then 11637if test x$support_scroll_next = xyes; then
11554 11638
11555cat >>confdefs.h <<\_ACEOF 11639cat >>confdefs.h <<\_ACEOF
11556#define NEXT_SCROLLBAR 1 11640#define NEXT_SCROLLBAR 1
11563cat >>confdefs.h <<\_ACEOF 11647cat >>confdefs.h <<\_ACEOF
11564#define XTERM_SCROLLBAR 1 11648#define XTERM_SCROLLBAR 1
11565_ACEOF 11649_ACEOF
11566 11650
11567 scrolltypes="$scrolltypes xterm" 11651 scrolltypes="$scrolltypes xterm"
11568fi
11569if test x$support_scroll_plain = xyes; then
11570
11571cat >>confdefs.h <<\_ACEOF
11572#define PLAIN_SCROLLBAR 1
11573_ACEOF
11574
11575 scrolltypes="$scrolltypes plain"
11576fi 11652fi
11577if test x$support_pointer_blank = xyes; then 11653if test x$support_pointer_blank = xyes; then
11578 11654
11579cat >>confdefs.h <<\_ACEOF 11655cat >>confdefs.h <<\_ACEOF
11580#define POINTER_BLANK 1 11656#define POINTER_BLANK 1

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines