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

Comparing rxvt-unicode/configure (file contents):
Revision 1.120 by root, Mon Nov 26 20:07:49 2007 UTC vs.
Revision 1.121 by ayin, Tue Dec 11 00:01:28 2007 UTC

658host_cpu 658host_cpu
659host_vendor 659host_vendor
660host_os 660host_os
661VERSION 661VERSION
662DATE 662DATE
663LSMDATE
664LIBVERSION
665CC 663CC
666CFLAGS 664CFLAGS
667LDFLAGS 665LDFLAGS
668CPPFLAGS 666CPPFLAGS
669ac_ct_CC 667ac_ct_CC
677INSTALL_SCRIPT 675INSTALL_SCRIPT
678INSTALL_DATA 676INSTALL_DATA
679GREP 677GREP
680EGREP 678EGREP
681LINKER 679LINKER
682INSTALL_LIBRXVT
683RXVTNAME 680RXVTNAME
684CXXCPP 681CXXCPP
685TIC 682TIC
686XMKMF 683XMKMF
687X_CFLAGS 684X_CFLAGS
1316Optional Features: 1313Optional Features:
1317 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no) 1314 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1318 --enable-FEATURE[=ARG] include FEATURE [ARG=yes] 1315 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1319 --enable-everything enable standard non-multichoice features 1316 --enable-everything enable standard non-multichoice features
1320 NOTE: this option is order dependent 1317 NOTE: this option is order dependent
1321 NOTE: automatically enabled with --enable-shared
1322 --enable-warnings turn on g++ warnings 1318 --enable-warnings turn on g++ warnings
1323 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters 1319 --enable-unicode3 use 21 instead of 16 bits to represent unicode characters
1324 --enable-combining enable composition of base and combining characters 1320 --enable-combining enable composition of base and combining characters
1325 --enable-xft enable xft support on systems that have it 1321 --enable-xft enable xft support on systems that have it
1326 --enable-font-styles enable bold and italic support 1322 --enable-font-styles enable bold and italic support
1328 --enable-transparency enable transparent backgrounds 1324 --enable-transparency enable transparent backgrounds
1329 --enable-fading enable colors fading when off focus 1325 --enable-fading enable colors fading when off focus
1330 --enable-rxvt-scroll enable rxvt style scrollbar 1326 --enable-rxvt-scroll enable rxvt style scrollbar
1331 --enable-next-scroll enable NeXT style scrollbar 1327 --enable-next-scroll enable NeXT style scrollbar
1332 --enable-xterm-scroll enable Xterm style scrollbar 1328 --enable-xterm-scroll enable Xterm style scrollbar
1329 --enable-plain-scroll enable plain style scrollbar
1333 --enable-perl enable embedded perl interpreter 1330 --enable-perl enable embedded perl interpreter
1334 --enable-plain-scroll enable plain style scrollbar
1335 --enable-xim XIM (X Input Method) protocol support 1331 --enable-xim XIM (X Input Method) protocol support
1336 --disable-backspace-key disable handling of the backspace key 1332 --disable-backspace-key disable handling of the backspace key
1337 --disable-delete-key disable handling of the delete key 1333 --disable-delete-key disable handling of the delete key
1338 --disable-resources disable all resource checking 1334 --disable-resources disable all resource checking
1339 --enable-8bitctrls enable 8 bit control sequences (not recommended) 1335 --enable-8bitctrls enable 8 bit control sequences (not recommended)
1927echo "configuring for rxvt $VERSION" 1923echo "configuring for rxvt $VERSION"
1928echo "" 1924echo ""
1929 1925
1930orig_CXXFLAGS="$CXXFLAGS" 1926orig_CXXFLAGS="$CXXFLAGS"
1931 1927
1932
1933ac_ext=c 1928ac_ext=c
1934ac_cpp='$CPP $CPPFLAGS' 1929ac_cpp='$CPP $CPPFLAGS'
1935ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5' 1930ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
1936ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5' 1931ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
1937ac_compiler_gnu=$ac_cv_c_compiler_gnu 1932ac_compiler_gnu=$ac_cv_c_compiler_gnu
3715echo "${ECHO_T}no" >&6; } 3710echo "${ECHO_T}no" >&6; }
3716fi 3711fi
3717rm -f conftest* 3712rm -f conftest*
3718 3713
3719 3714
3715
3716cat >>confdefs.h <<\_ACEOF
3717#define _GNU_SOURCE 1
3718_ACEOF
3719
3720
3720{ echo "$as_me:$LINENO: checking for library containing strerror" >&5 3721{ echo "$as_me:$LINENO: checking for library containing strerror" >&5
3721echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; } 3722echo $ECHO_N "checking for library containing strerror... $ECHO_C" >&6; }
3722if test "${ac_cv_search_strerror+set}" = set; then 3723if test "${ac_cv_search_strerror+set}" = set; then
3723 echo $ECHO_N "(cached) $ECHO_C" >&6 3724 echo $ECHO_N "(cached) $ECHO_C" >&6
3724else 3725else
3919 CXXFLAGS="-O" 3920 CXXFLAGS="-O"
3920 fi 3921 fi
3921 CFLAGS="$CXXFLAGS" 3922 CFLAGS="$CXXFLAGS"
3922fi 3923fi
3923 3924
3924
3925cat >>confdefs.h <<\_ACEOF
3926#define _GNU_SOURCE 1
3927_ACEOF
3928
3929
3930case $host in 3925case $host in
3931 *-*-solaris* ) 3926 *-*-solaris* )
3932 3927
3933cat >>confdefs.h <<\_ACEOF 3928cat >>confdefs.h <<\_ACEOF
3934#define _XOPEN_SOURCE 500 3929#define _XOPEN_SOURCE 500
3935_ACEOF 3930_ACEOF
3936 3931
3937 ;; 3932 ;;
3938esac 3933esac
3939
3940 3934
3941{ echo "$as_me:$LINENO: checking for setlocale" >&5 3935{ echo "$as_me:$LINENO: checking for setlocale" >&5
3942echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; } 3936echo $ECHO_N "checking for setlocale... $ECHO_C" >&6; }
3943if test "${ac_cv_func_setlocale+set}" = set; then 3937if test "${ac_cv_func_setlocale+set}" = set; then
3944 echo $ECHO_N "(cached) $ECHO_C" >&6 3938 echo $ECHO_N "(cached) $ECHO_C" >&6
4417support_iso14755=yes 4411support_iso14755=yes
4418support_styles=yes 4412support_styles=yes
4419support_perl=yes 4413support_perl=yes
4420codesets=all 4414codesets=all
4421 4415
4422
4423if test "x$enable_shared" = xyes; then
4424
4425cat >>confdefs.h <<\_ACEOF
4426#define LIBRXVT 1
4427_ACEOF
4428
4429 INSTALL_LIBRXVT=yes
4430fi
4431 4416
4432 4417
4433# Check whether --enable-everything was given. 4418# Check whether --enable-everything was given.
4434if test "${enable_everything+set}" = set; then 4419if test "${enable_everything+set}" = set; then
4435 enableval=$enable_everything; 4420 enableval=$enable_everything;
4641 support_scroll_xterm=$enableval 4626 support_scroll_xterm=$enableval
4642 fi 4627 fi
4643fi 4628fi
4644 4629
4645 4630
4631# Check whether --enable-plain-scroll was given.
4632if test "${enable_plain_scroll+set}" = set; then
4633 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4634 support_scroll_plain=$enableval
4635 fi
4636fi
4637
4638
4646# Check whether --enable-perl was given. 4639# Check whether --enable-perl was given.
4647if test "${enable_perl+set}" = set; then 4640if test "${enable_perl+set}" = set; then
4648 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then 4641 enableval=$enable_perl; if test x$enableval = xyes -o x$enableval = xno; then
4649 support_perl=$enableval 4642 support_perl=$enableval
4650 fi
4651fi
4652
4653
4654# Check whether --enable-plain-scroll was given.
4655if test "${enable_plain_scroll+set}" = set; then
4656 enableval=$enable_plain_scroll; if test x$enableval = xyes -o x$enableval = xno; then
4657 support_scroll_plain=$enableval
4658 fi 4643 fi
4659fi 4644fi
4660 4645
4661 4646
4662 4647
5370 5355
5371 5356
5372 5357
5373 5358
5374 5359
5360
5375for ac_header in sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h 5361for ac_header in sys/inotify.h sys/epoll.h sys/event.h sys/queue.h port.h poll.h sys/select.h
5376do 5362do
5377as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 5363as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
5378if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 5364if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
5379 { echo "$as_me:$LINENO: checking for $ac_header" >&5 5365 { echo "$as_me:$LINENO: checking for $ac_header" >&5
5380echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 5366echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
5515 5501
5516 5502
5517 5503
5518 5504
5519 5505
5506
5520for ac_func in epoll_ctl kqueue port_create poll select 5507for ac_func in inotify_init epoll_ctl kqueue port_create poll select
5521do 5508do
5522as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5509as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5523{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5510{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5524echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; } 5511echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
5525if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then 5512if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
5766 5753
5767 LIBS="-lrt $LIBS" 5754 LIBS="-lrt $LIBS"
5768 5755
5769fi 5756fi
5770 5757
5758 unset ac_cv_func_clock_gettime
5771 5759
5772for ac_func in clock_gettime 5760for ac_func in clock_gettime
5773do 5761do
5774as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 5762as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
5775{ echo "$as_me:$LINENO: checking for $ac_func" >&5 5763{ echo "$as_me:$LINENO: checking for $ac_func" >&5
5981echo "${ECHO_T}$TIC" >&6; } 5969echo "${ECHO_T}$TIC" >&6; }
5982else 5970else
5983 { echo "$as_me:$LINENO: result: no" >&5 5971 { echo "$as_me:$LINENO: result: no" >&5
5984echo "${ECHO_T}no" >&6; } 5972echo "${ECHO_T}no" >&6; }
5985fi 5973fi
5986
5987
5988 5974
5989 5975
5990 5976
5991{ echo "$as_me:$LINENO: checking for X" >&5 5977{ echo "$as_me:$LINENO: checking for X" >&5
5992echo $ECHO_N "checking for X... $ECHO_C" >&6; } 5978echo $ECHO_N "checking for X... $ECHO_C" >&6; }
7379echo "${ECHO_T}no" >&6; } 7365echo "${ECHO_T}no" >&6; }
7380 fi 7366 fi
7381 fi 7367 fi
7382fi 7368fi
7383 7369
7384{ echo "$as_me:$LINENO: checking for sys/wait.h that is POSIX.1 compatible" >&5
7385echo $ECHO_N "checking for sys/wait.h that is POSIX.1 compatible... $ECHO_C" >&6; }
7386if test "${ac_cv_header_sys_wait_h+set}" = set; then
7387 echo $ECHO_N "(cached) $ECHO_C" >&6
7388else
7389 cat >conftest.$ac_ext <<_ACEOF
7390/* confdefs.h. */
7391_ACEOF
7392cat confdefs.h >>conftest.$ac_ext
7393cat >>conftest.$ac_ext <<_ACEOF
7394/* end confdefs.h. */
7395#include <sys/types.h>
7396#include <sys/wait.h>
7397#ifndef WEXITSTATUS
7398# define WEXITSTATUS(stat_val) ((unsigned int) (stat_val) >> 8)
7399#endif
7400#ifndef WIFEXITED
7401# define WIFEXITED(stat_val) (((stat_val) & 255) == 0)
7402#endif
7403
7404int
7405main ()
7406{
7407 int s;
7408 wait (&s);
7409 s = WIFEXITED (s) ? WEXITSTATUS (s) : 1;
7410 ;
7411 return 0;
7412}
7413_ACEOF
7414rm -f conftest.$ac_objext
7415if { (ac_try="$ac_compile"
7416case "(($ac_try" in
7417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7418 *) ac_try_echo=$ac_try;;
7419esac
7420eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7421 (eval "$ac_compile") 2>conftest.er1
7422 ac_status=$?
7423 grep -v '^ *+' conftest.er1 >conftest.err
7424 rm -f conftest.er1
7425 cat conftest.err >&5
7426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7427 (exit $ac_status); } && {
7428 test -z "$ac_cxx_werror_flag" ||
7429 test ! -s conftest.err
7430 } && test -s conftest.$ac_objext; then
7431 ac_cv_header_sys_wait_h=yes
7432else
7433 echo "$as_me: failed program was:" >&5
7434sed 's/^/| /' conftest.$ac_ext >&5
7435
7436 ac_cv_header_sys_wait_h=no
7437fi
7438
7439rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7440fi
7441{ echo "$as_me:$LINENO: result: $ac_cv_header_sys_wait_h" >&5
7442echo "${ECHO_T}$ac_cv_header_sys_wait_h" >&6; }
7443if test $ac_cv_header_sys_wait_h = yes; then
7444
7445cat >>confdefs.h <<\_ACEOF
7446#define HAVE_SYS_WAIT_H 1
7447_ACEOF
7448
7449fi
7450
7451 7370
7452 7371
7453 7372
7454 7373
7455 7374
7621fi 7540fi
7622 7541
7623done 7542done
7624 7543
7625 7544
7626{ echo "$as_me:$LINENO: checking whether time.h and sys/time.h may both be included" >&5
7627echo $ECHO_N "checking whether time.h and sys/time.h may both be included... $ECHO_C" >&6; }
7628if test "${ac_cv_header_time+set}" = set; then
7629 echo $ECHO_N "(cached) $ECHO_C" >&6
7630else
7631 cat >conftest.$ac_ext <<_ACEOF
7632/* confdefs.h. */
7633_ACEOF
7634cat confdefs.h >>conftest.$ac_ext
7635cat >>conftest.$ac_ext <<_ACEOF
7636/* end confdefs.h. */
7637#include <sys/types.h>
7638#include <sys/time.h>
7639#include <time.h>
7640
7641int
7642main ()
7643{
7644if ((struct tm *) 0)
7645return 0;
7646 ;
7647 return 0;
7648}
7649_ACEOF
7650rm -f conftest.$ac_objext
7651if { (ac_try="$ac_compile"
7652case "(($ac_try" in
7653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7654 *) ac_try_echo=$ac_try;;
7655esac
7656eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7657 (eval "$ac_compile") 2>conftest.er1
7658 ac_status=$?
7659 grep -v '^ *+' conftest.er1 >conftest.err
7660 rm -f conftest.er1
7661 cat conftest.err >&5
7662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7663 (exit $ac_status); } && {
7664 test -z "$ac_cxx_werror_flag" ||
7665 test ! -s conftest.err
7666 } && test -s conftest.$ac_objext; then
7667 ac_cv_header_time=yes
7668else
7669 echo "$as_me: failed program was:" >&5
7670sed 's/^/| /' conftest.$ac_ext >&5
7671
7672 ac_cv_header_time=no
7673fi
7674
7675rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7676fi
7677{ echo "$as_me:$LINENO: result: $ac_cv_header_time" >&5
7678echo "${ECHO_T}$ac_cv_header_time" >&6; }
7679if test $ac_cv_header_time = yes; then
7680
7681cat >>confdefs.h <<\_ACEOF
7682#define TIME_WITH_SYS_TIME 1
7683_ACEOF
7684
7685fi
7686
7687
7688{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5 7545{ echo "$as_me:$LINENO: checking whether termios.h and sys/ioctl.h may both be included" >&5
7689echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; } 7546echo $ECHO_N "checking whether termios.h and sys/ioctl.h may both be included... $ECHO_C" >&6; }
7690if test "${rxvt_cv_header_sysioctl+set}" = set; then 7547if test "${rxvt_cv_header_sysioctl+set}" = set; then
7691 echo $ECHO_N "(cached) $ECHO_C" >&6 7548 echo $ECHO_N "(cached) $ECHO_C" >&6
7692else 7549else
7857cat >>confdefs.h <<\_ACEOF 7714cat >>confdefs.h <<\_ACEOF
7858#define XLIB_ILLEGAL_ACCESS 1 7715#define XLIB_ILLEGAL_ACCESS 1
7859_ACEOF 7716_ACEOF
7860 7717
7861fi 7718fi
7862
7863{ echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
7864echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
7865if test "${ac_cv_c_const+set}" = set; then
7866 echo $ECHO_N "(cached) $ECHO_C" >&6
7867else
7868 cat >conftest.$ac_ext <<_ACEOF
7869/* confdefs.h. */
7870_ACEOF
7871cat confdefs.h >>conftest.$ac_ext
7872cat >>conftest.$ac_ext <<_ACEOF
7873/* end confdefs.h. */
7874
7875int
7876main ()
7877{
7878/* FIXME: Include the comments suggested by Paul. */
7879#ifndef __cplusplus
7880 /* Ultrix mips cc rejects this. */
7881 typedef int charset[2];
7882 const charset cs;
7883 /* SunOS 4.1.1 cc rejects this. */
7884 char const *const *pcpcc;
7885 char **ppc;
7886 /* NEC SVR4.0.2 mips cc rejects this. */
7887 struct point {int x, y;};
7888 static struct point const zero = {0,0};
7889 /* AIX XL C 1.02.0.0 rejects this.
7890 It does not let you subtract one const X* pointer from another in
7891 an arm of an if-expression whose if-part is not a constant
7892 expression */
7893 const char *g = "string";
7894 pcpcc = &g + (g ? g-g : 0);
7895 /* HPUX 7.0 cc rejects these. */
7896 ++pcpcc;
7897 ppc = (char**) pcpcc;
7898 pcpcc = (char const *const *) ppc;
7899 { /* SCO 3.2v4 cc rejects this. */
7900 char *t;
7901 char const *s = 0 ? (char *) 0 : (char const *) 0;
7902
7903 *t++ = 0;
7904 if (s) return 0;
7905 }
7906 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
7907 int x[] = {25, 17};
7908 const int *foo = &x[0];
7909 ++foo;
7910 }
7911 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
7912 typedef const int *iptr;
7913 iptr p = 0;
7914 ++p;
7915 }
7916 { /* AIX XL C 1.02.0.0 rejects this saying
7917 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
7918 struct s { int j; const int *ap[3]; };
7919 struct s *b; b->j = 5;
7920 }
7921 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
7922 const int foo = 10;
7923 if (!foo) return 0;
7924 }
7925 return !cs[0] && !zero.x;
7926#endif
7927
7928 ;
7929 return 0;
7930}
7931_ACEOF
7932rm -f conftest.$ac_objext
7933if { (ac_try="$ac_compile"
7934case "(($ac_try" in
7935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7936 *) ac_try_echo=$ac_try;;
7937esac
7938eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7939 (eval "$ac_compile") 2>conftest.er1
7940 ac_status=$?
7941 grep -v '^ *+' conftest.er1 >conftest.err
7942 rm -f conftest.er1
7943 cat conftest.err >&5
7944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
7945 (exit $ac_status); } && {
7946 test -z "$ac_cxx_werror_flag" ||
7947 test ! -s conftest.err
7948 } && test -s conftest.$ac_objext; then
7949 ac_cv_c_const=yes
7950else
7951 echo "$as_me: failed program was:" >&5
7952sed 's/^/| /' conftest.$ac_ext >&5
7953
7954 ac_cv_c_const=no
7955fi
7956
7957rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7958fi
7959{ echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
7960echo "${ECHO_T}$ac_cv_c_const" >&6; }
7961if test $ac_cv_c_const = no; then
7962
7963cat >>confdefs.h <<\_ACEOF
7964#define const
7965_ACEOF
7966
7967fi
7968
7969{ echo "$as_me:$LINENO: checking for inline" >&5
7970echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
7971if test "${ac_cv_c_inline+set}" = set; then
7972 echo $ECHO_N "(cached) $ECHO_C" >&6
7973else
7974 ac_cv_c_inline=no
7975for ac_kw in inline __inline__ __inline; do
7976 cat >conftest.$ac_ext <<_ACEOF
7977/* confdefs.h. */
7978_ACEOF
7979cat confdefs.h >>conftest.$ac_ext
7980cat >>conftest.$ac_ext <<_ACEOF
7981/* end confdefs.h. */
7982#ifndef __cplusplus
7983typedef int foo_t;
7984static $ac_kw foo_t static_foo () {return 0; }
7985$ac_kw foo_t foo () {return 0; }
7986#endif
7987
7988_ACEOF
7989rm -f conftest.$ac_objext
7990if { (ac_try="$ac_compile"
7991case "(($ac_try" in
7992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
7993 *) ac_try_echo=$ac_try;;
7994esac
7995eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
7996 (eval "$ac_compile") 2>conftest.er1
7997 ac_status=$?
7998 grep -v '^ *+' conftest.er1 >conftest.err
7999 rm -f conftest.er1
8000 cat conftest.err >&5
8001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
8002 (exit $ac_status); } && {
8003 test -z "$ac_cxx_werror_flag" ||
8004 test ! -s conftest.err
8005 } && test -s conftest.$ac_objext; then
8006 ac_cv_c_inline=$ac_kw
8007else
8008 echo "$as_me: failed program was:" >&5
8009sed 's/^/| /' conftest.$ac_ext >&5
8010
8011
8012fi
8013
8014rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8015 test "$ac_cv_c_inline" != no && break
8016done
8017
8018fi
8019{ echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
8020echo "${ECHO_T}$ac_cv_c_inline" >&6; }
8021
8022
8023case $ac_cv_c_inline in
8024 inline | yes) ;;
8025 *)
8026 case $ac_cv_c_inline in
8027 no) ac_val=;;
8028 *) ac_val=$ac_cv_c_inline;;
8029 esac
8030 cat >>confdefs.h <<_ACEOF
8031#ifndef __cplusplus
8032#define inline $ac_val
8033#endif
8034_ACEOF
8035 ;;
8036esac
8037
8038
8039 7719
8040{ echo "$as_me:$LINENO: checking for mode_t" >&5 7720{ echo "$as_me:$LINENO: checking for mode_t" >&5
8041echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; } 7721echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
8042if test "${ac_cv_type_mode_t+set}" = set; then 7722if test "${ac_cv_type_mode_t+set}" = set; then
8043 echo $ECHO_N "(cached) $ECHO_C" >&6 7723 echo $ECHO_N "(cached) $ECHO_C" >&6
10158 fi 9838 fi
10159fi 9839fi
10160 9840
10161 9841
10162 9842
10163{ echo "$as_me:$LINENO: checking return type of signal handlers" >&5
10164echo $ECHO_N "checking return type of signal handlers... $ECHO_C" >&6; }
10165if test "${ac_cv_type_signal+set}" = set; then
10166 echo $ECHO_N "(cached) $ECHO_C" >&6
10167else
10168 cat >conftest.$ac_ext <<_ACEOF
10169/* confdefs.h. */
10170_ACEOF
10171cat confdefs.h >>conftest.$ac_ext
10172cat >>conftest.$ac_ext <<_ACEOF
10173/* end confdefs.h. */
10174#include <sys/types.h>
10175#include <signal.h>
10176
10177int
10178main ()
10179{
10180return *(signal (0, 0)) (0) == 1;
10181 ;
10182 return 0;
10183}
10184_ACEOF
10185rm -f conftest.$ac_objext
10186if { (ac_try="$ac_compile"
10187case "(($ac_try" in
10188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10189 *) ac_try_echo=$ac_try;;
10190esac
10191eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
10192 (eval "$ac_compile") 2>conftest.er1
10193 ac_status=$?
10194 grep -v '^ *+' conftest.er1 >conftest.err
10195 rm -f conftest.er1
10196 cat conftest.err >&5
10197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10198 (exit $ac_status); } && {
10199 test -z "$ac_cxx_werror_flag" ||
10200 test ! -s conftest.err
10201 } && test -s conftest.$ac_objext; then
10202 ac_cv_type_signal=int
10203else
10204 echo "$as_me: failed program was:" >&5
10205sed 's/^/| /' conftest.$ac_ext >&5
10206
10207 ac_cv_type_signal=void
10208fi
10209
10210rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10211fi
10212{ echo "$as_me:$LINENO: result: $ac_cv_type_signal" >&5
10213echo "${ECHO_T}$ac_cv_type_signal" >&6; }
10214
10215cat >>confdefs.h <<_ACEOF
10216#define RETSIGTYPE $ac_cv_type_signal
10217_ACEOF
10218
10219
10220
10221 9843
10222for ac_func in unsetenv 9844for ac_func in unsetenv
10223do 9845do
10224as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9846as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
10225{ echo "$as_me:$LINENO: checking for $ac_func" >&5 9847{ echo "$as_me:$LINENO: checking for $ac_func" >&5
10464fi 10086fi
10465done 10087done
10466 10088
10467 10089
10468 10090
10469
10470
10471for ac_header in \ 10091for ac_header in lastlog.h
10472 utmp.h \
10473 utmpx.h \
10474 lastlog.h \
10475
10476do 10092do
10477as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` 10093as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10478if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then 10094if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10479 { echo "$as_me:$LINENO: checking for $ac_header" >&5 10095 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10480echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; } 10096echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10611 10227
10612done 10228done
10613 10229
10614 10230
10615 10231
10616if test "${ac_cv_header_utmp_h+set}" = set; then 10232
10233for ac_header in utmp.h
10234do
10235as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10236if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10617 { echo "$as_me:$LINENO: checking for utmp.h" >&5 10237 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10618echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 10238echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10619if test "${ac_cv_header_utmp_h+set}" = set; then 10239if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10620 echo $ECHO_N "(cached) $ECHO_C" >&6 10240 echo $ECHO_N "(cached) $ECHO_C" >&6
10621fi 10241fi
10242ac_res=`eval echo '${'$as_ac_Header'}'`
10622{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 10243 { echo "$as_me:$LINENO: result: $ac_res" >&5
10623echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 10244echo "${ECHO_T}$ac_res" >&6; }
10624else 10245else
10625 # Is the header compilable? 10246 # Is the header compilable?
10626{ echo "$as_me:$LINENO: checking utmp.h usability" >&5 10247{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10627echo $ECHO_N "checking utmp.h usability... $ECHO_C" >&6; } 10248echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10628cat >conftest.$ac_ext <<_ACEOF 10249cat >conftest.$ac_ext <<_ACEOF
10629/* confdefs.h. */ 10250/* confdefs.h. */
10630_ACEOF 10251_ACEOF
10631cat confdefs.h >>conftest.$ac_ext 10252cat confdefs.h >>conftest.$ac_ext
10632cat >>conftest.$ac_ext <<_ACEOF 10253cat >>conftest.$ac_ext <<_ACEOF
10633/* end confdefs.h. */ 10254/* end confdefs.h. */
10634$ac_includes_default 10255$ac_includes_default
10635#include <utmp.h> 10256#include <$ac_header>
10636_ACEOF 10257_ACEOF
10637rm -f conftest.$ac_objext 10258rm -f conftest.$ac_objext
10638if { (ac_try="$ac_compile" 10259if { (ac_try="$ac_compile"
10639case "(($ac_try" in 10260case "(($ac_try" in
10640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10662rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10283rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10663{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10284{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10664echo "${ECHO_T}$ac_header_compiler" >&6; } 10285echo "${ECHO_T}$ac_header_compiler" >&6; }
10665 10286
10666# Is the header present? 10287# Is the header present?
10667{ echo "$as_me:$LINENO: checking utmp.h presence" >&5 10288{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10668echo $ECHO_N "checking utmp.h presence... $ECHO_C" >&6; } 10289echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10669cat >conftest.$ac_ext <<_ACEOF 10290cat >conftest.$ac_ext <<_ACEOF
10670/* confdefs.h. */ 10291/* confdefs.h. */
10671_ACEOF 10292_ACEOF
10672cat confdefs.h >>conftest.$ac_ext 10293cat confdefs.h >>conftest.$ac_ext
10673cat >>conftest.$ac_ext <<_ACEOF 10294cat >>conftest.$ac_ext <<_ACEOF
10674/* end confdefs.h. */ 10295/* end confdefs.h. */
10675#include <utmp.h> 10296#include <$ac_header>
10676_ACEOF 10297_ACEOF
10677if { (ac_try="$ac_cpp conftest.$ac_ext" 10298if { (ac_try="$ac_cpp conftest.$ac_ext"
10678case "(($ac_try" in 10299case "(($ac_try" in
10679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10300 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10680 *) ac_try_echo=$ac_try;; 10301 *) ac_try_echo=$ac_try;;
10703echo "${ECHO_T}$ac_header_preproc" >&6; } 10324echo "${ECHO_T}$ac_header_preproc" >&6; }
10704 10325
10705# So? What about this header? 10326# So? What about this header?
10706case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10327case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
10707 yes:no: ) 10328 yes:no: )
10708 { echo "$as_me:$LINENO: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&5 10329 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
10709echo "$as_me: WARNING: utmp.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10330echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
10710 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the compiler's result" >&5 10331 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
10711echo "$as_me: WARNING: utmp.h: proceeding with the compiler's result" >&2;} 10332echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
10712 ac_header_preproc=yes 10333 ac_header_preproc=yes
10713 ;; 10334 ;;
10714 no:yes:* ) 10335 no:yes:* )
10715 { echo "$as_me:$LINENO: WARNING: utmp.h: present but cannot be compiled" >&5 10336 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
10716echo "$as_me: WARNING: utmp.h: present but cannot be compiled" >&2;} 10337echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
10717 { echo "$as_me:$LINENO: WARNING: utmp.h: check for missing prerequisite headers?" >&5 10338 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
10718echo "$as_me: WARNING: utmp.h: check for missing prerequisite headers?" >&2;} 10339echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
10719 { echo "$as_me:$LINENO: WARNING: utmp.h: see the Autoconf documentation" >&5 10340 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
10720echo "$as_me: WARNING: utmp.h: see the Autoconf documentation" >&2;} 10341echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
10721 { echo "$as_me:$LINENO: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&5 10342 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
10722echo "$as_me: WARNING: utmp.h: section \"Present But Cannot Be Compiled\"" >&2;} 10343echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
10723 { echo "$as_me:$LINENO: WARNING: utmp.h: proceeding with the preprocessor's result" >&5 10344 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
10724echo "$as_me: WARNING: utmp.h: proceeding with the preprocessor's result" >&2;} 10345echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
10725 { echo "$as_me:$LINENO: WARNING: utmp.h: in the future, the compiler will take precedence" >&5 10346 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
10726echo "$as_me: WARNING: utmp.h: in the future, the compiler will take precedence" >&2;} 10347echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
10727 10348
10728 ;; 10349 ;;
10729esac 10350esac
10730{ echo "$as_me:$LINENO: checking for utmp.h" >&5 10351{ echo "$as_me:$LINENO: checking for $ac_header" >&5
10731echo $ECHO_N "checking for utmp.h... $ECHO_C" >&6; } 10352echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10732if test "${ac_cv_header_utmp_h+set}" = set; then 10353if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10733 echo $ECHO_N "(cached) $ECHO_C" >&6 10354 echo $ECHO_N "(cached) $ECHO_C" >&6
10734else 10355else
10735 ac_cv_header_utmp_h=$ac_header_preproc 10356 eval "$as_ac_Header=\$ac_header_preproc"
10736fi 10357fi
10358ac_res=`eval echo '${'$as_ac_Header'}'`
10737{ echo "$as_me:$LINENO: result: $ac_cv_header_utmp_h" >&5 10359 { echo "$as_me:$LINENO: result: $ac_res" >&5
10738echo "${ECHO_T}$ac_cv_header_utmp_h" >&6; } 10360echo "${ECHO_T}$ac_res" >&6; }
10739 10361
10740fi 10362fi
10741if test $ac_cv_header_utmp_h = yes; then 10363if test `eval echo '${'$as_ac_Header'}'` = yes; then
10364 cat >>confdefs.h <<_ACEOF
10365#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10366_ACEOF
10742 { echo "$as_me:$LINENO: checking for struct utmp" >&5 10367 { echo "$as_me:$LINENO: checking for struct utmp" >&5
10743echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; } 10368echo $ECHO_N "checking for struct utmp... $ECHO_C" >&6; }
10744if test "${struct_utmp+set}" = set; then 10369if test "${struct_utmp+set}" = set; then
10745 echo $ECHO_N "(cached) $ECHO_C" >&6 10370 echo $ECHO_N "(cached) $ECHO_C" >&6
10746else 10371else
10747 cat >conftest.$ac_ext <<_ACEOF 10372 cat >conftest.$ac_ext <<_ACEOF
10914 10539
10915fi 10540fi
10916 10541
10917fi 10542fi
10918 10543
10544done
10919 10545
10920 10546
10921if test "${ac_cv_header_utmpx_h+set}" = set; then 10547
10548for ac_header in utmpx.h
10549do
10550as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
10551if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10922 { echo "$as_me:$LINENO: checking for utmpx.h" >&5 10552 { echo "$as_me:$LINENO: checking for $ac_header" >&5
10923echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 10553echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
10924if test "${ac_cv_header_utmpx_h+set}" = set; then 10554if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
10925 echo $ECHO_N "(cached) $ECHO_C" >&6 10555 echo $ECHO_N "(cached) $ECHO_C" >&6
10926fi 10556fi
10557ac_res=`eval echo '${'$as_ac_Header'}'`
10927{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 10558 { echo "$as_me:$LINENO: result: $ac_res" >&5
10928echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 10559echo "${ECHO_T}$ac_res" >&6; }
10929else 10560else
10930 # Is the header compilable? 10561 # Is the header compilable?
10931{ echo "$as_me:$LINENO: checking utmpx.h usability" >&5 10562{ echo "$as_me:$LINENO: checking $ac_header usability" >&5
10932echo $ECHO_N "checking utmpx.h usability... $ECHO_C" >&6; } 10563echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
10933cat >conftest.$ac_ext <<_ACEOF 10564cat >conftest.$ac_ext <<_ACEOF
10934/* confdefs.h. */ 10565/* confdefs.h. */
10935_ACEOF 10566_ACEOF
10936cat confdefs.h >>conftest.$ac_ext 10567cat confdefs.h >>conftest.$ac_ext
10937cat >>conftest.$ac_ext <<_ACEOF 10568cat >>conftest.$ac_ext <<_ACEOF
10938/* end confdefs.h. */ 10569/* end confdefs.h. */
10939$ac_includes_default 10570$ac_includes_default
10940#include <utmpx.h> 10571#include <$ac_header>
10941_ACEOF 10572_ACEOF
10942rm -f conftest.$ac_objext 10573rm -f conftest.$ac_objext
10943if { (ac_try="$ac_compile" 10574if { (ac_try="$ac_compile"
10944case "(($ac_try" in 10575case "(($ac_try" in
10945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10967rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext 10598rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10968{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5 10599{ echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
10969echo "${ECHO_T}$ac_header_compiler" >&6; } 10600echo "${ECHO_T}$ac_header_compiler" >&6; }
10970 10601
10971# Is the header present? 10602# Is the header present?
10972{ echo "$as_me:$LINENO: checking utmpx.h presence" >&5 10603{ echo "$as_me:$LINENO: checking $ac_header presence" >&5
10973echo $ECHO_N "checking utmpx.h presence... $ECHO_C" >&6; } 10604echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
10974cat >conftest.$ac_ext <<_ACEOF 10605cat >conftest.$ac_ext <<_ACEOF
10975/* confdefs.h. */ 10606/* confdefs.h. */
10976_ACEOF 10607_ACEOF
10977cat confdefs.h >>conftest.$ac_ext 10608cat confdefs.h >>conftest.$ac_ext
10978cat >>conftest.$ac_ext <<_ACEOF 10609cat >>conftest.$ac_ext <<_ACEOF
10979/* end confdefs.h. */ 10610/* end confdefs.h. */
10980#include <utmpx.h> 10611#include <$ac_header>
10981_ACEOF 10612_ACEOF
10982if { (ac_try="$ac_cpp conftest.$ac_ext" 10613if { (ac_try="$ac_cpp conftest.$ac_ext"
10983case "(($ac_try" in 10614case "(($ac_try" in
10984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;; 10615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
10985 *) ac_try_echo=$ac_try;; 10616 *) ac_try_echo=$ac_try;;
11008echo "${ECHO_T}$ac_header_preproc" >&6; } 10639echo "${ECHO_T}$ac_header_preproc" >&6; }
11009 10640
11010# So? What about this header? 10641# So? What about this header?
11011case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in 10642case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in
11012 yes:no: ) 10643 yes:no: )
11013 { echo "$as_me:$LINENO: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&5 10644 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
11014echo "$as_me: WARNING: utmpx.h: accepted by the compiler, rejected by the preprocessor!" >&2;} 10645echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
11015 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the compiler's result" >&5 10646 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
11016echo "$as_me: WARNING: utmpx.h: proceeding with the compiler's result" >&2;} 10647echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
11017 ac_header_preproc=yes 10648 ac_header_preproc=yes
11018 ;; 10649 ;;
11019 no:yes:* ) 10650 no:yes:* )
11020 { echo "$as_me:$LINENO: WARNING: utmpx.h: present but cannot be compiled" >&5 10651 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
11021echo "$as_me: WARNING: utmpx.h: present but cannot be compiled" >&2;} 10652echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
11022 { echo "$as_me:$LINENO: WARNING: utmpx.h: check for missing prerequisite headers?" >&5 10653 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
11023echo "$as_me: WARNING: utmpx.h: check for missing prerequisite headers?" >&2;} 10654echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
11024 { echo "$as_me:$LINENO: WARNING: utmpx.h: see the Autoconf documentation" >&5 10655 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
11025echo "$as_me: WARNING: utmpx.h: see the Autoconf documentation" >&2;} 10656echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
11026 { echo "$as_me:$LINENO: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&5 10657 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
11027echo "$as_me: WARNING: utmpx.h: section \"Present But Cannot Be Compiled\"" >&2;} 10658echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
11028 { echo "$as_me:$LINENO: WARNING: utmpx.h: proceeding with the preprocessor's result" >&5 10659 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
11029echo "$as_me: WARNING: utmpx.h: proceeding with the preprocessor's result" >&2;} 10660echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
11030 { echo "$as_me:$LINENO: WARNING: utmpx.h: in the future, the compiler will take precedence" >&5 10661 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
11031echo "$as_me: WARNING: utmpx.h: in the future, the compiler will take precedence" >&2;} 10662echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
11032 10663
11033 ;; 10664 ;;
11034esac 10665esac
11035{ echo "$as_me:$LINENO: checking for utmpx.h" >&5 10666{ echo "$as_me:$LINENO: checking for $ac_header" >&5
11036echo $ECHO_N "checking for utmpx.h... $ECHO_C" >&6; } 10667echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
11037if test "${ac_cv_header_utmpx_h+set}" = set; then 10668if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
11038 echo $ECHO_N "(cached) $ECHO_C" >&6 10669 echo $ECHO_N "(cached) $ECHO_C" >&6
11039else 10670else
11040 ac_cv_header_utmpx_h=$ac_header_preproc 10671 eval "$as_ac_Header=\$ac_header_preproc"
11041fi 10672fi
10673ac_res=`eval echo '${'$as_ac_Header'}'`
11042{ echo "$as_me:$LINENO: result: $ac_cv_header_utmpx_h" >&5 10674 { echo "$as_me:$LINENO: result: $ac_res" >&5
11043echo "${ECHO_T}$ac_cv_header_utmpx_h" >&6; } 10675echo "${ECHO_T}$ac_res" >&6; }
11044 10676
11045fi 10677fi
11046if test $ac_cv_header_utmpx_h = yes; then 10678if test `eval echo '${'$as_ac_Header'}'` = yes; then
10679 cat >>confdefs.h <<_ACEOF
10680#define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
10681_ACEOF
11047 { echo "$as_me:$LINENO: checking for struct utmpx" >&5 10682 { echo "$as_me:$LINENO: checking for struct utmpx" >&5
11048echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; } 10683echo $ECHO_N "checking for struct utmpx... $ECHO_C" >&6; }
11049if test "${struct_utmpx+set}" = set; then 10684if test "${struct_utmpx+set}" = set; then
11050 echo $ECHO_N "(cached) $ECHO_C" >&6 10685 echo $ECHO_N "(cached) $ECHO_C" >&6
11051else 10686else
11052 cat >conftest.$ac_ext <<_ACEOF 10687 cat >conftest.$ac_ext <<_ACEOF
11219 10854
11220fi 10855fi
11221 10856
11222fi 10857fi
11223 10858
10859done
11224 10860
11225{ echo "$as_me:$LINENO: checking for struct lastlog" >&5 10861{ echo "$as_me:$LINENO: checking for struct lastlog" >&5
11226echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; } 10862echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6; }
11227if test "${struct_lastlog+set}" = set; then 10863if test "${struct_lastlog+set}" = set; then
11228 echo $ECHO_N "(cached) $ECHO_C" >&6 10864 echo $ECHO_N "(cached) $ECHO_C" >&6
14376host_cpu!$host_cpu$ac_delim 14012host_cpu!$host_cpu$ac_delim
14377host_vendor!$host_vendor$ac_delim 14013host_vendor!$host_vendor$ac_delim
14378host_os!$host_os$ac_delim 14014host_os!$host_os$ac_delim
14379VERSION!$VERSION$ac_delim 14015VERSION!$VERSION$ac_delim
14380DATE!$DATE$ac_delim 14016DATE!$DATE$ac_delim
14381LSMDATE!$LSMDATE$ac_delim
14382LIBVERSION!$LIBVERSION$ac_delim
14383CC!$CC$ac_delim 14017CC!$CC$ac_delim
14384CFLAGS!$CFLAGS$ac_delim 14018CFLAGS!$CFLAGS$ac_delim
14385LDFLAGS!$LDFLAGS$ac_delim 14019LDFLAGS!$LDFLAGS$ac_delim
14386CPPFLAGS!$CPPFLAGS$ac_delim 14020CPPFLAGS!$CPPFLAGS$ac_delim
14387ac_ct_CC!$ac_ct_CC$ac_delim 14021ac_ct_CC!$ac_ct_CC$ac_delim
14395INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim 14029INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
14396INSTALL_DATA!$INSTALL_DATA$ac_delim 14030INSTALL_DATA!$INSTALL_DATA$ac_delim
14397GREP!$GREP$ac_delim 14031GREP!$GREP$ac_delim
14398EGREP!$EGREP$ac_delim 14032EGREP!$EGREP$ac_delim
14399LINKER!$LINKER$ac_delim 14033LINKER!$LINKER$ac_delim
14400INSTALL_LIBRXVT!$INSTALL_LIBRXVT$ac_delim
14401RXVTNAME!$RXVTNAME$ac_delim 14034RXVTNAME!$RXVTNAME$ac_delim
14402CXXCPP!$CXXCPP$ac_delim 14035CXXCPP!$CXXCPP$ac_delim
14403TIC!$TIC$ac_delim 14036TIC!$TIC$ac_delim
14404XMKMF!$XMKMF$ac_delim 14037XMKMF!$XMKMF$ac_delim
14405X_CFLAGS!$X_CFLAGS$ac_delim 14038X_CFLAGS!$X_CFLAGS$ac_delim
14426include_stdint_h!$include_stdint_h$ac_delim 14059include_stdint_h!$include_stdint_h$ac_delim
14427include_stdarg_h!$include_stdarg_h$ac_delim 14060include_stdarg_h!$include_stdarg_h$ac_delim
14428include_stdlib_h!$include_stdlib_h$ac_delim 14061include_stdlib_h!$include_stdlib_h$ac_delim
14429include_unistd_h!$include_unistd_h$ac_delim 14062include_unistd_h!$include_unistd_h$ac_delim
14430include_string_h!$include_string_h$ac_delim 14063include_string_h!$include_string_h$ac_delim
14064include_fcntl_h!$include_fcntl_h$ac_delim
14065include_util_h!$include_util_h$ac_delim
14066include_assert_h!$include_assert_h$ac_delim
14431_ACEOF 14067_ACEOF
14432 14068
14433 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then 14069 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
14434 break 14070 break
14435 elif $ac_last_try; then 14071 elif $ac_last_try; then
14467 14103
14468 14104
14469ac_delim='%!_!# ' 14105ac_delim='%!_!# '
14470for ac_last_try in false false false false false :; do 14106for ac_last_try in false false false false false :; do
14471 cat >conf$$subs.sed <<_ACEOF 14107 cat >conf$$subs.sed <<_ACEOF
14472include_fcntl_h!$include_fcntl_h$ac_delim
14473include_util_h!$include_util_h$ac_delim
14474include_assert_h!$include_assert_h$ac_delim
14475include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim 14108include_sys_ioctl_h!$include_sys_ioctl_h$ac_delim
14476include_sys_select_h!$include_sys_select_h$ac_delim 14109include_sys_select_h!$include_sys_select_h$ac_delim
14477include_sys_strredir_h!$include_sys_strredir_h$ac_delim 14110include_sys_strredir_h!$include_sys_strredir_h$ac_delim
14478include_sys_time_h!$include_sys_time_h$ac_delim 14111include_sys_time_h!$include_sys_time_h$ac_delim
14479include_time_h!$include_time_h$ac_delim 14112include_time_h!$include_time_h$ac_delim
14480LIBOBJS!$LIBOBJS$ac_delim 14113LIBOBJS!$LIBOBJS$ac_delim
14481LTLIBOBJS!$LTLIBOBJS$ac_delim 14114LTLIBOBJS!$LTLIBOBJS$ac_delim
14482_ACEOF 14115_ACEOF
14483 14116
14484 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 10; then 14117 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 7; then
14485 break 14118 break
14486 elif $ac_last_try; then 14119 elif $ac_last_try; then
14487 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5 14120 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
14488echo "$as_me: error: could not make $CONFIG_STATUS" >&2;} 14121echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
14489 { (exit 1); exit 1; }; } 14122 { (exit 1); exit 1; }; }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines