]> git.meshlink.io Git - catta/blobdiff - configure.ac
require C99
[catta] / configure.ac
index a055f7ae700d485d0b972233bac3d223875c06d4..30eafedcf398a5fa817ac5854c8ea85bfac315d2 100644 (file)
@@ -52,6 +52,10 @@ AC_PROG_LN_S
 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],