summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoe Orton <jorton@redhat.com>2023-01-03 11:03:14 +0000
committerJoe Orton <jorton@apache.org>2023-01-03 14:00:03 +0000
commit7abe9c8efad97d3b5b372f9a1419bfad809b3be8 (patch)
tree5d7852212f6a9b8f89daf112ec6ab0ff2d3023d6
parent7d39a09945830c664205dd307723c2ff51ae13e3 (diff)
downloadneon-git-7abe9c8efad97d3b5b372f9a1419bfad809b3be8.tar.gz
* configure.ac, macros/neon-test.m4, macros/neon.m4:
Update to avoid warnings with autoconf 2.70+. No functional change.
-rw-r--r--configure.ac2
-rw-r--r--macros/neon-test.m41
-rw-r--r--macros/neon.m42
3 files changed, 1 insertions, 4 deletions
diff --git a/configure.ac b/configure.ac
index bd2eb07..8ae9a98 100644
--- a/configure.ac
+++ b/configure.ac
@@ -11,7 +11,7 @@ This configure script may be copied, distributed and modified under the
terms of the GNU Library General Public license; see src/COPYING.LIB for
more details.])
-AC_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADERS([config.h])
AC_CONFIG_SRCDIR(src/ne_request.c)
NEON_WITH_LIBS
diff --git a/macros/neon-test.m4 b/macros/neon-test.m4
index 495765a..0eb70f1 100644
--- a/macros/neon-test.m4
+++ b/macros/neon-test.m4
@@ -30,7 +30,6 @@ AC_REQUIRE([NEON_COMMON_CHECKS])
AC_REQUIRE([NE_FORMAT_TIMET])
AC_REQUIRE([AC_TYPE_PID_T])
-AC_REQUIRE([AC_HEADER_TIME])
dnl NEON_XML_PARSER may add things (e.g. -I/usr/local/include) to
dnl CPPFLAGS which make "gcc -Werror" fail in NEON_FORMAT; suggest
diff --git a/macros/neon.m4 b/macros/neon.m4
index c2554e2..72bcf0b 100644
--- a/macros/neon.m4
+++ b/macros/neon.m4
@@ -503,8 +503,6 @@ AC_REQUIRE([NE_CHECK_OS])
AC_REQUIRE([AC_PROG_MAKE_SET])
-AC_REQUIRE([AC_HEADER_STDC])
-
AC_CHECK_HEADERS([errno.h stdarg.h string.h stdlib.h sys/uio.h])
NEON_FORMAT(size_t,,u) dnl size_t is unsigned; use %u formats