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

Attachment: pgpvFO8pV7Ar7.pgp
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/spice-devel

Reply via email to