From 89f93c9376dad69807a27b314c30e1595912e679 Mon Sep 17 00:00:00 2001 From: Marc Schink Date: Sun, 19 Jun 2022 00:23:06 +0200 Subject: [PATCH] configure.ac: Drop 'AC_PROG_CC_C99' for Autoconf >= 2.70 Thanks to rdiez for reporting this. Signed-off-by: Marc Schink --- configure.ac | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 1279d88..181547e 100644 --- a/configure.ac +++ b/configure.ac @@ -35,7 +35,8 @@ JAYLINK_CFLAGS="-Wall -Wextra -Werror -fvisibility=hidden" # Checks for programs. AC_PROG_CC -AC_PROG_CC_C99 +# AC_PROG_CC_C99 is dropped in Autoconf >= 2.70 and done in AC_PROG_CC. ++m4_version_prereq([2.70],[],[AC_PROG_CC_C99]) # Automake >= 1.12 requires AM_PROG_AR when using options -Wall and -Werror. # To be compatible with older versions of Automake use AM_PROG_AR if it's -- 2.11.4.GIT