From d96c2ea4319e5e64d821cf6d494f811855514b24 Mon Sep 17 00:00:00 2001 From: "Barak A. Pearlmutter" Date: Wed, 28 Dec 2016 11:31:09 +0100 Subject: [PATCH] do gcc -std=c99 the autotools way --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5c49040..2d4e90d 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,9 @@ AC_DEFINE_UNQUOTED([GITREVISION],["${GITREVISION}"], # Checks for programs AC_PROG_CC +AC_PROG_CC_STDC +AS_IF([test "x${ac_cv_prog_cc_stdc}" = xno], + [AC_MSG_WARN([Unable to engage Standard C (C99) option])],) AC_PROG_INSTALL # Process options