]> Pileus Git - ~andy/gtk/commitdiff
Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the
authorJeff Garzik <jgarzik@src.gnome.org>
Tue, 24 Nov 1998 05:58:53 +0000 (05:58 +0000)
committerJeff Garzik <jgarzik@src.gnome.org>
Tue, 24 Nov 1998 05:58:53 +0000 (05:58 +0000)
* gdk/Makefile.am, gtk/Makefile.am:

        Removed DEFS "+=" mess that breaks recent automakes.
        INCLUDES is the correct way to add to CFLAGS from Makefile.am.

* gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
gtk/testthreads.c:

        Include "config.h" instead of "../config.h".

        Now that DEFS works again, automake will automatically pass us
        the location of config.h in -I.

29 files changed:
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gdk/Makefile.am
gdk/gdk.c
gdk/gdkglobals.c
gdk/gdkimage.c
gdk/gdkinput.c
gdk/gdkpixmap.c
gdk/gdkthreads.c
gdk/gdkwindow.c
gdk/gxid_lib.c
gdk/x11/gdkglobals-x11.c
gdk/x11/gdkimage-x11.c
gdk/x11/gdkinput.c
gdk/x11/gdkmain-x11.c
gdk/x11/gdkpixmap-x11.c
gdk/x11/gdkwindow-x11.c
gdk/x11/gxid_lib.c
gtk/Makefile.am
gtk/fnmatch.c
gtk/gtkclist.c
gtk/gtkmain.c
gtk/testthreads.c
tests/testthreads.c

index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index 3936d9a007a6c5c718c7bace1fc67dca6ab51f63..02dc4f3b5d30505de41616baf8356f1ec9c321b8 100644 (file)
@@ -1,3 +1,17 @@
+1998-11-23  Jeff Garzik  <jgarzik@pobox.com>
+
+       * gdk/Makefile.am, gtk/Makefile.am:
+       Removed DEFS "+=" mess that breaks recent automakes.
+       INCLUDES is the correct way to add to CFLAGS from Makefile.am.
+
+       * gdk/gdk.c, gdk/gdkglobals.c, gdk/gdkimage.c, gdk/gdkinput.c,
+       gdk/gdkpixmap.c, gdk/gdkthreads.c, gdk/gdkwindow.c,
+       gdk/gxid_lib.c, gtk/fnmatch.c, gtk/gtkclist.c, gtk/gtkmain.c,
+       gtk/testthreads.c:
+       Include "config.h" instead of "../config.h".
+       Now that DEFS works again, automake will automatically pass us
+       the location of config.h in -I.
+
 Mon Nov 23 22:10:09 1998  Owen Taylor  <otaylor@redhat.com>
 
        * gtk/Makefile.am gtk/gtk.h gtk/gtklayout.[ch]
index c9046e29caa426113635f22ce6057ea9743ae985..d67d38661e5346c4ed3fd9c5733710126f3e74e4 100644 (file)
@@ -3,7 +3,8 @@
 gdkincludedir = $(includedir)/gdk
 
 lib_LTLIBRARIES = libgdk.la
-DEFS += -DG_LOG_DOMAIN=\"Gdk\"
+
+INCLUDES = -DG_LOG_DOMAIN=\"Gdk\" -I$(top_srcdir) @GLIB_CFLAGS@ @x_cflags@ 
 
 libgdk_la_SOURCES = \
        gdk.c           \
@@ -54,8 +55,6 @@ libgdk_la_LDFLAGS = \
        -version-info $(LT_CURRENT):$(LT_REVISION):$(LT_AGE) -release $(LT_RELEASE) \
          @x_ldflags@ @x_libs@
 
-INCLUDES = -I$(top_srcdir) @GLIB_CFLAGS@ @x_cflags@ 
-
 EXTRA_PROGRAMS = gxid
 
 bin_PROGRAMS = @xinput_progs@
