Removed the undocumented `select' option of slocal(1) and thus removed utmp.
[mmh] / configure.ac
index a1f287c..51a4d1a 100644 (file)
@@ -359,7 +359,7 @@ AC_CHECK_HEADER([sys/ptem.h], AC_DEFINE(WINSIZE_IN_PTEM,1,
 dnl ---------------
 dnl CHECK FUNCTIONS
 dnl ---------------
-AC_CHECK_FUNCS(lstat getutent nl_langinfo mbtowc wcwidth)
+AC_CHECK_FUNCS(lstat nl_langinfo mbtowc wcwidth)
 
 dnl Look for the initgroups() declaration.  On AIX 4.[13], Solaris 4.1.3, and
 dnl ULTRIX 4.2A the function is defined in libc but there's no declaration in
@@ -533,10 +533,6 @@ dnl ----------------
 dnl CHECK STRUCTURES
 dnl ----------------
 
-AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
-
-AC_CHECK_MEMBERS(struct utmp.ut_type,,,[#include <utmp.h>])
-
 AC_STRUCT_DIRENT_D_TYPE
 
 dnl Where is <signal.h> located?  Needed as input for signames.awk
@@ -557,34 +553,6 @@ nmh_cv_path_signal_h=$SIGNAL_H
 SIGNAL_H=$nmh_cv_path_signal_h
 AC_SUBST(SIGNAL_H)dnl
 
-dnl ----------------
-dnl OS SPECIFIC DEFINES
-dnl ----------------
-AH_TEMPLATE(BSD42, [Defined for SunOS 4, FreeBSD, NetBSD, OpenBSD, BSD/OS, Mac OS X/Rhapsody -- does PicoBSD have uname?])
-AH_TEMPLATE(SCO_5_STDIO, [Defined for SCO5.])
-
-case "$target_os" in
-
-  sunos4*)
-    AC_DEFINE(BSD42)
-    ;;
-  freebsd*)
-    AC_DEFINE(BSD42)
-    ;;
-  netbsd*)
-    AC_DEFINE(BSD42)
-    ;;
-  openbsd*)
-    AC_DEFINE(BSD42)
-    ;;
-  bsd/os*)
-    AC_DEFINE(BSD42)
-    ;;
-  sco5*)
-    AC_DEFINE(SCO_5_STDIO)
-    ;;
-esac
-
 
 dnl ----------------
 dnl OUTPUT MAKEFILES