* Minor fix to include directories ordering

In my case, I build kaffe with --prefix=/usr/X11R6.  Since I had 1.1.4
installed already, it picked up the wrong jni.h and failed during
compilation.  This ensures that the included jni.h gets included first.

To be honest, should probably move X_FLAGS down a line or two to be sure.

mrc

patch -p1 << \EOF
diff -ru kaffe-1.1.5.orig/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am 
kaffe-1.1.5/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am
--- kaffe-1.1.5.orig/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am      
2005-04-05 12:48:02.000000000 -0700
+++ kaffe-1.1.5/libraries/clib/awt/classpath-gtk/gtk-peer/Makefile.am   
2005-04-12 19:15:04.000000000 -0700
@@ -83,6 +83,7 @@
 
 libjawt_la_CPPFLAGS = \
        $(AM_CPPFLAGS) \
+       -I$(top_srcdir)/include/ \
        @X_CFLAGS@ \
        -I$(top_srcdir)/libraries/clib/classpath/ \
        -I$(top_builddir)/include/
EOF
-- 
     Mike Castle      [EMAIL PROTECTED]      www.netcom.com/~dalgoda/
    We are all of us living in the shadow of Manhattan.  -- Watchmen
fatal ("You are in a maze of twisty compiler features, all different"); -- gcc

_______________________________________________
kaffe mailing list
[email protected]
http://kaffe.org/cgi-bin/mailman/listinfo/kaffe

Reply via email to