/* 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
/* 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 <stdarg.h> header file. */
#undef HAVE_STDARG_H
/* Define to 1 if you have the <termios.h> 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 <unistd.h> header file. */
#undef HAVE_UNISTD_H
/* 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
/* 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
/* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
#undef TIME_WITH_SYS_TIME
-/* Define location of ttys/ttytab */
-#undef TTYTAB_FILENAME
-
/* "" */
#undef TTY_GID_SUPPORT
-
-
-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
for ac_func in \
- ttyslot \
updwtmp \
updwtmpx \
+ updlastlogx \
do
as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
#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
-{ 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