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

Comparing rxvt-unicode/configure (file contents):
Revision 1.51 by root, Wed Feb 16 20:32:05 2005 UTC vs.
Revision 1.53 by root, Fri Feb 18 12:15:06 2005 UTC

9659 9659
9660 9660
9661 9661
9662 9662
9663 9663
9664
9664for ac_func in \ 9665for ac_func in \
9665 atexit \ 9666 atexit \
9666 revoke \ 9667 revoke \
9667 unsetenv \ 9668 unsetenv \
9668 setutent \ 9669 setutent \
9677 unlockpt \ 9678 unlockpt \
9678 isastream \ 9679 isastream \
9679 on_exit \ 9680 on_exit \
9680 nanosleep \ 9681 nanosleep \
9681 updwtmp \ 9682 updwtmp \
9683 updwtmpx \
9682 ttyslot \ 9684 ttyslot \
9683 9685
9684do 9686do
9685as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` 9687as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
9686echo "$as_me:$LINENO: checking for $ac_func" >&5 9688echo "$as_me:$LINENO: checking for $ac_func" >&5
10366#define HAVE_UTMPX_HOST 1 10368#define HAVE_UTMPX_HOST 1
10367_ACEOF 10369_ACEOF
10368 10370
10369fi 10371fi
10370 10372
10371fi 10373echo "$as_me:$LINENO: checking for session in utmpx struct" >&5
10374echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6
10375if test "${rxvt_cv_struct_utmpx_session+set}" = set; then
10376 echo $ECHO_N "(cached) $ECHO_C" >&6
10377else
10378 cat >conftest.$ac_ext <<_ACEOF
10379/* confdefs.h. */
10380_ACEOF
10381cat confdefs.h >>conftest.$ac_ext
10382cat >>conftest.$ac_ext <<_ACEOF
10383/* end confdefs.h. */
10384#include <sys/types.h>
10385#include <utmpx.h>
10386int
10387main ()
10388{
10389struct utmpx utx; utx.ut_session;
10390 ;
10391 return 0;
10392}
10393_ACEOF
10394rm -f conftest.$ac_objext
10395if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
10396 (eval $ac_compile) 2>conftest.er1
10397 ac_status=$?
10398 grep -v '^ *+' conftest.er1 >conftest.err
10399 rm -f conftest.er1
10400 cat conftest.err >&5
10401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10402 (exit $ac_status); } &&
10403 { ac_try='test -z "$ac_cxx_werror_flag" || test ! -s conftest.err'
10404 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10405 (eval $ac_try) 2>&5
10406 ac_status=$?
10407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10408 (exit $ac_status); }; } &&
10409 { ac_try='test -s conftest.$ac_objext'
10410 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
10411 (eval $ac_try) 2>&5
10412 ac_status=$?
10413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
10414 (exit $ac_status); }; }; then
10415 rxvt_cv_struct_utmpx_session=yes
10416else
10417 echo "$as_me: failed program was:" >&5
10418sed 's/^/| /' conftest.$ac_ext >&5
10372 10419
10420rxvt_cv_struct_utmpx_session=no
10421fi
10422rm -f conftest.err conftest.$ac_objext conftest.$ac_ext
10423fi
10424echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5
10425echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6
10426if test x$rxvt_cv_struct_utmpx_session = xyes; then
10427
10428cat >>confdefs.h <<\_ACEOF
10429#define HAVE_UTMPX_SESSION 1
10430_ACEOF
10431
10432fi
10433
10434fi
10373 10435
10374 10436
10375echo "$as_me:$LINENO: checking for struct lastlog" >&5 10437echo "$as_me:$LINENO: checking for struct lastlog" >&5
10376echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 10438echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6
10377if test "${rxvt_cv_struct_lastlog+set}" = set; then 10439if test "${rxvt_cv_struct_lastlog+set}" = set; then
13356 echo ". functions could not be found. ." 13418 echo ". functions could not be found. ."
13357 echo ". XIM is now being DISABLED! ." 13419 echo ". XIM is now being DISABLED! ."
13358 echo ".----------------------------------------------------------------." 13420 echo ".----------------------------------------------------------------."
13359fi 13421fi
13360 13422
13361echo " *** Please check src/feature.h for further options ***" 13423echo " *** Optionally check src/feature.h for further options ***"
13362echo 13424echo
13363 13425
13364echo ".----------------------------------------------------------------." 13426echo ".----------------------------------------------------------------."
13365echo ". NOTE: most features are disabled by default, try ." 13427echo ". NOTE: most features are disabled by default, try ."
13366echo ". configure --help to get an idea of the optional features ." 13428echo ". configure --help to get an idea of the optional features, ."
13429echo ". or read ./README.configure ."
13430echo ". ."
13431echo ". The script ./reconf gives a reasonable baseline, try it if ."
13432echo ". you do not want to read documentation and still want some ."
13433echo ". useful features. ."
13367echo ".----------------------------------------------------------------." 13434echo ".----------------------------------------------------------------."
13368echo 13435echo
13369 13436

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines