]> git.meshlink.io Git - catta/commitdiff
require C99
authorSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 12:53:38 +0000 (14:53 +0200)
committerSven M. Hallberg <pesco@khjk.org>
Tue, 19 Aug 2014 12:53:38 +0000 (14:53 +0200)
configure.ac

index a055f7ae700d485d0b972233bac3d223875c06d4..30eafedcf398a5fa817ac5854c8ea85bfac315d2 100644 (file)
@@ -52,6 +52,10 @@ AC_PROG_LN_S
 AC_PROG_MAKE_SET
 AC_PROG_GCC_TRADITIONAL
 
 AC_PROG_MAKE_SET
 AC_PROG_GCC_TRADITIONAL
 
+if test x"$ac_cv_prog_cc_c99" = x"no"; then
+    AC_MSG_ERROR([C99 support is required])
+fi
+
 # -fstack-protector
 AC_ARG_ENABLE([stack-protector],
     [AS_HELP_STRING([--disable-stack-protector],
 # -fstack-protector
 AC_ARG_ENABLE([stack-protector],
     [AS_HELP_STRING([--disable-stack-protector],