[Spice-commits] configure.ac

Christophe Fergau teuf at kemper.freedesktop.org
Fri Jul 7 15:04:06 UTC 2017


 configure.ac |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

New commits:
commit fa85fbf880fb01f42bf5d8c009151e92824096e6
Author: Christophe Fergeau <cfergeau at redhat.com>
Date:   Fri Jul 7 12:45:21 2017 +0200

    build-sys: Improve portability of appending to COMMON_CFLAGS
    
    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 at redhat.com>
    Acked-by: Frediano Ziglio <fziglio at redhat.com>

diff --git a/configure.ac b/configure.ac
index 9ebcfd04..95985a68 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


More information about the Spice-commits mailing list