hi all,

i've fixed a small automake 1.10 portability warning with gconf header generation, and made sure that the header is only regenerated when the source file has changed. Regenerating the header file when the class file changes does not make so much sense,
as it changes on every rebuild of the class library. :)

cheers,
dalibor topic

2007-04-18  Dalibor Topic  <[EMAIL PROTECTED]>

       * include/Makefile.am: Use portable construct to create
       gconf peer header. Depend on the java source code, rather
       the class file to avoid spurious regeneration.
Index: include/Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/include/Makefile.am,v
retrieving revision 1.77
diff -u -r1.77 Makefile.am
--- include/Makefile.am 18 Apr 2007 12:01:54 -0000      1.77
+++ include/Makefile.am 18 Apr 2007 12:49:45 -0000
@@ -173,9 +173,8 @@
 $(top_srcdir)/include/gnu_javax_sound_midi_dssi_%.h: 
$(top_builddir)/$(CLASSDIR)/gnu/javax/sound/midi/dssi/%.class
        $(JAVAH) -o $@ gnu.javax.sound.midi.dssi.$*
 
-$(top_srcdir)/include/gnu_java_util_prefs_gconf_%.h: 
$(top_builddir)/$(CLASSDIR)/gnu/java/util/prefs/gconf/%.class
-       $(JAVAH) -o $@ gnu.java.util.prefs.gconf.$*
-
+$(top_srcdir)/include/gnu_java_util_prefs_gconf_GConfNativePeer.h: 
$(top_srcdir)/gnu/java/util/prefs/gconf/GConfNativePeer.java
+       $(JAVAH) -o $@ gnu.java.util.prefs.gconf.GConfNativePeer
 $(top_srcdir)/include/gnu_java_net_VMPlainSocketImpl.h: 
$(top_srcdir)/vm/reference/gnu/java/net/VMPlainSocketImpl.java
        $(JAVAH) -o $@ gnu.java.net.VMPlainSocketImpl
 $(top_srcdir)/include/gnu_java_net_local_LocalSocketImpl.h: 
$(top_srcdir)/gnu/java/net/local/LocalSocketImpl.java

Reply via email to