From 6b4441a7de9d7090bb3b1570a12e1e8bce0554cb Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Wed, 22 Dec 2021 10:36:26 +0900 Subject: build: Update for newer autoconf. * configure.ac (AC_PREREQ): Use >= 2.69. (AC_CONFIG_HEADERS): Use it, instead of AC_CONFIG_HEADER. (AC_HEADER_STDC, AC_HEADER_TIME): Remove obsolete macros. (sys/time.h): Add the check of the header. (time_t): Don't use TIME_WITH_SYS_TIME. * acinclude.m4 (AC_HEADER_TIME): Don't require. Don't use TIME_WITH_SYS_TIME. * dirmngr/dns.c: Don't use TIME_WITH_SYS_TIME. -- Signed-off-by: NIIBE Yutaka --- dirmngr/dns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dirmngr/dns.c') diff --git a/dirmngr/dns.c b/dirmngr/dns.c index 0296d6296..9afb6e358 100644 --- a/dirmngr/dns.c +++ b/dirmngr/dns.c @@ -56,7 +56,7 @@ #include typedef SOCKET socket_fd_t; #define STDCALL __stdcall -#ifdef TIME_WITH_SYS_TIME +#ifdef HAVE_SYS_TIME_H #include /* gettimeofday(2) */ #endif #else -- cgit v1.2.3