Put -DFOO stuff into Makefile.am INCLUDES.
authorJeff Garzik <jgarzik@src.gnome.org>
Sun, 29 Nov 1998 22:47:07 +0000 (22:47 +0000)
committerJeff Garzik <jgarzik@src.gnome.org>
Sun, 29 Nov 1998 22:47:07 +0000 (22:47 +0000)
12 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
Makefile.am
configure.in
glib/Makefile.am
gmodule/Makefile.am

index c76a615..b4279e6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index c76a615..b4279e6 100644 (file)
@@ -1,3 +1,8 @@
+Sun Nov 29 17:31:43 EST 1998  Jeff Garzik  <jgarzik@pobox.com>
+
+       * configure.in, Makefile.am, gmodule/Makefile.am:
+       Put -DFOO stuff into Makefile.am INCLUDES.
+
 Sun Nov 29 14:17:09 PST 1998 Manish Singh <yosh@gimp.org>
 
        * configure.in: put debug -DFOO stuff into CPPFLAGS, not CFLAGS,
index bf03bcc..670cb09 100644 (file)
@@ -12,7 +12,7 @@ bin_SCRIPTS=glib-config
 BUILT_SOURCES=glib-config
 glib-config: glib-config.in
 
-INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib
+INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
 
 EXTRA_DIST = \
        glib.m4         \
index dc529c0..266a96b 100644 (file)
@@ -83,10 +83,10 @@ fi
 
 if test "x$enable_debug" = "xyes"; then
   test "$cflags_set" = set || CFLAGS="$CFLAGS -g"
-  CPPFLAGS="$CPPFLAGS -DG_ENABLE_DEBUG"
+  GLIB_DEBUG_FLAGS="-DG_ENABLE_DEBUG"
 else
   if test "x$enable_debug" = "xno"; then
-    CPPFLAGS="$CPPFLAGS -DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
+    GLIB_DEBUG_FLAGS="-DG_DISABLE_ASSERT -DG_DISABLE_CHECKS"
   fi
 fi
 
@@ -505,6 +505,7 @@ AC_SUBST(G_MODULE_LIBS)
 AC_SUBST(G_MODULE_LDFLAGS)
 AC_SUBST(G_MODULE_HAVE_DLERROR)
 AC_SUBST(G_MODULE_NEED_USCORE)
+AC_SUBST(GLIB_DEBUG_FLAGS)
 
 AC_OUTPUT_COMMANDS([
 
index bf03bcc..670cb09 100644 (file)
@@ -12,7 +12,7 @@ bin_SCRIPTS=glib-config
 BUILT_SOURCES=glib-config
 glib-config: glib-config.in
 
-INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib
+INCLUDES = -DG_LOG_DOMAIN=g_log_domain_glib @GLIB_DEBUG_FLAGS@
 
 EXTRA_DIST = \
        glib.m4         \
index 94f451e..d334bf5 100644 (file)
@@ -1,6 +1,7 @@
 ## Process this file with automake to produce Makefile.in
 
-INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule -DG_LOG_DOMAIN=g_log_domain_gmodule
+INCLUDES = -I$(top_srcdir) -I$(top_srcdir)/gmodule \
+       -DG_LOG_DOMAIN=g_log_domain_gmodule @GLIB_DEBUG_FLAGS@
 
 EXTRA_DIST =   \
                gmoduleconf.h.in \