From f9a88a1a61c5fbd9f644b34583afe432519963f5 Mon Sep 17 00:00:00 2001 From: "Sven M. Hallberg" Date: Tue, 19 Aug 2014 14:53:38 +0200 Subject: [PATCH] require C99 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index a055f7a..30eafed 100644 --- a/configure.ac +++ b/configure.ac @@ -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], -- 2.39.2