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>
This commit is contained in:
Christophe Fergeau 2017-07-07 12:45:21 +02:00
parent 31fb967f1a
commit fa85fbf880

View File

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