build: Remove duplication of AC_HEADER_TIME.

* configure.ac: Have a single AC_HEADER_TIME.

Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
This commit is contained in:
NIIBE Yutaka 2021-08-05 10:36:33 +09:00
parent a89f13726d
commit 3f33c7ffcc
1 changed files with 1 additions and 3 deletions

View File

@ -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 <stdio.h>
#if TIME_WITH_SYS_TIME