Re: [spice-server] build-sys: Improve portability of appending to COMMON_CFLAGS

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 
> This is currently done through += in configure.ac, this commit switches
> to using COMMON_CFLAGS="$COMMON_CFLAGS ..." for better portability.
> 
> Signed-off-by: Christophe Fergeau <cfergeau@xxxxxxxxxx>

Maybe for spice-server is not needed but does not hurt,

Acked-by: Frediano Ziglio <fziglio@xxxxxxxxxx>

Frediano

> ---
>  configure.ac | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/configure.ac b/configure.ac
> index 9ebcfd04f..95985a68d 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -139,7 +139,7 @@ dnl Check deps
>  
>  AC_CONFIG_SUBDIRS([spice-common])
>  COMMON_CFLAGS='-I ${top_srcdir}/spice-common/ -I
>  ${top_builddir}/spice-common/'
> -COMMON_CFLAGS+=' -DG_LOG_DOMAIN=\"Spice\"'
> +COMMON_CFLAGS="$COMMON_CFLAGS -DG_LOG_DOMAIN=\\\"Spice\\\""
>  AC_SUBST(COMMON_CFLAGS)
>  
>  AC_CHECK_LIBM
_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]