From e104976099aa90592b30804b7bd51ab0cc59b8c6 Mon Sep 17 00:00:00 2001 From: ayin Date: Mon, 5 Nov 2007 01:04:43 +0000 Subject: [PATCH] *** empty log message *** --- config.h.in | 18 +++--------------- configure | 41 ++--------------------------------------- 2 files changed, 5 insertions(+), 54 deletions(-) diff --git a/config.h.in b/config.h.in index a65370f9..d1804dbf 100644 --- a/config.h.in +++ b/config.h.in @@ -94,9 +94,6 @@ /* Define if nl_langinfo(CODESET) works */ #undef HAVE_NL_LANGINFO -/* Define to 1 if you have the `on_exit' function. */ -#undef HAVE_ON_EXIT - /* Define to 1 if you have the `openpty' function. */ #undef HAVE_OPENPTY @@ -124,9 +121,6 @@ /* Define to 1 if you have the `setuid' function. */ #undef HAVE_SETUID -/* Define to 1 if you have the `setutent' function. */ -#undef HAVE_SETUTENT - /* Define to 1 if you have the header file. */ #undef HAVE_STDARG_H @@ -187,9 +181,6 @@ /* Define to 1 if you have the header file. */ #undef HAVE_TERMIOS_H -/* Define to 1 if you have the `ttyslot' function. */ -#undef HAVE_TTYSLOT - /* Define to 1 if you have the header file. */ #undef HAVE_UNISTD_H @@ -200,6 +191,9 @@ /* Define to 1 if you have the `unsetenv' function. */ #undef HAVE_UNSETENV +/* Define to 1 if you have the `updlastlogx' function. */ +#undef HAVE_UPDLASTLOGX + /* Define to 1 if you have the `updwtmp' function. */ #undef HAVE_UPDWTMP @@ -251,9 +245,6 @@ /* Define location of lastlog */ #undef LASTLOG_FILE -/* Define if lastlog is provided via a directory */ -#undef LASTLOG_IS_DIR - /* Define if you want to have lastlog support when utmp/utmpx is enabled */ #undef LASTLOG_SUPPORT @@ -363,9 +354,6 @@ /* Define to 1 if you can safely include both and . */ #undef TIME_WITH_SYS_TIME -/* Define location of ttys/ttytab */ -#undef TTYTAB_FILENAME - /* "" */ #undef TTY_GID_SUPPORT diff --git a/configure b/configure index 708b0650..43d9f539 100755 --- a/configure +++ b/configure @@ -9638,13 +9638,7 @@ _ACEOF - - -for ac_func in \ - unsetenv \ - setutent \ - on_exit \ - +for ac_func in unsetenv do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` { echo "$as_me:$LINENO: checking for $ac_func" >&5 @@ -9793,9 +9787,9 @@ fi for ac_func in \ - ttyslot \ updwtmp \ updwtmpx \ + updlastlogx \ do as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh` @@ -11226,13 +11220,6 @@ cat >>confdefs.h <<_ACEOF #define LASTLOG_FILE "$path_lastlog" _ACEOF - if test -d "$path_lastlog"; then - -cat >>confdefs.h <<\_ACEOF -#define LASTLOG_IS_DIR 1 -_ACEOF - - fi fi { echo "$as_me:$LINENO: checking where lastlogx is located" >&5 @@ -11324,30 +11311,6 @@ fi -{ echo "$as_me:$LINENO: checking where ttys/ttytab is located" >&5 -echo $ECHO_N "checking where ttys/ttytab is located... $ECHO_C" >&6; } -if test "${rxvt_cv_path_ttytab+set}" = set; then - echo $ECHO_N "(cached) $ECHO_C" >&6 -else - for ttys_file in /etc/ttys /etc/ttytab; -do - if test -f "$ttys_file" ; then - rxvt_cv_path_ttytab=$ttys_file - break - fi -done - -fi -{ echo "$as_me:$LINENO: result: $rxvt_cv_path_ttytab" >&5 -echo "${ECHO_T}$rxvt_cv_path_ttytab" >&6; } -if test x$rxvt_cv_path_ttytab != x; then - -cat >>confdefs.h <<_ACEOF -#define TTYTAB_FILENAME "$rxvt_cv_path_ttytab" -_ACEOF - -fi - save_LIBS=$LIBS save_CFLAGS=$CFLAGS -- 2.34.1