From 630cc035fd8200558a9c37d6538487ae0e532c18 Mon Sep 17 00:00:00 2001 From: Vincent Bernat Date: Thu, 19 Feb 2015 16:30:06 +0100 Subject: [PATCH] configure: enforce the use of C99 --- configure.ac | 3 +++ 1 file changed, 3 insertions(+) diff --git a/configure.ac b/configure.ac index 5d41df3c..bc5f6d67 100644 --- a/configure.ac +++ b/configure.ac @@ -44,6 +44,9 @@ LT_INIT # Checks for programs. AC_PROG_CC AC_PROG_CC_C99 +if test x"$ac_cv_prog_cc_c99" = x"no"; then + AC_MSG_FAILURE([*** C99 support is mandatory]) +fi AC_PROG_CXX AM_PROG_CC_C_O AC_PROG_LIBTOOL -- 2.39.5