diff --git a/configure.ac b/configure.ac index 314434fb0..361a5d80d 100644 --- a/configure.ac +++ b/configure.ac @@ -1357,13 +1357,12 @@ fi # AC_MSG_NOTICE([checking for header files]) AC_HEADER_STDC +AC_HEADER_TIME AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \ pwd.h inttypes.h signal.h sys/select.h \ stdint.h signal.h termios.h \ ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h]) -AC_HEADER_TIME - # # Checks for typedefs, structures, and compiler characteristics. @@ -1403,7 +1402,6 @@ AC_CHECK_SIZEOF(unsigned int) AC_CHECK_SIZEOF(unsigned long) AC_CHECK_SIZEOF(unsigned long long) AC_CHECK_SIZEOF(size_t) -AC_HEADER_TIME AC_CHECK_SIZEOF(time_t,,[[ #include #if TIME_WITH_SYS_TIME