[gegl] configure: set G_LOG_DOMAIN to "GEGL" only.
- From: Jehan Pagès <jehanp src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gegl] configure: set G_LOG_DOMAIN to "GEGL" only.
- Date: Thu, 24 Nov 2016 01:06:49 +0000 (UTC)
commit fcc0bb57518d06ae22b7a8c8c8cd20e29c5e9649
Author: Jehan <jehan girinstud io>
Date: Thu Nov 24 01:34:05 2016 +0100
configure: set G_LOG_DOMAIN to "GEGL" only.
Concatenating __FILE__ is a bad idea because it expands to a full path,
which means the log domain ends up different on every machine depending
on build path. This makes it impossible to set GEGL handlers in a
generic way.
configure.ac | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/configure.ac b/configure.ac
index afea8d3..b20ed99 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1270,7 +1270,7 @@ done
# We should support this at some point if possible
#LDFLAGS="-Wl,-z,defs"
-CFLAGS="$CFLAGS -DG_LOG_DOMAIN=\\\"GEGL-\\\"__FILE__"
+CFLAGS="$CFLAGS -DG_LOG_DOMAIN=\\\"GEGL\\\""
dnl bin/node-editors/Makefile
AC_CONFIG_FILES([
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]