summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNIIBE Yutaka <gniibe@fsij.org>2021-08-05 03:36:33 +0200
committerNIIBE Yutaka <gniibe@fsij.org>2021-08-05 03:36:33 +0200
commit3f33c7ffcca09d4252d0418fdc2d31c0c8e486f4 (patch)
tree8dac96b1837153da0d87f071cea28e304eb3d6ba
parentbuild: Update checking headers. (diff)
downloadgnupg2-3f33c7ffcca09d4252d0418fdc2d31c0c8e486f4.tar.xz
gnupg2-3f33c7ffcca09d4252d0418fdc2d31c0c8e486f4.zip
build: Remove duplication of AC_HEADER_TIME.
* configure.ac: Have a single AC_HEADER_TIME. Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
-rw-r--r--configure.ac4
1 files changed, 1 insertions, 3 deletions
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 <stdio.h>
#if TIME_WITH_SYS_TIME