From 65e98a366ceb37c997d76baeb2f1cfad6bbf801c Mon Sep 17 00:00:00 2001 From: German Service Network Date: Sat, 30 Sep 2023 21:12:59 +0200 Subject: [PATCH 1/2] Checking obsolete macro AC_GNU_SOURCE as of autoconf-2.62 --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index f70a4a77..8cede20a 100644 --- a/configure.ac +++ b/configure.ac @@ -4,7 +4,8 @@ dnl Minimum Autoconf version required. AC_PREREQ(2.59) AC_INIT([fping],[5.1]) -AC_GNU_SOURCE + +m4_ifdef([AC_AUTOCONF_VERSION],[AC_USE_SYSTEM_EXTENSIONS], [AC_GNU_SOURCE]) dnl --disable-ipv4 AC_ARG_ENABLE([ipv4], From c7b3af6836d88894330f1f2ba406356981baa366 Mon Sep 17 00:00:00 2001 From: German Service Network Date: Wed, 1 Nov 2023 08:39:57 +0100 Subject: [PATCH 2/2] Checking obsolete macro AC_PROG_CC_STDC as of autoconf-2.70 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 8cede20a..f75efd5b 100644 --- a/configure.ac +++ b/configure.ac @@ -60,7 +60,7 @@ dnl Checks for programs. AC_PROG_CC AM_PROG_CC_C_O -AC_PROG_CC_STDC +m4_version_prereq([2.70],,[AC_PROG_CC_STDC]) AC_PROG_CPP AC_PROG_INSTALL