index 217724417c9c3bb309eec42894a43eba573bca6b..36e0fb1438b1acd1fa619bad70b6bd1833450259 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 
 /* If you don't want to use gdk's signal handlers define this */
 /* #define I_NEED_TO_ACTUALLY_DEBUG_MY_PROGRAMS 1 */
index d21be2f294cfb13f63452fb8a6e41fa9e095d02d..5736a1a80d2e740f3d3bd402b4531ecae1df3110 100644 (file)
@@ -20,7 +20,7 @@
 #include <X11/Xlib.h>
 #include "gdktypes.h"
 #include "gdkprivate.h"
-#include "../config.h"
+#include "config.h"
 
 guint             gdk_debug_flags = 0;
 gint              gdk_use_xshm = TRUE;
index 2cc850b5321e26e4af814c818393d9dd935ed3ee..8e62fef6643fe6603fa5e5232f8f3379d8c49d9d 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 
 #include <stdlib.h>
 #include <sys/types.h>
index 444d630efc9cdf3db8ab38102ed085dc55354f3c..c0f199fae98bb970a07a8c11fc995fdd5d6f62d0 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-#include "../config.h"
+#include "config.h"
 #include "gdk.h"
 #include "gdkx.h"
 #include "gdkprivate.h"
index 291c8d7746ba0e2f7a54f986c74e520d71bf5eb4..3467388d46998441c77b5fce19c674fa6f9a341c 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
index d83375b57e0fbe06d8eec39975fcf4c925442c08..3ede36b60e142aa47691b0ccf509f02576cf125b 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 #include "gdk.h"
 #include "gdkprivate.h"
 
index 302fc3734fe8caa5f70dcd22c27763a736500b7f..09399dcf1ac3833de862fe4425a5c0e3c7c21bc0 100644 (file)
@@ -22,7 +22,7 @@
 #include <X11/Xatom.h>
 #include <netinet/in.h>
 #include "gdk.h"
-#include "../config.h"
+#include "config.h"
 #include "gdkinput.h"
 #include "gdkprivate.h"
 #include "MwmUtil.h"
index 64c1e53b1f4e2eca6575350fd4026b6904c5d1ac..0c2a73bbf5dd33b5d775b537d1f07359fa36f012 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 1997 Owen Taylor <owt1@cornell.edu>
 */
 
-#include "../config.h"
+#include "config.h"
 #include "gxid_lib.h"
 
 #ifdef XINPUT_GXI
index d21be2f294cfb13f63452fb8a6e41fa9e095d02d..5736a1a80d2e740f3d3bd402b4531ecae1df3110 100644 (file)
@@ -20,7 +20,7 @@
 #include <X11/Xlib.h>
 #include "gdktypes.h"
 #include "gdkprivate.h"
-#include "../config.h"
+#include "config.h"
 
 guint             gdk_debug_flags = 0;
 gint              gdk_use_xshm = TRUE;
index 2cc850b5321e26e4af814c818393d9dd935ed3ee..8e62fef6643fe6603fa5e5232f8f3379d8c49d9d 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 
 #include <stdlib.h>
 #include <sys/types.h>
index 444d630efc9cdf3db8ab38102ed085dc55354f3c..c0f199fae98bb970a07a8c11fc995fdd5d6f62d0 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdlib.h>
 #include <X11/Xlib.h>
 #include <X11/Xutil.h>
-#include "../config.h"
+#include "config.h"
 #include "gdk.h"
 #include "gdkx.h"
 #include "gdkprivate.h"
index 217724417c9c3bb309eec42894a43eba573bca6b..36e0fb1438b1acd1fa619bad70b6bd1833450259 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 
 /* If you don't want to use gdk's signal handlers define this */
 /* #define I_NEED_TO_ACTUALLY_DEBUG_MY_PROGRAMS 1 */
