diff options
author | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-01-19 14:57:48 +0100 |
---|---|---|
committer | Marc-André Lureau <marcandre.lureau@redhat.com> | 2011-05-03 16:49:43 +0200 |
commit | f01c648e4bdb34fee9c99e98fb86714f6b2c2fc7 (patch) | |
tree | 45202484c66ecc56ef685b8d339e58183baec682 | |
parent | 44e5d98665a7923227a54f2ecff58002838d438c (diff) |
build: require c99
Because we use c99: stdbool.h, inttypes.h, bool, variadic macros, // comments, ...
-rw-r--r-- | configure.ac | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index 430bf83..4b3d59f 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,10 @@ AM_INIT_AUTOMAKE([dist-bzip2 no-dist-gzip subdir-objects]) AM_MAINTAINER_MODE AC_PROG_CC +AC_PROG_CC_C99 +if test x"$ac_cv_prog_cc_c99" = xno; then + AC_MSG_ERROR([C99 compiler is required.]) +fi AC_PROG_CXX AC_PROG_INSTALL AC_CANONICAL_HOST |