AC_SUBST(OURDEFS)
AC_HEADER_STDC
-AC_HEADER_TIME
AC_HEADER_TIOCGWINSZ
AC_CHECK_HEADERS(fcntl.h crypt.h termcap.h \
langinfo.h wchar.h wctype.h iconv.h \
dnl ---------------
dnl CHECK FUNCTIONS
dnl ---------------
-AC_CHECK_FUNCS(lstat tzset getutent nl_langinfo mbtowc wcwidth)
+AC_CHECK_FUNCS(lstat getutent 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
dnl CHECK STRUCTURES
dnl ----------------
-AC_CHECK_MEMBERS(struct tm.tm_gmtoff,,,
- [#ifdef TIME_WITH_SYS_TIME
-# include <sys/time.h>
-# include <time.h>
-#else
-# ifdef TM_IN_SYS_TIME
-# include <sys/time.h>
-# else
-# include <time.h>
-# endif
-#endif])
+AC_CHECK_MEMBERS([struct tm.tm_gmtoff],,,[#include <time.h>])
AC_CHECK_MEMBERS(struct utmp.ut_type,,,[#include <utmp.h>])