summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: cd5c609)
raw | patch | inline | side by side (parent: cd5c609)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 3 Aug 2016 12:28:29 +0000 (14:28 +0200) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Wed, 3 Aug 2016 12:28:29 +0000 (14:28 +0200) |
Upcoming changes will requires C99 support.
For newer compilers this is the default, but older
compilers needs a flag like -std=gnu99 or -std=c99.
For newer compilers this is the default, but older
compilers needs a flag like -std=gnu99 or -std=c99.
configure.ac | patch | blob | history |
diff --git a/configure.ac b/configure.ac
index 15b42d5944ebd61021c2f2bf0fa7c9a9241ca236..b1c83013b522d06d8dcda4fb644a1bfffd46a62c 100644 (file)
--- a/configure.ac
+++ b/configure.ac
#
# 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