summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Garzik <jgarzik@src.gnome.org>1998-11-24 05:58:53 +0000
committerJeff Garzik <jgarzik@src.gnome.org>1998-11-24 05:58:53 +0000
commit91d99f89037cc1fc06a5f985aa08133590d7943e (patch)
tree5f4b89333667356890667bb91fdb99e4d4dc2da7
parent5a5fb5635f854442509f0dc78167108f3e88d81d (diff)
downloadgdk-pixbuf-91d99f89037cc1fc06a5f985aa08133590d7943e.tar.gz
Removed DEFS "+=" mess that breaks recent automakes. INCLUDES is the
* 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.
-rw-r--r--ChangeLog14
-rw-r--r--ChangeLog.pre-2-014
-rw-r--r--ChangeLog.pre-2-1014
-rw-r--r--ChangeLog.pre-2-214
-rw-r--r--ChangeLog.pre-2-414
-rw-r--r--ChangeLog.pre-2-614
-rw-r--r--ChangeLog.pre-2-814
-rw-r--r--gdk/Makefile.am5
-rw-r--r--gdk/gdk.c2
-rw-r--r--gdk/gdkglobals.c2
-rw-r--r--gdk/gdkimage.c2
-rw-r--r--gdk/gdkinput.c2
-rw-r--r--gdk/gdkpixmap.c2
-rw-r--r--gdk/gdkthreads.c2
-rw-r--r--gdk/gdkwindow.c2
-rw-r--r--gdk/gxid_lib.c2
-rw-r--r--gdk/x11/gdkglobals-x11.c2
-rw-r--r--gdk/x11/gdkimage-x11.c2
-rw-r--r--gdk/x11/gdkinput.c2
-rw-r--r--gdk/x11/gdkmain-x11.c2
-rw-r--r--gdk/x11/gdkpixmap-x11.c2
-rw-r--r--gdk/x11/gdkwindow-x11.c2
-rw-r--r--gdk/x11/gxid_lib.c2
-rw-r--r--gtk/Makefile.am2
-rw-r--r--gtk/fnmatch.c2
-rw-r--r--gtk/gtkclist.c2
-rw-r--r--gtk/gtkmain.c2
-rw-r--r--gtk/testthreads.c2
-rw-r--r--tests/testthreads.c2
29 files changed, 121 insertions, 24 deletions
diff --git a/ChangeLog b/ChangeLog
index 3936d9a00..02dc4f3b5 100644
--- 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]
diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-0
+++ b/ChangeLog.pre-2-0
@@ -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]
diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-10
+++ b/ChangeLog.pre-2-10
@@ -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]
diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-2
+++ b/ChangeLog.pre-2-2
@@ -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]
diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-4
+++ b/ChangeLog.pre-2-4
@@ -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]
diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-6
+++ b/ChangeLog.pre-2-6
@@ -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]
diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8
index 3936d9a00..02dc4f3b5 100644
--- a/ChangeLog.pre-2-8
+++ b/ChangeLog.pre-2-8
@@ -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]
diff --git a/gdk/Makefile.am b/gdk/Makefile.am
index c9046e29c..d67d38661 100644
--- a/gdk/Makefile.am
+++ b/gdk/Makefile.am
@@ -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@
diff --git a/gdk/gdk.c b/gdk/gdk.c
index 217724417..36e0fb143 100644
--- 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 */
diff --git a/gdk/gdkglobals.c b/gdk/gdkglobals.c
index d21be2f29..5736a1a80 100644
--- a/gdk/gdkglobals.c
+++ b/gdk/gdkglobals.c
@@ -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;
diff --git a/gdk/gdkimage.c b/gdk/gdkimage.c
index 2cc850b53..8e62fef66 100644
--- a/gdk/gdkimage.c
+++ b/gdk/gdkimage.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"
#include <stdlib.h>
#include <sys/types.h>
diff --git a/gdk/gdkinput.c b/gdk/gdkinput.c
index 444d630ef..c0f199fae 100644
--- a/gdk/gdkinput.c
+++ b/gdk/gdkinput.c
@@ -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"
diff --git a/gdk/gdkpixmap.c b/gdk/gdkpixmap.c
index 291c8d774..3467388d4 100644
--- a/gdk/gdkpixmap.c
+++ b/gdk/gdkpixmap.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"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/gdkthreads.c b/gdk/gdkthreads.c
index d83375b57..3ede36b60 100644
--- a/gdk/gdkthreads.c
+++ b/gdk/gdkthreads.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"
#include "gdk.h"
#include "gdkprivate.h"
diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c
index 302fc3734..09399dcf1 100644
--- a/gdk/gdkwindow.c
+++ b/gdk/gdkwindow.c
@@ -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"
diff --git a/gdk/gxid_lib.c b/gdk/gxid_lib.c
index 64c1e53b1..0c2a73bbf 100644
--- a/gdk/gxid_lib.c
+++ b/gdk/gxid_lib.c
@@ -4,7 +4,7 @@
* Copyright 1997 Owen Taylor <owt1@cornell.edu>
*/
-#include "../config.h"
+#include "config.h"
#include "gxid_lib.h"
#ifdef XINPUT_GXI
diff --git a/gdk/x11/gdkglobals-x11.c b/gdk/x11/gdkglobals-x11.c
index d21be2f29..5736a1a80 100644
--- a/gdk/x11/gdkglobals-x11.c
+++ b/gdk/x11/gdkglobals-x11.c
@@ -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;
diff --git a/gdk/x11/gdkimage-x11.c b/gdk/x11/gdkimage-x11.c
index 2cc850b53..8e62fef66 100644
--- a/gdk/x11/gdkimage-x11.c
+++ b/gdk/x11/gdkimage-x11.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"
#include <stdlib.h>
#include <sys/types.h>
diff --git a/gdk/x11/gdkinput.c b/gdk/x11/gdkinput.c
index 444d630ef..c0f199fae 100644
--- a/gdk/x11/gdkinput.c
+++ b/gdk/x11/gdkinput.c
@@ -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"
diff --git a/gdk/x11/gdkmain-x11.c b/gdk/x11/gdkmain-x11.c
index 217724417..36e0fb143 100644
--- a/gdk/x11/gdkmain-x11.c
+++ b/gdk/x11/gdkmain-x11.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 */
diff --git a/gdk/x11/gdkpixmap-x11.c b/gdk/x11/gdkpixmap-x11.c
index 291c8d774..3467388d4 100644
--- a/gdk/x11/gdkpixmap-x11.c
+++ b/gdk/x11/gdkpixmap-x11.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"
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
diff --git a/gdk/x11/gdkwindow-x11.c b/gdk/x11/gdkwindow-x11.c
index 302fc3734..09399dcf1 100644
--- a/gdk/x11/gdkwindow-x11.c
+++ b/gdk/x11/gdkwindow-x11.c
@@ -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"
diff --git a/gdk/x11/gxid_lib.c b/gdk/x11/gxid_lib.c
index 64c1e53b1..0c2a73bbf 100644
--- a/gdk/x11/gxid_lib.c
+++ b/gdk/x11/gxid_lib.c
@@ -4,7 +4,7 @@
* Copyright 1997 Owen Taylor <owt1@cornell.edu>
*/
-#include "../config.h"
+#include "config.h"
#include "gxid_lib.h"
#ifdef XINPUT_GXI
diff --git a/gtk/Makefile.am b/gtk/Makefile.am
index 6e64f95b2..e3c33eb94 100644
--- a/gtk/Makefile.am
+++ b/gtk/Makefile.am
@@ -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@
diff --git a/gtk/fnmatch.c b/gtk/fnmatch.c
index 8f03f3f4f..bd4375f40 100644
--- a/gtk/fnmatch.c
+++ b/gtk/fnmatch.c
@@ -17,7 +17,7 @@
*/
#ifdef HAVE_CONFIG_H
-#include "../config.h"
+#include "config.h"
#endif
#include <errno.h>
diff --git a/gtk/gtkclist.c b/gtk/gtkclist.c
index ecd92bdc4..d3eb21a44 100644
--- a/gtk/gtkclist.c
+++ b/gtk/gtkclist.c
@@ -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"
diff --git a/gtk/gtkmain.c b/gtk/gtkmain.c
index f78d2beef..b05f47a85 100644
--- a/gtk/gtkmain.c
+++ b/gtk/gtkmain.c
@@ -39,7 +39,7 @@
#include "gtkwindow.h"
#include "gtkprivate.h"
#include "gdk/gdki18n.h"
-#include "../config.h"
+#include "config.h"
#include "gtkdebug.h"
diff --git a/gtk/testthreads.c b/gtk/testthreads.c
index 4d02a0643..27e0753f3 100644
--- a/gtk/testthreads.c
+++ b/gtk/testthreads.c
@@ -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>
diff --git a/tests/testthreads.c b/tests/testthreads.c
index 4d02a0643..27e0753f3 100644
--- a/tests/testthreads.c
+++ b/tests/testthreads.c
@@ -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>