patch for a build issue



Hi,

i've been told that "not having gdkenumtypes.h built" is a known issue, 
but I'd thought I'd submit a patch that works for me anyway.

The patch just makes sure that if Make figures out it needs this file, it 
will go into the right dir and build it automatically.

If this is not the right fix, or if others have been worked on, I'd be 
willing to look into it a bit further, but this should be fixable and it's 
silly to not have it fixed IMO ;)

Be sure to flame me if this is the wrong fix and explain to me why it is 
wrong ;)

Thomas

-- 

The Dave/Dina Project : future TV today ! - http://davedina.apestaart.org/
<-*- thomas (dot) apestaart (dot) org -*->
If your heart is not on my side
You're not on my side
<-*- thomas  (at) apestaart (dot) org -*->
URGent, the best radio on the Internet - 24/7 ! - http://urgent.rug.ac.be/
? autom4te-2.53.cache
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtk+/ChangeLog,v
retrieving revision 1.3819
diff -u -p -r1.3819 ChangeLog
--- ChangeLog	3 Nov 2002 00:26:32 -0000	1.3819
+++ ChangeLog	3 Nov 2002 03:22:54 -0000
@@ -1,3 +1,9 @@
+2002-11-03  Thomas Vander Stichele <thomas at apestaart dot org>
+
+        * gdk/x11/Makefile.am:
+        add a rule to build $(top_builddir)/gdk/gdkenumtypes.h
+        so that it gets built when it is needed
+
 Sun Nov  3 01:39:20 2002  Kristian Rietveld  <kris gtk org>
 
 	* gtk/gtktreemodel.c (release_row_references): took out the useless
Index: gdk/x11/Makefile.am
===================================================================
RCS file: /cvs/gnome/gtk+/gdk/x11/Makefile.am,v
retrieving revision 1.26
diff -u -p -r1.26 Makefile.am
--- gdk/x11/Makefile.am	25 Sep 2002 07:23:54 -0000	1.26
+++ gdk/x11/Makefile.am	3 Nov 2002 03:22:58 -0000
@@ -20,6 +20,9 @@ LDADDS = @STRIP_BEGIN@ 		\
 
 noinst_LTLIBRARIES = libgdk-x11.la
 
+$(top_builddir)/gdk/gdkenumtypes.h:
+	cd $(top_builddir)/gdk && make gdkenumtypes.h
+
 if XINPUT_XFREE
 xinput_sources =	   \
 	gdkinput-x11.c	   \


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