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

Comparing rxvt-unicode/configure (file contents):
Revision 1.123 by root, Sun Dec 23 02:43:54 2007 UTC vs.
Revision 1.131 by root, Tue Mar 16 00:54:46 2010 UTC

694PERLPRIVLIBEXP 694PERLPRIVLIBEXP
695IF_PERL 695IF_PERL
696PERL_O 696PERL_O
697AFTERIMAGE_CFLAGS 697AFTERIMAGE_CFLAGS
698AFTERIMAGE_LIBS 698AFTERIMAGE_LIBS
699include_stdint_h
700include_sys_ioctl_h
701include_sys_strredir_h
702LIBOBJS 699LIBOBJS
703LTLIBOBJS' 700LTLIBOBJS'
704ac_subst_files='' 701ac_subst_files=''
705 ac_precious_vars='build_alias 702 ac_precious_vars='build_alias
706host_alias 703host_alias
1296 1293
1297Optional Features: 1294Optional Features:
1298 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1295 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1299 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1296 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1300 --enable-everything enable standard non-multichoice features 1297 --enable-everything enable standard non-multichoice features
1301 NOTE: this option is order dependent 1298 NOTE: this option is order dependent
1299 --enable-assert enable assertions
1302 --enable-warnings turn on g++ warnings 1300 --enable-warnings turn on g++ warnings
1303 --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
1304 --enable-combining enable composition of base and combining characters 1302 --enable-combining enable composition of base and combining characters
1305 --enable-xft enable xft support on systems that have it 1303 --enable-xft enable xft support on systems that have it
1306 --enable-font-styles enable bold and italic support 1304 --enable-font-styles enable bold and italic support
1307 --enable-afterimage enable integration with libAfterImage for background images 1305 --enable-afterimage enable integration with libAfterImage for background images
1308 --enable-transparency enable transparent backgrounds 1306 --enable-transparency enable transparent backgrounds
1309 --enable-fading enable colors fading when off focus 1307 --enable-fading enable colors fading when off focus
1310 --enable-rxvt-scroll enable rxvt style scrollbar 1308 --enable-rxvt-scroll enable rxvt style scrollbar
1311 --enable-next-scroll enable NeXT style scrollbar 1309 --enable-next-scroll enable NeXT style scrollbar
1312 --enable-xterm-scroll enable Xterm style scrollbar 1310 --enable-xterm-scroll enable Xterm style scrollbar
1313 --enable-plain-scroll enable plain style scrollbar
1314 --enable-perl enable embedded perl interpreter 1311 --enable-perl enable embedded perl interpreter
1315 --enable-xim XIM (X Input Method) protocol support 1312 --enable-xim XIM (X Input Method) protocol support
1316 --disable-backspace-key disable handling of the backspace key 1313 --disable-backspace-key disable handling of the backspace key
1317 --disable-delete-key disable handling of the delete key 1314 --disable-delete-key disable handling of the delete key
1318 --disable-resources disable all resource checking 1315 --disable-resources disable all resource checking
1325 --enable-selectionscrolling enable scrolling during selections 1322 --enable-selectionscrolling enable scrolling during selections
1326 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5 1323 --enable-mousewheel enable scrolling via mouse wheel or buttons 4 & 5
1327 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel) 1324 --enable-slipwheeling enable slip wheel scrolling (requires --enable-mousewheel)
1328 --enable-smart-resize enable smart growth/shrink behaviour 1325 --enable-smart-resize enable smart growth/shrink behaviour
1329 --enable-text-blink enable blinking text 1326 --enable-text-blink enable blinking text
1330 --enable-pointer-blank enable pointer blank when typing or inactive pointer 1327 --enable-pointer-blank enable pointer blanking when typing or inactive
1331 --enable-utmp enable utmp (utmpx) support 1328 --enable-utmp enable utmp (utmpx) support
1332 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp) 1329 --enable-wtmp enable wtmp (wtmpx) support (requires --enable-utmp)
1333 --enable-lastlog enable lastlog support (requires --enable-utmp) 1330 --enable-lastlog enable lastlog support (requires --enable-utmp)
1334 1331
1335Optional Packages: 1332Optional Packages:
4369fi 4366fi
4370 4367
4371fi 4368fi
4372 4369
4373 4370
4374
4375support_frills=yes 4371support_frills=yes
4376support_inheritpixmap=yes 4372support_inheritpixmap=yes
4377support_fading=yes 4373support_fading=yes
4378support_keepscrolling=yes 4374support_keepscrolling=yes
4379support_selectionscrolling=yes 4375support_selectionscrolling=yes
4382support_text_blink=yes 4378support_text_blink=yes
4383support_pointer_blank=yes 4379support_pointer_blank=yes
4384support_scroll_rxvt=yes 4380support_scroll_rxvt=yes
4385support_scroll_next=yes 4381support_scroll_next=yes
4386support_scroll_xterm=yes 4382support_scroll_xterm=yes
4387support_scroll_plain=yes
4388support_xim=yes 4383support_xim=yes
4389support_afterimage=yes 4384support_afterimage=yes
4390support_afterstep=yes 4385support_afterstep=yes
4391support_xft=yes 4386support_xft=yes
4392support_unicode3=no 4387support_unicode3=no
4394support_8bitctrls=no 4389support_8bitctrls=no
4395support_iso14755=yes 4390support_iso14755=yes
4396support_styles=yes 4391support_styles=yes
4397support_perl=yes 4392support_perl=yes
4398codesets=all 4393codesets=all
4399
4400 4394
4401 4395
4402# Check whether --enable-everything was given. 4396# Check whether --enable-everything was given.
4403if test "${enable_everything+set}" = set; then 4397if test "${enable_everything+set}" = set; then
4404 enableval=$enable_everything; 4398 enableval=$enable_everything;
4414 support_text_blink=no 4408 support_text_blink=no
4415 support_pointer_blank=no 4409 support_pointer_blank=no
4416 support_scroll_rxvt=no 4410 support_scroll_rxvt=no
4417 support_scroll_next=no 4411 support_scroll_next=no
4418 support_scroll_xterm=no 4412 support_scroll_xterm=no
4419 support_scroll_plain=no
4420 support_utmp=no 4413 support_utmp=no
4421 support_wtmp=no 4414 support_wtmp=no
4422 support_xim=no 4415 support_xim=no
4423 support_afterimage=no 4416 support_afterimage=no
4424 support_afterstep=no 4417 support_afterstep=no
4443 support_text_blink=yes 4436 support_text_blink=yes
4444 support_pointer_blank=yes 4437 support_pointer_blank=yes
4445 support_scroll_rxvt=yes 4438 support_scroll_rxvt=yes
4446 support_scroll_next=yes 4439 support_scroll_next=yes
4447 support_scroll_xterm=yes 4440 support_scroll_xterm=yes
4448 support_scroll_plain=yes
4449 support_utmp=yes 4441 support_utmp=yes
4450 support_wtmp=yes 4442 support_wtmp=yes
4451 support_xim=yes 4443 support_xim=yes
4452 support_afterimage=yes 4444 support_afterimage=yes
4453 support_afterstep=yes 4445 support_afterstep=yes
4462 fi 4454 fi
4463 4455
4464fi 4456fi
4465 4457
4466 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
4467WARNINGS=no 4475WARNINGS=no
4468# Check whether --enable-warnings was given. 4476# Check whether --enable-warnings was given.
4469if test "${enable_warnings+set}" = set; then 4477if test "${enable_warnings+set}" = set; then
4470 enableval=$enable_warnings; if test x$enableval = xyes; then 4478 enableval=$enable_warnings; if test x$enableval = xyes; then
4471 WARNINGS=yes 4479 WARNINGS=yes
4606 4614
4607# Check whether --enable-xterm-scroll was given. 4615# Check whether --enable-xterm-scroll was given.
4608if test "${enable_xterm_scroll+set}" = set; then 4616if test "${enable_xterm_scroll+set}" = set; then
4609 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
4610 support_scroll_xterm=$enableval 4618 support_scroll_xterm=$enableval
4611 fi
4612fi
4613
4614
4615# Check whether --enable-plain-scroll was given.
4616if test "${enable_plain_scroll+set}" = set; then
4617 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4618 support_scroll_plain=$enableval
4619 fi 4619 fi
4620fi 4620fi
4621 4621
4622 4622
4623# Check whether --enable-perl was given. 4623# Check whether --enable-perl was given.
5340 5340
5341 5341
5342 5342
5343 5343
5344 5344
5345
5345for 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
5346do 5347do
5347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5348as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5348if { 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
5349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5350 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5351echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5486 5487
5487 5488
5488 5489
5489 5490
5490 5491
5492
5493
5491for 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
5492do 5495do
5493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5496as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5494{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5497{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5498echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5496if { 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
5665echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; } 5668echo "${ECHO_T}$ac_cv_func_clock_gettime" >&6; }
5666if test $ac_cv_func_clock_gettime = yes; then 5669if test $ac_cv_func_clock_gettime = yes; then
5667 : 5670 :
5668else 5671else
5669 5672
5670 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
5671 5731
5672{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5 5732{ echo "$as_me:$LINENO: checking for clock_gettime in -lrt" >&5
5673echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; } 5733echo $ECHO_N "checking for clock_gettime in -lrt... $ECHO_C" >&6; }
5674if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then 5734if test "${ac_cv_lib_rt_clock_gettime+set}" = set; then
5675 echo $ECHO_N "(cached) $ECHO_C" >&6 5735 echo $ECHO_N "(cached) $ECHO_C" >&6
6164_ACEOF 6224_ACEOF
6165 6225
6166 LIBS="-lm $LIBS" 6226 LIBS="-lm $LIBS"
6167 6227
6168fi 6228fi
6169
6170
6171 6229
6172 6230
6173 6231
6174 6232
6175 6233
7761fi 7819fi
7762 7820
7763done 7821done
7764 7822
7765 7823
7766{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7767echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7768if test "${rxvt_cv_header_sysioctl+set}" = set; then
7769 echo $ECHO_N "(cached) $ECHO_C" >&6
7770else
7771 cat >conftest.$ac_ext <<_ACEOF
7772/* confdefs.h. */
7773_ACEOF
7774cat confdefs.h >>conftest.$ac_ext
7775cat >>conftest.$ac_ext <<_ACEOF
7776/* end confdefs.h. */
7777#include <stdio.h>
7778#include <sys/ioctl.h>
7779#include <termios.h>
7780
7781int
7782main ()
7783{
7784int a = ECHO;
7785 ;
7786 return 0;
7787}
7788_ACEOF
7789rm -f conftest.$ac_objext
7790if { (ac_try="$ac_compile"
7791case "(($ac_try" in
7792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7793 *) ac_try_echo=$ac_try;;
7794esac
7795eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7796 (eval "$ac_compile") 2>conftest.er1
7797 ac_status=$?
7798 grep -v '^ *+' conftest.er1 >conftest.err
7799 rm -f conftest.er1
7800 cat conftest.err >&5
7801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7802 (exit $ac_status); } && {
7803 test -z "$ac_cxx_werror_flag" ||
7804 test ! -s conftest.err
7805 } && test -s conftest.$ac_objext; then
7806 rxvt_cv_header_sysioctl=yes
7807else
7808 echo "$as_me: failed program was:" >&5
7809sed 's/^/| /' conftest.$ac_ext >&5
7810
7811 rxvt_cv_header_sysioctl=no
7812fi
7813
7814rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7815fi
7816{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7817echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7818
7819{ echo "$as_me:$LINENO: checking for XPointer" >&5 7824{ echo "$as_me:$LINENO: checking for XPointer" >&5
7820echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7825echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7821if test "${rxvt_cv_xpointer+set}" = set; then 7826if test "${rxvt_cv_xpointer+set}" = set; then
7822 echo $ECHO_N "(cached) $ECHO_C" >&6 7827 echo $ECHO_N "(cached) $ECHO_C" >&6
7823else 7828else
7873 7878
7874fi 7879fi
7875 7880
7876{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5 7881{ echo "$as_me:$LINENO: checking for XLIB_ILLEGAL_ACCESS" >&5
7877echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; } 7882echo $ECHO_N "checking for XLIB_ILLEGAL_ACCESS... $ECHO_C" >&6; }
7878if test "${rxvt_xlib_illegal_access+set}" = set; then 7883if test "${rxvt_cv_xlib_illegal_access+set}" = set; then
7879 echo $ECHO_N "(cached) $ECHO_C" >&6 7884 echo $ECHO_N "(cached) $ECHO_C" >&6
7880else 7885else
7881 cat >conftest.$ac_ext <<_ACEOF 7886 cat >conftest.$ac_ext <<_ACEOF
7882/* confdefs.h. */ 7887/* confdefs.h. */
7883_ACEOF 7888_ACEOF
7914 echo "$as_me:$LINENO: \$? = $ac_status" >&5 7919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7915 (exit $ac_status); } && { 7920 (exit $ac_status); } && {
7916 test -z "$ac_cxx_werror_flag" || 7921 test -z "$ac_cxx_werror_flag" ||
7917 test ! -s conftest.err 7922 test ! -s conftest.err
7918 } && test -s conftest.$ac_objext; then 7923 } && test -s conftest.$ac_objext; then
7919 rxvt_xlib_illegal_access=yes 7924 rxvt_cv_xlib_illegal_access=yes
7920else 7925else
7921 echo "$as_me: failed program was:" >&5 7926 echo "$as_me: failed program was:" >&5
7922sed 's/^/| /' conftest.$ac_ext >&5 7927sed 's/^/| /' conftest.$ac_ext >&5
7923 7928
7924 rxvt_xlib_illegal_access=no 7929 rxvt_cv_xlib_illegal_access=no
7925 7930
7926fi 7931fi
7927 7932
7928rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 7933rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7929fi 7934fi
7930{ echo "$as_me:$LINENO: result: $rxvt_xlib_illegal_access" >&5 7935{ echo "$as_me:$LINENO: result: $rxvt_cv_xlib_illegal_access" >&5
7931echo "${ECHO_T}$rxvt_xlib_illegal_access" >&6; } 7936echo "${ECHO_T}$rxvt_cv_xlib_illegal_access" >&6; }
7932if test x$rxvt_xlib_illegal_access = xyes; then 7937if test x$rxvt_cv_xlib_illegal_access = xyes; then
7933 7938
7934cat >>confdefs.h <<\_ACEOF 7939cat >>confdefs.h <<\_ACEOF
7935#define XLIB_ILLEGAL_ACCESS 1 7940#define XLIB_ILLEGAL_ACCESS 1
7936_ACEOF 7941_ACEOF
7937 7942
8724fi 8729fi
8725done 8730done
8726 8731
8727 8732
8728 8733
8729
8730
8731for ac_header in \ 8734for ac_header in lastlog.h
8732 utmp.h \
8733 utmpx.h \
8734 lastlog.h \
8735
8736do 8735do
8737as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8736as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8738if { 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
8739 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8738 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8740echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8739echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8871 8870
8872done 8871done
8873 8872
8874 8873
8875 8874
8876if 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
8877 { echo "$as_me:$LINENO: checking for utmp.h" >&5 8880 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8878echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8881echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8879if test "${ac_cv_header_utmp_h+set}" = set; then 8882if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8880 echo $ECHO_N "(cached) $ECHO_C" >&6 8883 echo $ECHO_N "(cached) $ECHO_C" >&6
8881fi 8884fi
8885ac_res=`eval echo '${'$as_ac_Header'}'`
8882{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 8886 { echo "$as_me:$LINENO: result: $ac_res" >&5
8883echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 8887echo "${ECHO_T}$ac_res" >&6; }
8884else 8888else
8885 # Is the header compilable? 8889 # Is the header compilable?
8886{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 8890{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
8887echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 8891echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
8888cat >conftest.$ac_ext <<_ACEOF 8892cat >conftest.$ac_ext <<_ACEOF
8889/* confdefs.h. */ 8893/* confdefs.h. */
8890_ACEOF 8894_ACEOF
8891cat confdefs.h >>conftest.$ac_ext 8895cat confdefs.h >>conftest.$ac_ext
8892cat >>conftest.$ac_ext <<_ACEOF 8896cat >>conftest.$ac_ext <<_ACEOF
8893/* end confdefs.h. */ 8897/* end confdefs.h. */
8894$ac_includes_default 8898$ac_includes_default
8895#include <utmp.h> 8899#include <$ac_header>
8896_ACEOF 8900_ACEOF
8897rm -f conftest.$ac_objext 8901rm -f conftest.$ac_objext
8898if { (ac_try="$ac_compile" 8902if { (ac_try="$ac_compile"
8899case "(($ac_try" in 8903case "(($ac_try" in
8900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8922rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8926rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8923{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8927{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8924echo "${ECHO_T}$ac_header_compiler" >&6; } 8928echo "${ECHO_T}$ac_header_compiler" >&6; }
8925 8929
8926# Is the header present? 8930# Is the header present?
8927{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 8931{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
8928echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 8932echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
8929cat >conftest.$ac_ext <<_ACEOF 8933cat >conftest.$ac_ext <<_ACEOF
8930/* confdefs.h. */ 8934/* confdefs.h. */
8931_ACEOF 8935_ACEOF
8932cat confdefs.h >>conftest.$ac_ext 8936cat confdefs.h >>conftest.$ac_ext
8933cat >>conftest.$ac_ext <<_ACEOF 8937cat >>conftest.$ac_ext <<_ACEOF
8934/* end confdefs.h. */ 8938/* end confdefs.h. */
8935#include <utmp.h> 8939#include <$ac_header>
8936_ACEOF 8940_ACEOF
8937if { (ac_try="$ac_cpp conftest.$ac_ext" 8941if { (ac_try="$ac_cpp conftest.$ac_ext"
8938case "(($ac_try" in 8942case "(($ac_try" in
8939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8940 *) ac_try_echo=$ac_try;; 8944 *) ac_try_echo=$ac_try;;
8963echo "${ECHO_T}$ac_header_preproc" >&6; } 8967echo "${ECHO_T}$ac_header_preproc" >&6; }
8964 8968
8965# So? What about this header? 8969# So? What about this header?
8966case $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
8967 yes:no: ) 8971 yes:no: )
8968 { 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
8969echo "$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;}
8970 { 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
8971echo "$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;}
8972 ac_header_preproc=yes 8976 ac_header_preproc=yes
8973 ;; 8977 ;;
8974 no:yes:* ) 8978 no:yes:* )
8975 { 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
8976echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 8980echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
8977 { 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
8978echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 8982echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
8979 { 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
8980echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 8984echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
8981 { 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
8982echo "$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;}
8983 { 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
8984echo "$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;}
8985 { 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
8986echo "$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;}
8987 8991
8988 ;; 8992 ;;
8989esac 8993esac
8990{ echo "$as_me:$LINENO: checking for utmp.h" >&5 8994{ echo "$as_me:$LINENO: checking for $ac_header" >&5
8991echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 8995echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8992if test "${ac_cv_header_utmp_h+set}" = set; then 8996if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8993 echo $ECHO_N "(cached) $ECHO_C" >&6 8997 echo $ECHO_N "(cached) $ECHO_C" >&6
8994else 8998else
8995 ac_cv_header_utmp_h=$ac_header_preproc 8999 eval "$as_ac_Header=\$ac_header_preproc"
8996fi 9000fi
9001ac_res=`eval echo '${'$as_ac_Header'}'`
8997{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 9002 { echo "$as_me:$LINENO: result: $ac_res" >&5
8998echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 9003echo "${ECHO_T}$ac_res" >&6; }
8999 9004
9000fi 9005fi
9001if 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
9002 { echo "$as_me:$LINENO: checking for struct utmp" >&5 9010 { echo "$as_me:$LINENO: checking for struct utmp" >&5
9003echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 9011echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
9004if test "${struct_utmp+set}" = set; then 9012if test "${struct_utmp+set}" = set; then
9005 echo $ECHO_N "(cached) $ECHO_C" >&6 9013 echo $ECHO_N "(cached) $ECHO_C" >&6
9006else 9014else
9007 cat >conftest.$ac_ext <<_ACEOF 9015 cat >conftest.$ac_ext <<_ACEOF
9174 9182
9175fi 9183fi
9176 9184
9177fi 9185fi
9178 9186
9187done
9179 9188
9180 9189
9181if 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
9182 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 9195 { echo "$as_me:$LINENO: checking for $ac_header" >&5
9183echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9196echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9184if test "${ac_cv_header_utmpx_h+set}" = set; then 9197if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9185 echo $ECHO_N "(cached) $ECHO_C" >&6 9198 echo $ECHO_N "(cached) $ECHO_C" >&6
9186fi 9199fi
9200ac_res=`eval echo '${'$as_ac_Header'}'`
9187{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9201 { echo "$as_me:$LINENO: result: $ac_res" >&5
9188echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9202echo "${ECHO_T}$ac_res" >&6; }
9189else 9203else
9190 # Is the header compilable? 9204 # Is the header compilable?
9191{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 9205{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
9192echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 9206echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
9193cat >conftest.$ac_ext <<_ACEOF 9207cat >conftest.$ac_ext <<_ACEOF
9194/* confdefs.h. */ 9208/* confdefs.h. */
9195_ACEOF 9209_ACEOF
9196cat confdefs.h >>conftest.$ac_ext 9210cat confdefs.h >>conftest.$ac_ext
9197cat >>conftest.$ac_ext <<_ACEOF 9211cat >>conftest.$ac_ext <<_ACEOF
9198/* end confdefs.h. */ 9212/* end confdefs.h. */
9199$ac_includes_default 9213$ac_includes_default
9200#include <utmpx.h> 9214#include <$ac_header>
9201_ACEOF 9215_ACEOF
9202rm -f conftest.$ac_objext 9216rm -f conftest.$ac_objext
9203if { (ac_try="$ac_compile" 9217if { (ac_try="$ac_compile"
9204case "(($ac_try" in 9218case "(($ac_try" in
9205 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9227rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9241rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9228{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9242{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
9229echo "${ECHO_T}$ac_header_compiler" >&6; } 9243echo "${ECHO_T}$ac_header_compiler" >&6; }
9230 9244
9231# Is the header present? 9245# Is the header present?
9232{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 9246{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
9233echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 9247echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
9234cat >conftest.$ac_ext <<_ACEOF 9248cat >conftest.$ac_ext <<_ACEOF
9235/* confdefs.h. */ 9249/* confdefs.h. */
9236_ACEOF 9250_ACEOF
9237cat confdefs.h >>conftest.$ac_ext 9251cat confdefs.h >>conftest.$ac_ext
9238cat >>conftest.$ac_ext <<_ACEOF 9252cat >>conftest.$ac_ext <<_ACEOF
9239/* end confdefs.h. */ 9253/* end confdefs.h. */
9240#include <utmpx.h> 9254#include <$ac_header>
9241_ACEOF 9255_ACEOF
9242if { (ac_try="$ac_cpp conftest.$ac_ext" 9256if { (ac_try="$ac_cpp conftest.$ac_ext"
9243case "(($ac_try" in 9257case "(($ac_try" in
9244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9245 *) ac_try_echo=$ac_try;; 9259 *) ac_try_echo=$ac_try;;
9268echo "${ECHO_T}$ac_header_preproc" >&6; } 9282echo "${ECHO_T}$ac_header_preproc" >&6; }
9269 9283
9270# So? What about this header? 9284# So? What about this header?
9271case $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
9272 yes:no: ) 9286 yes:no: )
9273 { 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
9274echo "$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;}
9275 { 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
9276echo "$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;}
9277 ac_header_preproc=yes 9291 ac_header_preproc=yes
9278 ;; 9292 ;;
9279 no:yes:* ) 9293 no:yes:* )
9280 { 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
9281echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 9295echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
9282 { 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
9283echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 9297echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
9284 { 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
9285echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 9299echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
9286 { 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
9287echo "$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;}
9288 { 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
9289echo "$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;}
9290 { 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
9291echo "$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;}
9292 9306
9293 ;; 9307 ;;
9294esac 9308esac
9295{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 9309{ echo "$as_me:$LINENO: checking for $ac_header" >&5
9296echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 9310echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
9297if test "${ac_cv_header_utmpx_h+set}" = set; then 9311if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
9298 echo $ECHO_N "(cached) $ECHO_C" >&6 9312 echo $ECHO_N "(cached) $ECHO_C" >&6
9299else 9313else
9300 ac_cv_header_utmpx_h=$ac_header_preproc 9314 eval "$as_ac_Header=\$ac_header_preproc"
9301fi 9315fi
9316ac_res=`eval echo '${'$as_ac_Header'}'`
9302{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 9317 { echo "$as_me:$LINENO: result: $ac_res" >&5
9303echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 9318echo "${ECHO_T}$ac_res" >&6; }
9304 9319
9305fi 9320fi
9306if 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
9307 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9325 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
9308echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9326echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
9309if test "${struct_utmpx+set}" = set; then 9327if test "${struct_utmpx+set}" = set; then
9310 echo $ECHO_N "(cached) $ECHO_C" >&6 9328 echo $ECHO_N "(cached) $ECHO_C" >&6
9311else 9329else
9312 cat >conftest.$ac_ext <<_ACEOF 9330 cat >conftest.$ac_ext <<_ACEOF
9479 9497
9480fi 9498fi
9481 9499
9482fi 9500fi
9483 9501
9502done
9484 9503
9485{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9504{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
9486echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9505echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
9487if test "${struct_lastlog+set}" = set; then 9506if test "${struct_lastlog+set}" = set; then
9488 echo $ECHO_N "(cached) $ECHO_C" >&6 9507 echo $ECHO_N "(cached) $ECHO_C" >&6
10223#define USE_XIM 1 10242#define USE_XIM 1
10224_ACEOF 10243_ACEOF
10225 10244
10226 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5 10245 { echo "$as_me:$LINENO: checking for broken XIM callback" >&5
10227echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; } 10246echo $ECHO_N "checking for broken XIM callback... $ECHO_C" >&6; }
10228if test "${rxvt_broken_ximcb+set}" = set; then 10247if test "${rxvt_cv_broken_ximcb+set}" = set; then
10229 echo $ECHO_N "(cached) $ECHO_C" >&6 10248 echo $ECHO_N "(cached) $ECHO_C" >&6
10230else 10249else
10231 cat >conftest.$ac_ext <<_ACEOF 10250 cat >conftest.$ac_ext <<_ACEOF
10232 10251
10233 #include <X11/Xlib.h> 10252 #include <X11/Xlib.h>
10255 echo "$as_me:$LINENO: \$? = $ac_status" >&5 10274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10256 (exit $ac_status); } && { 10275 (exit $ac_status); } && {
10257 test -z "$ac_cxx_werror_flag" || 10276 test -z "$ac_cxx_werror_flag" ||
10258 test ! -s conftest.err 10277 test ! -s conftest.err
10259 } && test -s conftest.$ac_objext; then 10278 } && test -s conftest.$ac_objext; then
10260 rxvt_broken_ximcb=yes 10279 rxvt_cv_broken_ximcb=yes
10261else 10280else
10262 echo "$as_me: failed program was:" >&5 10281 echo "$as_me: failed program was:" >&5
10263sed 's/^/| /' conftest.$ac_ext >&5 10282sed 's/^/| /' conftest.$ac_ext >&5
10264 10283
10265 rxvt_broken_ximcb=no 10284 rxvt_cv_broken_ximcb=no
10266fi 10285fi
10267 10286
10268rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10287rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10269fi 10288fi
10270{ echo "$as_me:$LINENO: result: $rxvt_broken_ximcb" >&5 10289{ echo "$as_me:$LINENO: result: $rxvt_cv_broken_ximcb" >&5
10271echo "${ECHO_T}$rxvt_broken_ximcb" >&6; } 10290echo "${ECHO_T}$rxvt_cv_broken_ximcb" >&6; }
10272 10291
10273 if test x$rxvt_broken_ximcb = xyes; then 10292 if test x$rxvt_cv_broken_ximcb = xyes; then
10274 10293
10275cat >>confdefs.h <<\_ACEOF 10294cat >>confdefs.h <<\_ACEOF
10276#define XIMCB_PROTO_BROKEN 1 10295#define XIMCB_PROTO_BROKEN 1
10277_ACEOF 10296_ACEOF
10278 10297
10558 10577
10559 10578
10560 10579
10561 10580
10562 10581
10582
10563for ac_header in \ 10583for ac_header in \
10564 pty.h \ 10584 pty.h \
10565 util.h \ 10585 util.h \
10566 libutil.h \ 10586 libutil.h \
10567 sys/ioctl.h \ 10587 sys/ioctl.h \
10568 sys/stropts.h \ 10588 sys/stropts.h \
10589 stropts.h \
10569 10590
10570do 10591do
10571as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10592as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10572if { 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
10573 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10594 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11596_ACEOF 11617_ACEOF
11597 11618
11598fi 11619fi
11599 11620
11600 11621
11622scrolltypes=plain
11623
11624cat >>confdefs.h <<\_ACEOF
11625#define PLAIN_SCROLLBAR 1
11626_ACEOF
11627
11628
11601if test x$support_scroll_rxvt = xyes; then 11629if test x$support_scroll_rxvt = xyes; then
11602 11630
11603cat >>confdefs.h <<\_ACEOF 11631cat >>confdefs.h <<\_ACEOF
11604#define RXVT_SCROLLBAR 1 11632#define RXVT_SCROLLBAR 1
11605_ACEOF 11633_ACEOF
11606 11634
11607 scrolltypes="rxvt" 11635 scrolltypes="$scrolltypes rxvt"
11608fi 11636fi
11609if test x$support_scroll_next = xyes; then 11637if test x$support_scroll_next = xyes; then
11610 11638
11611cat >>confdefs.h <<\_ACEOF 11639cat >>confdefs.h <<\_ACEOF
11612#define NEXT_SCROLLBAR 1 11640#define NEXT_SCROLLBAR 1
11619cat >>confdefs.h <<\_ACEOF 11647cat >>confdefs.h <<\_ACEOF
11620#define XTERM_SCROLLBAR 1 11648#define XTERM_SCROLLBAR 1
11621_ACEOF 11649_ACEOF
11622 11650
11623 scrolltypes="$scrolltypes xterm" 11651 scrolltypes="$scrolltypes xterm"
11624fi
11625if test x$support_scroll_plain = xyes; then
11626
11627cat >>confdefs.h <<\_ACEOF
11628#define PLAIN_SCROLLBAR 1
11629_ACEOF
11630
11631 scrolltypes="$scrolltypes plain"
11632fi 11652fi
11633if test x$support_pointer_blank = xyes; then 11653if test x$support_pointer_blank = xyes; then
11634 11654
11635cat >>confdefs.h <<\_ACEOF 11655cat >>confdefs.h <<\_ACEOF
11636#define POINTER_BLANK 1 11656#define POINTER_BLANK 1
11899_ACEOF 11919_ACEOF
11900program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11920program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11901rm -f conftest.sed 11921rm -f conftest.sed
11902 11922
11903 11923
11904
11905
11906
11907if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
11908 include_stdint_h="#include <stdint.h>"
11909else
11910 include_stdint_h="/* #include <stdint.h> */"
11911fi
11912if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
11913 include_sys_ioctl_h="#include <sys/ioctl.h>"
11914else
11915 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
11916fi
11917if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
11918 include_sys_strredir_h="#include <sys/strredir.h>"
11919else
11920 include_sys_strredir_h="/* #include <sys/strredir.h> */"
11921fi
11922
11923ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11924ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
11924 11925
11925cat >confcache <<\_ACEOF 11926cat >confcache <<\_ACEOF
11926# This file is a shell script that caches the results of configure 11927# This file is a shell script that caches the results of configure
11927# tests run on this system so they can be shared between configure 11928# tests run on this system so they can be shared between configure
11928# scripts and configure runs, see configure's option --config-cache. 11929# scripts and configure runs, see configure's option --config-cache.
12477 case $ac_config_target in 12478 case $ac_config_target in
12478 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12479 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12479 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12480 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12480 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12481 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12481 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12482 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12482 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12483 12483
12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12484 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12485echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12486 { (exit 1); exit 1; }; };; 12486 { (exit 1); exit 1; }; };;
12487 esac 12487 esac
12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12622PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
12623IF_PERL!$IF_PERL$ac_delim 12623IF_PERL!$IF_PERL$ac_delim
12624PERL_O!$PERL_O$ac_delim 12624PERL_O!$PERL_O$ac_delim
12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12625AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12626AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
12627include_stdint_h!$include_stdint_h$ac_delim
12628include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
12629include_sys_strredir_h!$include_sys_strredir_h$ac_delim
12630LIBOBJS!$LIBOBJS$ac_delim 12627LIBOBJS!$LIBOBJS$ac_delim
12631LTLIBOBJS!$LTLIBOBJS$ac_delim 12628LTLIBOBJS!$LTLIBOBJS$ac_delim
12632_ACEOF 12629_ACEOF
12633 12630
12634 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12631 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
12635 break 12632 break
12636 elif $ac_last_try; then 12633 elif $ac_last_try; then
12637 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12634 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12638echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12635echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12639 { (exit 1); exit 1; }; } 12636 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines