Re: [PATCH spice v3 1/3] Define G_LOG_DOMAIN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Nov 16, 2016 at 04:20:42PM +0100, Pavel Grunt wrote:
> 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\"'

Actually imo the Makefile.am version makes more sense, seeing this
snippet makes it fairly clear that "COMMON_CFLAGS" are the flags to use
for spice-common, and not really generic common flags to share between
all subdirectories.

Christophe

Attachment: signature.asc
Description: PGP signature

_______________________________________________
Spice-devel mailing list
Spice-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.freedesktop.org/mailman/listinfo/spice-devel

[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]     [Monitors]