summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristophe Fergeau <cfergeau@redhat.com>2017-07-07 12:45:21 +0200
committerChristophe Fergeau <cfergeau@redhat.com>2017-07-07 17:03:56 +0200
commitfa85fbf880fb01f42bf5d8c009151e92824096e6 (patch)
tree5b715ce12f1327f74f43174c3ed1dc960ae9748d
parent31fb967f1a13d9a0af01ccab2e304ff12ea9f300 (diff)
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@redhat.com> Acked-by: Frediano Ziglio <fziglio@redhat.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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