build: require c99

Because we use c99: stdbool.h, inttypes.h, bool, variadic macros, // comments, ...
This commit is contained in:
Marc-André Lureau 2011-01-19 14:57:48 +01:00
parent 68c6014ff0
commit aae0357023
2 changed files with 4 additions and 1 deletions

View File

@ -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

View File

@ -16,7 +16,6 @@ INCLUDES = \
$(SSL_CFLAGS) \
$(VISIBILITY_HIDDEN_CFLAGS) \
$(WARN_CFLAGS) \
-std=gnu99 \
$(NULL)
spice_built_sources = generated_marshallers.c generated_marshallers.h generated_demarshallers.c