[Spice-devel] [PATCH spice v2] Define G_LOG_DOMAIN

Pavel Grunt pgrunt at redhat.com
Wed Nov 16 14:56:46 UTC 2016


Otherwise messages produced by g_{warn, return, ...} are not prefixed
like the spice_ variants.
---
 configure.ac | 1 +
 1 file changed, 1 insertion(+)

diff --git a/configure.ac b/configure.ac
index 68aed15..caf9f4c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,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\"'
 AC_SUBST(COMMON_CFLAGS)
 
 AC_CHECK_LIBM
-- 
2.10.2



More information about the Spice-devel mailing list