This is an automated email from the git hooks/post-receive script.
andyp pushed a commit to branch andyp-c99
in repository gfs2-utils.
commit 498a2103bb6f5b0ae039eefefc51ef5228d456ff
Author: Andrew Price <anprice(a)redhat.com>
AuthorDate: Fri Oct 14 10:23:10 2022 +0100
configure: Only use AC_PROG_CC_C99 for autoconf < 2.70
configure.ac:56: warning: The macro `AC_PROG_CC_C99' is obsolete.
The functionality was rolled into AC_PROG_CC in Autoconf 2.70 but we
still need to use AC_PROG_CC_C99 in older distros, so invoke it via
m4_version_prereq()
Signed-off-by: Andrew Price <anprice(a)redhat.com>
---
configure.ac | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/configure.ac b/configure.ac
index 031d1014..73a9e207 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,8 @@ if ! ${MAKE-make} --version /cannot/make/this >/dev/null 2>&1;
then
fi
AC_PROG_CC
-AC_PROG_CC_C99
+# Autoconf 2.70 obsoletes AC_PROG_CC_C99 but we still care about older distros
+m4_version_prereq([2.70],[],[AC_PROG_CC_C99])
if test "x$ac_cv_prog_cc_c99" = "xno"; then
AC_MSG_ERROR(["C99 support is required"])
fi
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
Show replies by date