Merge pull request #1832 from rubenk/check-for-c99-compiler
authorRuben Kerkhof <ruben@rubenkerkhof.com>
Wed, 3 Aug 2016 13:41:54 +0000 (15:41 +0200)
committerGitHub <noreply@github.com>
Wed, 3 Aug 2016 13:41:54 +0000 (15:41 +0200)
Require a compiler that understands C99

configure.ac

index 15b42d5..b1c8301 100644 (file)
@@ -42,7 +42,9 @@ AC_SYS_LARGEFILE
 #
 # Checks for programs.
 #
-AC_PROG_CC
+AC_PROG_CC_C99([],
+  [AC_MSG_ERROR([No compiler found that supports C99])]
+)
 AC_PROG_CXX
 AC_PROG_CPP
 AC_PROG_EGREP