1
0
mirror of git://git.gnupg.org/gnupg.git synced 2024-12-22 10:19:57 +01:00

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

View File

@ -1357,13 +1357,12 @@ fi
# #
AC_MSG_NOTICE([checking for header files]) AC_MSG_NOTICE([checking for header files])
AC_HEADER_STDC AC_HEADER_STDC
AC_HEADER_TIME
AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \ AC_CHECK_HEADERS([string.h unistd.h langinfo.h termio.h locale.h getopt.h \
pwd.h inttypes.h signal.h sys/select.h \ pwd.h inttypes.h signal.h sys/select.h \
stdint.h signal.h termios.h \ stdint.h signal.h termios.h \
ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h]) ucred.h sys/ucred.h sys/sysmacros.h sys/mkdev.h])
AC_HEADER_TIME
# #
# Checks for typedefs, structures, and compiler characteristics. # 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)
AC_CHECK_SIZEOF(unsigned long long) AC_CHECK_SIZEOF(unsigned long long)
AC_CHECK_SIZEOF(size_t) AC_CHECK_SIZEOF(size_t)
AC_HEADER_TIME
AC_CHECK_SIZEOF(time_t,,[[ AC_CHECK_SIZEOF(time_t,,[[
#include <stdio.h> #include <stdio.h>
#if TIME_WITH_SYS_TIME #if TIME_WITH_SYS_TIME