From: Guus Sliepen <guus@meshlink.io>
Date: Fri, 23 Apr 2021 16:19:59 +0000 (+0200)
Subject: Add back the AC_PROG_CC_C99 check.
X-Git-Url: https://git.meshlink.io/?a=commitdiff_plain;h=526dafffcaee26fb715e603b115964b0b080e2b0;p=meshlink

Add back the AC_PROG_CC_C99 check.

This macro is deprecated in 2.70 and will cause a warning to be
generated, but it is still necessary when using autoconf 2.69 in
combination with a compiler that does not enable C99 features by
default.
---

diff --git a/configure.ac b/configure.ac
index c9adc83a..022bba7b 100644
--- a/configure.ac
+++ b/configure.ac
@@ -21,6 +21,7 @@ dnl Checks for programs.
 AM_PROG_CC_C_O
 AM_PROG_AR
 AC_PROG_CC
+AC_PROG_CC_C99
 AC_PROG_CXX
 AC_PROG_CPP
 AC_PROG_INSTALL