index 291c8d7746ba0e2f7a54f986c74e520d71bf5eb4..3467388d46998441c77b5fce19c674fa6f9a341c 100644 (file)
@@ -16,7 +16,7 @@
  * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
  * Boston, MA 02111-1307, USA.
  */
-#include "../config.h"
+#include "config.h"
 #include <stdlib.h>
 #include <stdio.h>
 #include <string.h>
index 302fc3734fe8caa5f70dcd22c27763a736500b7f..09399dcf1ac3833de862fe4425a5c0e3c7c21bc0 100644 (file)
@@ -22,7 +22,7 @@
 #include <X11/Xatom.h>
 #include <netinet/in.h>
 #include "gdk.h"
-#include "../config.h"
+#include "config.h"
 #include "gdkinput.h"
 #include "gdkprivate.h"
 #include "MwmUtil.h"
index 64c1e53b1f4e2eca6575350fd4026b6904c5d1ac..0c2a73bbf5dd33b5d775b537d1f07359fa36f012 100644 (file)
@@ -4,7 +4,7 @@
  * Copyright 1997 Owen Taylor <owt1@cornell.edu>
 */
 
-#include "../config.h"
+#include "config.h"
 #include "gxid_lib.h"
 
 #ifdef XINPUT_GXI
index 6e64f95b29e5f2203ec310f43d4603cf4cd8fbb5..e3c33eb94b4f305b23d0dd56eae869bc098ee328 100644 (file)
@@ -1,7 +1,6 @@
 ### Process this file with automake to produce Makefile.in
 
 gtkincludedir = $(includedir)/gtk
-DEFS += -DG_LOG_DOMAIN=\"Gtk\"
 
 lib_LTLIBRARIES = libgtk.la
 
@@ -340,6 +339,7 @@ EXTRA_DIST = \
         circles.xbm
 
 INCLUDES = \
+       -DG_LOG_DOMAIN=\"Gtk\" \
        -DGTK_EXE_PREFIX=\"$(exec_prefix)\"   \
        -DGTK_DATA_PREFIX=\"$(prefix)\"   \
        -I$(top_srcdir) @GLIB_CFLAGS@ @x_cflags@
index 8f03f3f4f8b070c616618196a50a035d3c9d101b..bd4375f400355f424ea9b05d99bbb192bbc7db61 100644 (file)
@@ -17,7 +17,7 @@
  */
 
 #ifdef HAVE_CONFIG_H
-#include "../config.h"
+#include "config.h"
 #endif
 
 #include <errno.h>
index ecd92bdc423549ede74f2397c6768d70e4ac7a71..d3eb21a443a89f0474c7efa1429bd4e125190a1b 100644 (file)
@@ -19,7 +19,7 @@
  */
 #include <stdlib.h>
 #include <string.h>
-#include "../config.h"
+#include "config.h"
 #include "gtkmain.h"
 #include "gtkclist.h"
 #include "gtkbindings.h"
index f78d2beefcbcca193fde40327e0b48f7caae3f1d..b05f47a85e7a6b69b66bbef1d85b3bcb566cb87a 100644 (file)
@@ -39,7 +39,7 @@
 #include "gtkwindow.h"
 #include "gtkprivate.h"
 #include "gdk/gdki18n.h"
-#include "../config.h"
+#include "config.h"
 #include "gtkdebug.h"
 
 
index 4d02a06435378eb628149d48c6b8e74064b281f7..27e0753f311b43aabe7c105fa13a94e64495b181 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <gtk/gtk.h>
-#include "../config.h"
+#include "config.h"
 
 #ifdef USE_PTHREADS
 #include <pthread.h>
index 4d02a06435378eb628149d48c6b8e74064b281f7..27e0753f311b43aabe7c105fa13a94e64495b181 100644 (file)
@@ -19,7 +19,7 @@
 #include <stdio.h>
 #include <unistd.h>
 #include <gtk/gtk.h>
-#include "../config.h"
+#include "config.h"
 
 #ifdef USE_PTHREADS
 #include <pthread.h>