This prevents the headers being cleaned away when
we haven't configured them to be generated.
ChangeLog:
2008-06-02 Andrew John Hughes <[EMAIL PROTECTED]>
* include/Makefile.am: Don't delete headers
when not rebuilding them.
--
Andrew :)
Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA 7927 142C 2591 94EF D9D8
Index: include/Makefile.am
===================================================================
RCS file: /sources/classpath/classpath/include/Makefile.am,v
retrieving revision 1.85.2.1
diff -u -u -r1.85.2.1 Makefile.am
--- include/Makefile.am 1 Jun 2008 17:16:51 -0000 1.85.2.1
+++ include/Makefile.am 1 Jun 2008 23:09:36 -0000
@@ -1,6 +1,10 @@
include_HEADERS = jni.h jni_md.h jawt.h jawt_md.h
+if CREATE_JNI_HEADERS
DISTCLEANFILES = jni_md.h config-int.h $(H_FILES)
+else
+DISTCLEANFILES = jni_md.h config-int.h
+endif
ARG_JNI_JAVAH = -jni
ARG_CLASSPATH_JAVAH = -bootclasspath