From 48f19e86b56be0ae220ff1114711684dd04480bd Mon Sep 17 00:00:00 2001 From: Panu Matilainen Date: Mon, 28 Apr 2008 13:53:35 +0300 Subject: [PATCH] Require C99 capable compiler in configure - also enable C99 mode if not on by default --- configure.ac | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure.ac b/configure.ac index c683d6c..5de9cf7 100644 --- a/configure.ac +++ b/configure.ac @@ -23,6 +23,11 @@ AC_PROG_MAKE_SET AC_PROG_LIBTOOL AC_PROG_YACC +AC_PROG_CC_C99 +if test "$ac_cv_prog_cc_c99" = no; then + AC_MSG_ERROR([ISO C99 capable compiler required]) +fi + AS=${AS-as} AC_SUBST(AS) if test "$GCC" = yes; then -- 2.7.4