mirror of
https://gitlab.uni-freiburg.de/opensourcevdi/spice
synced 2026-08-08 22:10:46 +00:00
build: require c99
Because we use c99: stdbool.h, inttypes.h, bool, variadic macros, // comments, ...
This commit is contained in:
parent
68c6014ff0
commit
aae0357023
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user