1
0
Fork 0
mirror of git://git.gnupg.org/gnupg.git synced 2025-07-03 22:56:33 +02:00

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 <gniibe@fsij.org>
(cherry picked from commit 6b4441a7de)
This commit is contained in:
NIIBE Yutaka 2021-12-22 10:36:26 +09:00 committed by Werner Koch
parent cdb053620a
commit 51dc05c308
No known key found for this signature in database
GPG key ID: E3FDFF218E45B72B
4 changed files with 13 additions and 26 deletions

View file

@ -10,7 +10,7 @@ dnl the same distribution terms as the rest of that program.
AC_DEFUN([GNUPG_CHECK_USTAR],
[
AC_ARG_WITH(tar,
AC_HELP_STRING([--with-tar=PATH],[look for a tar program in PATH]),
AS_HELP_STRING([--with-tar=PATH],[look for a tar program in PATH]),
[_do_tar=$withval])
if test x$_do_tar != xno ; then