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

Frediano Ziglio fziglio at redhat.com
Thu Nov 17 09:03:21 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

Acked-by: Frediano Ziglio <fziglio at redhat.com>

Frediano


More information about the Spice-devel mailing list