… | |
… | |
9659 | |
9659 | |
9660 | |
9660 | |
9661 | |
9661 | |
9662 | |
9662 | |
9663 | |
9663 | |
|
|
9664 | |
9664 | for ac_func in \ |
9665 | for 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 | |
9684 | do |
9686 | do |
9685 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9687 | as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` |
9686 | echo "$as_me:$LINENO: checking for $ac_func" >&5 |
9688 | echo "$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 | |
10369 | fi |
10371 | fi |
10370 | |
10372 | |
10371 | fi |
10373 | echo "$as_me:$LINENO: checking for session in utmpx struct" >&5 |
|
|
10374 | echo $ECHO_N "checking for session in utmpx struct... $ECHO_C" >&6 |
|
|
10375 | if test "${rxvt_cv_struct_utmpx_session+set}" = set; then |
|
|
10376 | echo $ECHO_N "(cached) $ECHO_C" >&6 |
|
|
10377 | else |
|
|
10378 | cat >conftest.$ac_ext <<_ACEOF |
|
|
10379 | /* confdefs.h. */ |
|
|
10380 | _ACEOF |
|
|
10381 | cat confdefs.h >>conftest.$ac_ext |
|
|
10382 | cat >>conftest.$ac_ext <<_ACEOF |
|
|
10383 | /* end confdefs.h. */ |
|
|
10384 | #include <sys/types.h> |
|
|
10385 | #include <utmpx.h> |
|
|
10386 | int |
|
|
10387 | main () |
|
|
10388 | { |
|
|
10389 | struct utmpx utx; utx.ut_session; |
|
|
10390 | ; |
|
|
10391 | return 0; |
|
|
10392 | } |
|
|
10393 | _ACEOF |
|
|
10394 | rm -f conftest.$ac_objext |
|
|
10395 | if { (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 |
|
|
10416 | else |
|
|
10417 | echo "$as_me: failed program was:" >&5 |
|
|
10418 | sed 's/^/| /' conftest.$ac_ext >&5 |
10372 | |
10419 | |
|
|
10420 | rxvt_cv_struct_utmpx_session=no |
|
|
10421 | fi |
|
|
10422 | rm -f conftest.err conftest.$ac_objext conftest.$ac_ext |
|
|
10423 | fi |
|
|
10424 | echo "$as_me:$LINENO: result: $rxvt_cv_struct_utmpx_session" >&5 |
|
|
10425 | echo "${ECHO_T}$rxvt_cv_struct_utmpx_session" >&6 |
|
|
10426 | if test x$rxvt_cv_struct_utmpx_session = xyes; then |
|
|
10427 | |
|
|
10428 | cat >>confdefs.h <<\_ACEOF |
|
|
10429 | #define HAVE_UTMPX_SESSION 1 |
|
|
10430 | _ACEOF |
|
|
10431 | |
|
|
10432 | fi |
|
|
10433 | |
|
|
10434 | fi |
10373 | |
10435 | |
10374 | |
10436 | |
10375 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10437 | echo "$as_me:$LINENO: checking for struct lastlog" >&5 |
10376 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10438 | echo $ECHO_N "checking for struct lastlog... $ECHO_C" >&6 |
10377 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |
10439 | if test "${rxvt_cv_struct_lastlog+set}" = set; then |