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

Comparing rxvt-unicode/configure (file contents):
Revision 1.122 by ayin, Tue Dec 11 18:32:08 2007 UTC vs.
Revision 1.127 by root, Mon May 5 16:51:52 2008 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
1302 --enable-warnings turn on g++ warnings 1299 --enable-warnings turn on g++ warnings
1303 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1300 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1304 --enable-combining enable composition of base and combining characters 1301 --enable-combining enable composition of base and combining characters
1305 --enable-xft enable xft support on systems that have it 1302 --enable-xft enable xft support on systems that have it
1306 --enable-font-styles enable bold and italic support 1303 --enable-font-styles enable bold and italic support
1307 --enable-afterimage enable integration with libAfterImage for background images 1304 --enable-afterimage enable integration with libAfterImage for background images
1308 --enable-transparency enable transparent backgrounds 1305 --enable-transparency enable transparent backgrounds
1309 --enable-fading enable colors fading when off focus 1306 --enable-fading enable colors fading when off focus
1310 --enable-rxvt-scroll enable rxvt style scrollbar 1307 --enable-rxvt-scroll enable rxvt style scrollbar
1311 --enable-next-scroll enable NeXT style scrollbar 1308 --enable-next-scroll enable NeXT style scrollbar
1312 --enable-xterm-scroll enable Xterm style scrollbar 1309 --enable-xterm-scroll enable Xterm style scrollbar
1313 --enable-plain-scroll enable plain style scrollbar
1314 --enable-perl enable embedded perl interpreter 1310 --enable-perl enable embedded perl interpreter
1315 --enable-xim XIM (X Input Method) protocol support 1311 --enable-xim XIM (X Input Method) protocol support
1316 --disable-backspace-key disable handling of the backspace key 1312 --disable-backspace-key disable handling of the backspace key
1317 --disable-delete-key disable handling of the delete key 1313 --disable-delete-key disable handling of the delete key
1318 --disable-resources disable all resource checking 1314 --disable-resources disable all resource checking
4369fi 4365fi
4370 4366
4371fi 4367fi
4372 4368
4373 4369
4374
4375support_frills=yes 4370support_frills=yes
4376support_inheritpixmap=yes 4371support_inheritpixmap=yes
4377support_fading=yes 4372support_fading=yes
4378support_keepscrolling=yes 4373support_keepscrolling=yes
4379support_selectionscrolling=yes 4374support_selectionscrolling=yes
4382support_text_blink=yes 4377support_text_blink=yes
4383support_pointer_blank=yes 4378support_pointer_blank=yes
4384support_scroll_rxvt=yes 4379support_scroll_rxvt=yes
4385support_scroll_next=yes 4380support_scroll_next=yes
4386support_scroll_xterm=yes 4381support_scroll_xterm=yes
4387support_scroll_plain=yes
4388support_xim=yes 4382support_xim=yes
4389support_afterimage=yes 4383support_afterimage=yes
4390support_afterstep=yes 4384support_afterstep=yes
4391support_xft=yes 4385support_xft=yes
4392support_unicode3=no 4386support_unicode3=no
4394support_8bitctrls=no 4388support_8bitctrls=no
4395support_iso14755=yes 4389support_iso14755=yes
4396support_styles=yes 4390support_styles=yes
4397support_perl=yes 4391support_perl=yes
4398codesets=all 4392codesets=all
4399
4400 4393
4401 4394
4402# Check whether --enable-everything was given. 4395# Check whether --enable-everything was given.
4403if test "${enable_everything+set}" = set; then 4396if test "${enable_everything+set}" = set; then
4404 enableval=$enable_everything; 4397 enableval=$enable_everything;
4414 support_text_blink=no 4407 support_text_blink=no
4415 support_pointer_blank=no 4408 support_pointer_blank=no
4416 support_scroll_rxvt=no 4409 support_scroll_rxvt=no
4417 support_scroll_next=no 4410 support_scroll_next=no
4418 support_scroll_xterm=no 4411 support_scroll_xterm=no
4419 support_scroll_plain=no
4420 support_utmp=no 4412 support_utmp=no
4421 support_wtmp=no 4413 support_wtmp=no
4422 support_xim=no 4414 support_xim=no
4423 support_afterimage=no 4415 support_afterimage=no
4424 support_afterstep=no 4416 support_afterstep=no
4443 support_text_blink=yes 4435 support_text_blink=yes
4444 support_pointer_blank=yes 4436 support_pointer_blank=yes
4445 support_scroll_rxvt=yes 4437 support_scroll_rxvt=yes
4446 support_scroll_next=yes 4438 support_scroll_next=yes
4447 support_scroll_xterm=yes 4439 support_scroll_xterm=yes
4448 support_scroll_plain=yes
4449 support_utmp=yes 4440 support_utmp=yes
4450 support_wtmp=yes 4441 support_wtmp=yes
4451 support_xim=yes 4442 support_xim=yes
4452 support_afterimage=yes 4443 support_afterimage=yes
4453 support_afterstep=yes 4444 support_afterstep=yes
4606 4597
4607# Check whether --enable-xterm-scroll was given. 4598# Check whether --enable-xterm-scroll was given.
4608if test "${enable_xterm_scroll+set}" = set; then 4599if test "${enable_xterm_scroll+set}" = set; then
4609 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
4610 support_scroll_xterm=$enableval 4601 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 4602 fi
4620fi 4603fi
4621 4604
4622 4605
4623# Check whether --enable-perl was given. 4606# Check whether --enable-perl was given.
5340 5323
5341 5324
5342 5325
5343 5326
5344 5327
5328
5345for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5329for 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
5346do 5330do
5347as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5331as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5348if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5332if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5349 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5333 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5350echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5334echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5486 5470
5487 5471
5488 5472
5489 5473
5490 5474
5475
5491for ac_func in inotify_init epoll_ctl kqueue port_create poll select 5476for ac_func in inotify_init epoll_ctl kqueue port_create poll select eventfd
5492do 5477do
5493as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5478as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5494{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5479{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5495echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5480echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5496if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5481if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5740fi 5725fi
5741 5726
5742 unset ac_cv_func_clock_gettime 5727 unset ac_cv_func_clock_gettime
5743 5728
5744for ac_func in clock_gettime 5729for ac_func in clock_gettime
5730do
5731as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5732{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5733echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5734if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5735 echo $ECHO_N "(cached) $ECHO_C" >&6
5736else
5737 cat >conftest.$ac_ext <<_ACEOF
5738/* confdefs.h. */
5739_ACEOF
5740cat confdefs.h >>conftest.$ac_ext
5741cat >>conftest.$ac_ext <<_ACEOF
5742/* end confdefs.h. */
5743/* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
5744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5745#define $ac_func innocuous_$ac_func
5746
5747/* System header to define __stub macros and hopefully few prototypes,
5748 which can conflict with char $ac_func (); below.
5749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5750 <limits.h> exists even on freestanding compilers. */
5751
5752#ifdef __STDC__
5753# include <limits.h>
5754#else
5755# include <assert.h>
5756#endif
5757
5758#undef $ac_func
5759
5760/* Override any GCC internal prototype to avoid an error.
5761 Use char because int might match the return type of a GCC
5762 builtin and then its argument prototype would still apply. */
5763#ifdef __cplusplus
5764extern "C"
5765#endif
5766char $ac_func ();
5767/* The GNU C library defines this for functions which it implements
5768 to always fail with ENOSYS. Some functions are actually named
5769 something starting with __ and the normal name is an alias. */
5770#if defined __stub_$ac_func || defined __stub___$ac_func
5771choke me
5772#endif
5773
5774int
5775main ()
5776{
5777return $ac_func ();
5778 ;
5779 return 0;
5780}
5781_ACEOF
5782rm -f conftest.$ac_objext conftest$ac_exeext
5783if { (ac_try="$ac_link"
5784case "(($ac_try" in
5785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5786 *) ac_try_echo=$ac_try;;
5787esac
5788eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5789 (eval "$ac_link") 2>conftest.er1
5790 ac_status=$?
5791 grep -v '^ *+' conftest.er1 >conftest.err
5792 rm -f conftest.er1
5793 cat conftest.err >&5
5794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5795 (exit $ac_status); } && {
5796 test -z "$ac_cxx_werror_flag" ||
5797 test ! -s conftest.err
5798 } && test -s conftest$ac_exeext &&
5799 $as_test_x conftest$ac_exeext; then
5800 eval "$as_ac_var=yes"
5801else
5802 echo "$as_me: failed program was:" >&5
5803sed 's/^/| /' conftest.$ac_ext >&5
5804
5805 eval "$as_ac_var=no"
5806fi
5807
5808rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5809 conftest$ac_exeext conftest.$ac_ext
5810fi
5811ac_res=`eval echo '${'$as_ac_var'}'`
5812 { echo "$as_me:$LINENO: result: $ac_res" >&5
5813echo "${ECHO_T}$ac_res" >&6; }
5814if test `eval echo '${'$as_ac_var'}'` = yes; then
5815 cat >>confdefs.h <<_ACEOF
5816#define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
5817_ACEOF
5818
5819fi
5820done
5821
5822 fi
5823
5824fi
5825
5826
5827{ echo "$as_me:$LINENO: checking for nanosleep" >&5
5828echo $ECHO_N "checking for nanosleep... $ECHO_C" >&6; }
5829if test "${ac_cv_func_nanosleep+set}" = set; then
5830 echo $ECHO_N "(cached) $ECHO_C" >&6
5831else
5832 cat >conftest.$ac_ext <<_ACEOF
5833/* confdefs.h. */
5834_ACEOF
5835cat confdefs.h >>conftest.$ac_ext
5836cat >>conftest.$ac_ext <<_ACEOF
5837/* end confdefs.h. */
5838/* Define nanosleep to an innocuous variant, in case <limits.h> declares nanosleep.
5839 For example, HP-UX 11i <limits.h> declares gettimeofday. */
5840#define nanosleep innocuous_nanosleep
5841
5842/* System header to define __stub macros and hopefully few prototypes,
5843 which can conflict with char nanosleep (); below.
5844 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
5845 <limits.h> exists even on freestanding compilers. */
5846
5847#ifdef __STDC__
5848# include <limits.h>
5849#else
5850# include <assert.h>
5851#endif
5852
5853#undef nanosleep
5854
5855/* Override any GCC internal prototype to avoid an error.
5856 Use char because int might match the return type of a GCC
5857 builtin and then its argument prototype would still apply. */
5858#ifdef __cplusplus
5859extern "C"
5860#endif
5861char nanosleep ();
5862/* The GNU C library defines this for functions which it implements
5863 to always fail with ENOSYS. Some functions are actually named
5864 something starting with __ and the normal name is an alias. */
5865#if defined __stub_nanosleep || defined __stub___nanosleep
5866choke me
5867#endif
5868
5869int
5870main ()
5871{
5872return nanosleep ();
5873 ;
5874 return 0;
5875}
5876_ACEOF
5877rm -f conftest.$ac_objext conftest$ac_exeext
5878if { (ac_try="$ac_link"
5879case "(($ac_try" in
5880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5881 *) ac_try_echo=$ac_try;;
5882esac
5883eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5884 (eval "$ac_link") 2>conftest.er1
5885 ac_status=$?
5886 grep -v '^ *+' conftest.er1 >conftest.err
5887 rm -f conftest.er1
5888 cat conftest.err >&5
5889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5890 (exit $ac_status); } && {
5891 test -z "$ac_cxx_werror_flag" ||
5892 test ! -s conftest.err
5893 } && test -s conftest$ac_exeext &&
5894 $as_test_x conftest$ac_exeext; then
5895 ac_cv_func_nanosleep=yes
5896else
5897 echo "$as_me: failed program was:" >&5
5898sed 's/^/| /' conftest.$ac_ext >&5
5899
5900 ac_cv_func_nanosleep=no
5901fi
5902
5903rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5904 conftest$ac_exeext conftest.$ac_ext
5905fi
5906{ echo "$as_me:$LINENO: result: $ac_cv_func_nanosleep" >&5
5907echo "${ECHO_T}$ac_cv_func_nanosleep" >&6; }
5908if test $ac_cv_func_nanosleep = yes; then
5909 :
5910else
5911
5912 if test -z "$LIBEV_M4_AVOID_LIBRT"; then
5913
5914{ echo "$as_me:$LINENO: checking for nanosleep in -lrt" >&5
5915echo $ECHO_N "checking for nanosleep in -lrt... $ECHO_C" >&6; }
5916if test "${ac_cv_lib_rt_nanosleep+set}" = set; then
5917 echo $ECHO_N "(cached) $ECHO_C" >&6
5918else
5919 ac_check_lib_save_LIBS=$LIBS
5920LIBS="-lrt $LIBS"
5921cat >conftest.$ac_ext <<_ACEOF
5922/* confdefs.h. */
5923_ACEOF
5924cat confdefs.h >>conftest.$ac_ext
5925cat >>conftest.$ac_ext <<_ACEOF
5926/* end confdefs.h. */
5927
5928/* Override any GCC internal prototype to avoid an error.
5929 Use char because int might match the return type of a GCC
5930 builtin and then its argument prototype would still apply. */
5931#ifdef __cplusplus
5932extern "C"
5933#endif
5934char nanosleep ();
5935int
5936main ()
5937{
5938return nanosleep ();
5939 ;
5940 return 0;
5941}
5942_ACEOF
5943rm -f conftest.$ac_objext conftest$ac_exeext
5944if { (ac_try="$ac_link"
5945case "(($ac_try" in
5946 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5947 *) ac_try_echo=$ac_try;;
5948esac
5949eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
5950 (eval "$ac_link") 2>conftest.er1
5951 ac_status=$?
5952 grep -v '^ *+' conftest.er1 >conftest.err
5953 rm -f conftest.er1
5954 cat conftest.err >&5
5955 echo "$as_me:$LINENO: \$? = $ac_status" >&5
5956 (exit $ac_status); } && {
5957 test -z "$ac_cxx_werror_flag" ||
5958 test ! -s conftest.err
5959 } && test -s conftest$ac_exeext &&
5960 $as_test_x conftest$ac_exeext; then
5961 ac_cv_lib_rt_nanosleep=yes
5962else
5963 echo "$as_me: failed program was:" >&5
5964sed 's/^/| /' conftest.$ac_ext >&5
5965
5966 ac_cv_lib_rt_nanosleep=no
5967fi
5968
5969rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
5970 conftest$ac_exeext conftest.$ac_ext
5971LIBS=$ac_check_lib_save_LIBS
5972fi
5973{ echo "$as_me:$LINENO: result: $ac_cv_lib_rt_nanosleep" >&5
5974echo "${ECHO_T}$ac_cv_lib_rt_nanosleep" >&6; }
5975if test $ac_cv_lib_rt_nanosleep = yes; then
5976 cat >>confdefs.h <<_ACEOF
5977#define HAVE_LIBRT 1
5978_ACEOF
5979
5980 LIBS="-lrt $LIBS"
5981
5982fi
5983
5984 unset ac_cv_func_nanosleep
5985
5986for ac_func in nanosleep
5745do 5987do
5746as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5988as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5747{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5989{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5748echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5990echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5749if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5991if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
7356 7598
7357 7599
7358 7600
7359 7601
7360 7602
7361
7362for ac_header in \ 7603for ac_header in \
7363 sys/byteorder.h \ 7604 sys/byteorder.h \
7364 sys/ioctl.h \ 7605 sys/ioctl.h \
7365 sys/sockio.h \ 7606 sys/sockio.h \
7366 sys/strredir.h \ 7607 sys/strredir.h \
7367 stdint.h \ 7608 stdint.h \
7368 wchar.h \ 7609 wchar.h \
7369 cwchar \ 7610 cwchar \
7370 clocale \
7371 7611
7372do 7612do
7373as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 7613as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
7374if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 7614if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
7375 { echo "$as_me:$LINENO: checking for $ac_header" >&5 7615 { echo "$as_me:$LINENO: checking for $ac_header" >&5
7506fi 7746fi
7507 7747
7508done 7748done
7509 7749
7510 7750
7511{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7512echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7513if test "${rxvt_cv_header_sysioctl+set}" = set; then
7514 echo $ECHO_N "(cached) $ECHO_C" >&6
7515else
7516 cat >conftest.$ac_ext <<_ACEOF
7517/* confdefs.h. */
7518_ACEOF
7519cat confdefs.h >>conftest.$ac_ext
7520cat >>conftest.$ac_ext <<_ACEOF
7521/* end confdefs.h. */
7522#include <stdio.h>
7523#include <sys/ioctl.h>
7524#include <termios.h>
7525
7526int
7527main ()
7528{
7529int a = ECHO;
7530 ;
7531 return 0;
7532}
7533_ACEOF
7534rm -f conftest.$ac_objext
7535if { (ac_try="$ac_compile"
7536case "(($ac_try" in
7537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7538 *) ac_try_echo=$ac_try;;
7539esac
7540eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7541 (eval "$ac_compile") 2>conftest.er1
7542 ac_status=$?
7543 grep -v '^ *+' conftest.er1 >conftest.err
7544 rm -f conftest.er1
7545 cat conftest.err >&5
7546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7547 (exit $ac_status); } && {
7548 test -z "$ac_cxx_werror_flag" ||
7549 test ! -s conftest.err
7550 } && test -s conftest.$ac_objext; then
7551 rxvt_cv_header_sysioctl=yes
7552else
7553 echo "$as_me: failed program was:" >&5
7554sed 's/^/| /' conftest.$ac_ext >&5
7555
7556 rxvt_cv_header_sysioctl=no
7557fi
7558
7559rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7560fi
7561{ echo "$as_me:$LINENO: result: $rxvt_cv_header_sysioctl" >&5
7562echo "${ECHO_T}$rxvt_cv_header_sysioctl" >&6; }
7563
7564{ echo "$as_me:$LINENO: checking for XPointer" >&5 7751{ echo "$as_me:$LINENO: checking for XPointer" >&5
7565echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; } 7752echo $ECHO_N "checking for XPointer... $ECHO_C" >&6; }
7566if test "${rxvt_cv_xpointer+set}" = set; then 7753if test "${rxvt_cv_xpointer+set}" = set; then
7567 echo $ECHO_N "(cached) $ECHO_C" >&6 7754 echo $ECHO_N "(cached) $ECHO_C" >&6
7568else 7755else
8371 8558
8372 8559
8373 8560
8374 8561
8375for ac_func in \ 8562for ac_func in \
8563 ttyslot \
8376 updwtmp \ 8564 updwtmp \
8377 updwtmpx \ 8565 updwtmpx \
8378 updlastlogx \
8379 8566
8380do 8567do
8381as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 8568as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
8382{ echo "$as_me:$LINENO: checking for $ac_func" >&5 8569{ echo "$as_me:$LINENO: checking for $ac_func" >&5
8383echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 8570echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
8469fi 8656fi
8470done 8657done
8471 8658
8472 8659
8473 8660
8661
8662
8474for ac_header in lastlog.h 8663for ac_header in \
8664 utmp.h \
8665 utmpx.h \
8666 lastlog.h \
8667
8475do 8668do
8476as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 8669as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8477if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8670if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8478 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8671 { echo "$as_me:$LINENO: checking for $ac_header" >&5
8479echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8672echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
8610 8803
8611done 8804done
8612 8805
8613 8806
8614 8807
8615 8808if test "${ac_cv_header_utmp_h+set}" = set; then
8616for ac_header in utmp.h
8617do
8618as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8619if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8620 { echo "$as_me:$LINENO: checking for $ac_header" >&5 8809 { echo "$as_me:$LINENO: checking for utmp.h" >&5
8621echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8810echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; }
8622if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8811if test "${ac_cv_header_utmp_h+set}" = set; then
8623 echo $ECHO_N "(cached) $ECHO_C" >&6 8812 echo $ECHO_N "(cached) $ECHO_C" >&6
8624fi 8813fi
8625ac_res=`eval echo '${'$as_ac_Header'}'`
8626 { echo "$as_me:$LINENO: result: $ac_res" >&5 8814{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5
8627echo "${ECHO_T}$ac_res" >&6; } 8815echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; }
8628else 8816else
8629 # Is the header compilable? 8817 # Is the header compilable?
8630{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 8818{ echo "$as_me:$LINENO: checking utmp.h usability" >&5
8631echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 8819echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; }
8632cat >conftest.$ac_ext <<_ACEOF 8820cat >conftest.$ac_ext <<_ACEOF
8633/* confdefs.h. */ 8821/* confdefs.h. */
8634_ACEOF 8822_ACEOF
8635cat confdefs.h >>conftest.$ac_ext 8823cat confdefs.h >>conftest.$ac_ext
8636cat >>conftest.$ac_ext <<_ACEOF 8824cat >>conftest.$ac_ext <<_ACEOF
8637/* end confdefs.h. */ 8825/* end confdefs.h. */
8638$ac_includes_default 8826$ac_includes_default
8639#include <$ac_header> 8827#include <utmp.h>
8640_ACEOF 8828_ACEOF
8641rm -f conftest.$ac_objext 8829rm -f conftest.$ac_objext
8642if { (ac_try="$ac_compile" 8830if { (ac_try="$ac_compile"
8643case "(($ac_try" in 8831case "(($ac_try" in
8644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8832 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8666rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 8854rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8667{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 8855{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8668echo "${ECHO_T}$ac_header_compiler" >&6; } 8856echo "${ECHO_T}$ac_header_compiler" >&6; }
8669 8857
8670# Is the header present? 8858# Is the header present?
8671{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 8859{ echo "$as_me:$LINENO: checking utmp.h presence" >&5
8672echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 8860echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; }
8673cat >conftest.$ac_ext <<_ACEOF 8861cat >conftest.$ac_ext <<_ACEOF
8674/* confdefs.h. */ 8862/* confdefs.h. */
8675_ACEOF 8863_ACEOF
8676cat confdefs.h >>conftest.$ac_ext 8864cat confdefs.h >>conftest.$ac_ext
8677cat >>conftest.$ac_ext <<_ACEOF 8865cat >>conftest.$ac_ext <<_ACEOF
8678/* end confdefs.h. */ 8866/* end confdefs.h. */
8679#include <$ac_header> 8867#include <utmp.h>
8680_ACEOF 8868_ACEOF
8681if { (ac_try="$ac_cpp conftest.$ac_ext" 8869if { (ac_try="$ac_cpp conftest.$ac_ext"
8682case "(($ac_try" in 8870case "(($ac_try" in
8683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 8871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8684 *) ac_try_echo=$ac_try;; 8872 *) ac_try_echo=$ac_try;;
8707echo "${ECHO_T}$ac_header_preproc" >&6; } 8895echo "${ECHO_T}$ac_header_preproc" >&6; }
8708 8896
8709# So? What about this header? 8897# So? What about this header?
8710case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 8898case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
8711 yes:no: ) 8899 yes:no: )
8712 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 8900 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5
8713echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 8901echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
8714 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 8902 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5
8715echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 8903echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;}
8716 ac_header_preproc=yes 8904 ac_header_preproc=yes
8717 ;; 8905 ;;
8718 no:yes:* ) 8906 no:yes:* )
8719 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 8907 { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5
8720echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 8908echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;}
8721 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 8909 { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5
8722echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 8910echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;}
8723 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 8911 { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5
8724echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 8912echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;}
8725 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 8913 { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5
8726echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 8914echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;}
8727 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 8915 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5
8728echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 8916echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;}
8729 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 8917 { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5
8730echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 8918echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;}
8731 8919
8732 ;; 8920 ;;
8733esac 8921esac
8734{ echo "$as_me:$LINENO: checking for $ac_header" >&5 8922{ echo "$as_me:$LINENO: checking for utmp.h" >&5
8735echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 8923echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; }
8736if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 8924if test "${ac_cv_header_utmp_h+set}" = set; then
8737 echo $ECHO_N "(cached) $ECHO_C" >&6 8925 echo $ECHO_N "(cached) $ECHO_C" >&6
8738else 8926else
8739 eval "$as_ac_Header=\$ac_header_preproc" 8927 ac_cv_header_utmp_h=$ac_header_preproc
8740fi 8928fi
8741ac_res=`eval echo '${'$as_ac_Header'}'`
8742 { echo "$as_me:$LINENO: result: $ac_res" >&5 8929{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5
8743echo "${ECHO_T}$ac_res" >&6; } 8930echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; }
8744 8931
8745fi 8932fi
8746if test `eval echo '${'$as_ac_Header'}'` = yes; then 8933if test $ac_cv_header_utmp_h = yes; then
8747 cat >>confdefs.h <<_ACEOF
8748#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
8749_ACEOF
8750 { echo "$as_me:$LINENO: checking for struct utmp" >&5 8934 { echo "$as_me:$LINENO: checking for struct utmp" >&5
8751echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 8935echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
8752if test "${struct_utmp+set}" = set; then 8936if test "${struct_utmp+set}" = set; then
8753 echo $ECHO_N "(cached) $ECHO_C" >&6 8937 echo $ECHO_N "(cached) $ECHO_C" >&6
8754else 8938else
8755 cat >conftest.$ac_ext <<_ACEOF 8939 cat >conftest.$ac_ext <<_ACEOF
8922 9106
8923fi 9107fi
8924 9108
8925fi 9109fi
8926 9110
8927done
8928 9111
8929 9112
8930 9113if test "${ac_cv_header_utmpx_h+set}" = set; then
8931for ac_header in utmpx.h
8932do
8933as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
8934if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
8935 { echo "$as_me:$LINENO: checking for $ac_header" >&5 9114 { echo "$as_me:$LINENO: checking for utmpx.h" >&5
8936echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9115echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; }
8937if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9116if test "${ac_cv_header_utmpx_h+set}" = set; then
8938 echo $ECHO_N "(cached) $ECHO_C" >&6 9117 echo $ECHO_N "(cached) $ECHO_C" >&6
8939fi 9118fi
8940ac_res=`eval echo '${'$as_ac_Header'}'`
8941 { echo "$as_me:$LINENO: result: $ac_res" >&5 9119{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5
8942echo "${ECHO_T}$ac_res" >&6; } 9120echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; }
8943else 9121else
8944 # Is the header compilable? 9122 # Is the header compilable?
8945{ echo "$as_me:$LINENO: checking $ac_header usability" >&5 9123{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5
8946echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; } 9124echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; }
8947cat >conftest.$ac_ext <<_ACEOF 9125cat >conftest.$ac_ext <<_ACEOF
8948/* confdefs.h. */ 9126/* confdefs.h. */
8949_ACEOF 9127_ACEOF
8950cat confdefs.h >>conftest.$ac_ext 9128cat confdefs.h >>conftest.$ac_ext
8951cat >>conftest.$ac_ext <<_ACEOF 9129cat >>conftest.$ac_ext <<_ACEOF
8952/* end confdefs.h. */ 9130/* end confdefs.h. */
8953$ac_includes_default 9131$ac_includes_default
8954#include <$ac_header> 9132#include <utmpx.h>
8955_ACEOF 9133_ACEOF
8956rm -f conftest.$ac_objext 9134rm -f conftest.$ac_objext
8957if { (ac_try="$ac_compile" 9135if { (ac_try="$ac_compile"
8958case "(($ac_try" in 9136case "(($ac_try" in
8959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8981rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 9159rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8982{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 9160{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
8983echo "${ECHO_T}$ac_header_compiler" >&6; } 9161echo "${ECHO_T}$ac_header_compiler" >&6; }
8984 9162
8985# Is the header present? 9163# Is the header present?
8986{ echo "$as_me:$LINENO: checking $ac_header presence" >&5 9164{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5
8987echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; } 9165echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; }
8988cat >conftest.$ac_ext <<_ACEOF 9166cat >conftest.$ac_ext <<_ACEOF
8989/* confdefs.h. */ 9167/* confdefs.h. */
8990_ACEOF 9168_ACEOF
8991cat confdefs.h >>conftest.$ac_ext 9169cat confdefs.h >>conftest.$ac_ext
8992cat >>conftest.$ac_ext <<_ACEOF 9170cat >>conftest.$ac_ext <<_ACEOF
8993/* end confdefs.h. */ 9171/* end confdefs.h. */
8994#include <$ac_header> 9172#include <utmpx.h>
8995_ACEOF 9173_ACEOF
8996if { (ac_try="$ac_cpp conftest.$ac_ext" 9174if { (ac_try="$ac_cpp conftest.$ac_ext"
8997case "(($ac_try" in 9175case "(($ac_try" in
8998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 9176 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8999 *) ac_try_echo=$ac_try;; 9177 *) ac_try_echo=$ac_try;;
9022echo "${ECHO_T}$ac_header_preproc" >&6; } 9200echo "${ECHO_T}$ac_header_preproc" >&6; }
9023 9201
9024# So? What about this header? 9202# So? What about this header?
9025case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 9203case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
9026 yes:no: ) 9204 yes:no: )
9027 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5 9205 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5
9028echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;} 9206echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
9029 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5 9207 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5
9030echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;} 9208echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;}
9031 ac_header_preproc=yes 9209 ac_header_preproc=yes
9032 ;; 9210 ;;
9033 no:yes:* ) 9211 no:yes:* )
9034 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5 9212 { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5
9035echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;} 9213echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;}
9036 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5 9214 { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5
9037echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;} 9215echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;}
9038 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5 9216 { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5
9039echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;} 9217echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;}
9040 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5 9218 { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5
9041echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;} 9219echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;}
9042 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5 9220 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5
9043echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;} 9221echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;}
9044 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5 9222 { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5
9045echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;} 9223echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;}
9046 9224
9047 ;; 9225 ;;
9048esac 9226esac
9049{ echo "$as_me:$LINENO: checking for $ac_header" >&5 9227{ echo "$as_me:$LINENO: checking for utmpx.h" >&5
9050echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 9228echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; }
9051if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 9229if test "${ac_cv_header_utmpx_h+set}" = set; then
9052 echo $ECHO_N "(cached) $ECHO_C" >&6 9230 echo $ECHO_N "(cached) $ECHO_C" >&6
9053else 9231else
9054 eval "$as_ac_Header=\$ac_header_preproc" 9232 ac_cv_header_utmpx_h=$ac_header_preproc
9055fi 9233fi
9056ac_res=`eval echo '${'$as_ac_Header'}'`
9057 { echo "$as_me:$LINENO: result: $ac_res" >&5 9234{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5
9058echo "${ECHO_T}$ac_res" >&6; } 9235echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; }
9059 9236
9060fi 9237fi
9061if test `eval echo '${'$as_ac_Header'}'` = yes; then 9238if test $ac_cv_header_utmpx_h = yes; then
9062 cat >>confdefs.h <<_ACEOF
9063#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
9064_ACEOF
9065 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 9239 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
9066echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 9240echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
9067if test "${struct_utmpx+set}" = set; then 9241if test "${struct_utmpx+set}" = set; then
9068 echo $ECHO_N "(cached) $ECHO_C" >&6 9242 echo $ECHO_N "(cached) $ECHO_C" >&6
9069else 9243else
9070 cat >conftest.$ac_ext <<_ACEOF 9244 cat >conftest.$ac_ext <<_ACEOF
9237 9411
9238fi 9412fi
9239 9413
9240fi 9414fi
9241 9415
9242done
9243 9416
9244{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 9417{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
9245echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 9418echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
9246if test "${struct_lastlog+set}" = set; then 9419if test "${struct_lastlog+set}" = set; then
9247 echo $ECHO_N "(cached) $ECHO_C" >&6 9420 echo $ECHO_N "(cached) $ECHO_C" >&6
9818 9991
9819cat >>confdefs.h <<_ACEOF 9992cat >>confdefs.h <<_ACEOF
9820#define LASTLOG_FILE "$path_lastlog" 9993#define LASTLOG_FILE "$path_lastlog"
9821_ACEOF 9994_ACEOF
9822 9995
9996 if test -d "$path_lastlog"; then
9997
9998cat >>confdefs.h <<\_ACEOF
9999#define LASTLOG_IS_DIR 1
10000_ACEOF
10001
10002 fi
9823fi 10003fi
9824 10004
9825{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5 10005{ echo "$as_me:$LINENO: checking where lastlogx is located" >&5
9826echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; } 10006echo $ECHO_N "checking where lastlogx is located... $ECHO_C" >&6; }
9827if test "${path_lastlogx+set}" = set; then 10007if test "${path_lastlogx+set}" = set; then
10317 10497
10318 10498
10319 10499
10320 10500
10321 10501
10502
10322for ac_header in \ 10503for ac_header in \
10323 pty.h \ 10504 pty.h \
10324 util.h \ 10505 util.h \
10325 libutil.h \ 10506 libutil.h \
10326 sys/ioctl.h \ 10507 sys/ioctl.h \
10327 sys/stropts.h \ 10508 sys/stropts.h \
10509 stropts.h \
10328 10510
10329do 10511do
10330as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10512as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10331if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10513if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10332 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10514 { echo "$as_me:$LINENO: checking for $ac_header" >&5
11355_ACEOF 11537_ACEOF
11356 11538
11357fi 11539fi
11358 11540
11359 11541
11542scrolltypes=plain
11543
11544cat >>confdefs.h <<\_ACEOF
11545#define PLAIN_SCROLLBAR 1
11546_ACEOF
11547
11548
11360if test x$support_scroll_rxvt = xyes; then 11549if test x$support_scroll_rxvt = xyes; then
11361 11550
11362cat >>confdefs.h <<\_ACEOF 11551cat >>confdefs.h <<\_ACEOF
11363#define RXVT_SCROLLBAR 1 11552#define RXVT_SCROLLBAR 1
11364_ACEOF 11553_ACEOF
11365 11554
11366 scrolltypes="rxvt" 11555 scrolltypes="$scrolltypes rxvt"
11367fi 11556fi
11368if test x$support_scroll_next = xyes; then 11557if test x$support_scroll_next = xyes; then
11369 11558
11370cat >>confdefs.h <<\_ACEOF 11559cat >>confdefs.h <<\_ACEOF
11371#define NEXT_SCROLLBAR 1 11560#define NEXT_SCROLLBAR 1
11378cat >>confdefs.h <<\_ACEOF 11567cat >>confdefs.h <<\_ACEOF
11379#define XTERM_SCROLLBAR 1 11568#define XTERM_SCROLLBAR 1
11380_ACEOF 11569_ACEOF
11381 11570
11382 scrolltypes="$scrolltypes xterm" 11571 scrolltypes="$scrolltypes xterm"
11383fi
11384if test x$support_scroll_plain = xyes; then
11385
11386cat >>confdefs.h <<\_ACEOF
11387#define PLAIN_SCROLLBAR 1
11388_ACEOF
11389
11390 scrolltypes="$scrolltypes plain"
11391fi 11572fi
11392if test x$support_pointer_blank = xyes; then 11573if test x$support_pointer_blank = xyes; then
11393 11574
11394cat >>confdefs.h <<\_ACEOF 11575cat >>confdefs.h <<\_ACEOF
11395#define POINTER_BLANK 1 11576#define POINTER_BLANK 1
11658_ACEOF 11839_ACEOF
11659program_transform_name=`echo $program_transform_name | sed -f conftest.sed` 11840program_transform_name=`echo $program_transform_name | sed -f conftest.sed`
11660rm -f conftest.sed 11841rm -f conftest.sed
11661 11842
11662 11843
11663
11664
11665
11666if test "$ac_cv_header_stdint_h" = "yes" -o "$notset" = "dontmatch"; then
11667 include_stdint_h="#include <stdint.h>"
11668else
11669 include_stdint_h="/* #include <stdint.h> */"
11670fi
11671if test "$rxvt_cv_header_sysioctl" = "yes" -o "$notset" = "dontmatch"; then
11672 include_sys_ioctl_h="#include <sys/ioctl.h>"
11673else
11674 include_sys_ioctl_h="/* #include <sys/ioctl.h> */"
11675fi
11676if test "$ac_cv_header_sys_strredir_h" = "yes" -o "$notset" = "dontmatch"; then
11677 include_sys_strredir_h="#include <sys/strredir.h>"
11678else
11679 include_sys_strredir_h="/* #include <sys/strredir.h> */"
11680fi
11681
11682ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile src/rxvtlib.h" 11844ac_config_files="$ac_config_files Makefile doc/Makefile src/Makefile"
11683 11845
11684cat >confcache <<\_ACEOF 11846cat >confcache <<\_ACEOF
11685# This file is a shell script that caches the results of configure 11847# This file is a shell script that caches the results of configure
11686# tests run on this system so they can be shared between configure 11848# tests run on this system so they can be shared between configure
11687# scripts and configure runs, see configure's option --config-cache. 11849# scripts and configure runs, see configure's option --config-cache.
12236 case $ac_config_target in 12398 case $ac_config_target in
12237 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;; 12399 "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h:config.h.in" ;;
12238 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;; 12400 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
12239 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;; 12401 "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
12240 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;; 12402 "src/Makefile") CONFIG_FILES="$CONFIG_FILES src/Makefile" ;;
12241 "src/rxvtlib.h") CONFIG_FILES="$CONFIG_FILES src/rxvtlib.h" ;;
12242 12403
12243 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5 12404 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
12244echo "$as_me: error: invalid argument: $ac_config_target" >&2;} 12405echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
12245 { (exit 1); exit 1; }; };; 12406 { (exit 1); exit 1; }; };;
12246 esac 12407 esac
12381PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim 12542PERLPRIVLIBEXP!$PERLPRIVLIBEXP$ac_delim
12382IF_PERL!$IF_PERL$ac_delim 12543IF_PERL!$IF_PERL$ac_delim
12383PERL_O!$PERL_O$ac_delim 12544PERL_O!$PERL_O$ac_delim
12384AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim 12545AFTERIMAGE_CFLAGS!$AFTERIMAGE_CFLAGS$ac_delim
12385AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim 12546AFTERIMAGE_LIBS!$AFTERIMAGE_LIBS$ac_delim
12386include_stdint_h!$include_stdint_h$ac_delim
12387include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
12388include_sys_strredir_h!$include_sys_strredir_h$ac_delim
12389LIBOBJS!$LIBOBJS$ac_delim 12547LIBOBJS!$LIBOBJS$ac_delim
12390LTLIBOBJS!$LTLIBOBJS$ac_delim 12548LTLIBOBJS!$LTLIBOBJS$ac_delim
12391_ACEOF 12549_ACEOF
12392 12550
12393 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 88; then 12551 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 85; then
12394 break 12552 break
12395 elif $ac_last_try; then 12553 elif $ac_last_try; then
12396 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 12554 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
12397echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 12555echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
12398 { (exit 1); exit 1; }; } 12556 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines