[Spice-devel] [PATCH spice v3 1/3] Define G_LOG_DOMAIN

Pavel Grunt pgrunt at redhat.com
Wed Nov 16 15:20:42 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