[Spice-devel] [PATCH 2/9] build: require c99
Christophe Fergeau
cfergeau at redhat.com
Wed Apr 27 04:10:21 PDT 2011
Why do you want to require c99? Do the compilers we use on windows have
good enough c99 support?
Christophe
On Tue, Jan 25, 2011 at 07:17:21PM +0100, Marc-André Lureau wrote:
> ---
> configure.ac | 4 ++++
> 1 files changed, 4 insertions(+), 0 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index 02ec331..2af3647 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -18,6 +18,10 @@ SPICE_COMMON_SRCDIR='$(top_srcdir)'/common
>
> AS_IF([test "$CFLAGS" = ""], [], [_cflags_is_set=yes])
> 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
> AS_IF([test "$CXXFLAGS" = ""], [], [_cxxflags_is_set=yes])
> AC_PROG_CXX
> AC_PROG_INSTALL
> --
> 1.7.3.4
>
>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/spice-devel/attachments/20110427/b27042c9/attachment.pgp>
More information about the Spice-devel
mailing list