This patch ensures that the source directory is also checked by the check_jni_methods script, and fixes distcheck as a result.
ChangeLog: 2008-06-01 Andrew John Hughes <[EMAIL PROTECTED]> * scripts/check_jni_methods.sh.in: Search the source directory as well for when headers are in the tarball. -- 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: scripts/check_jni_methods.sh.in =================================================================== RCS file: /sources/classpath/classpath/scripts/check_jni_methods.sh.in,v retrieving revision 1.3 diff -u -u -r1.3 check_jni_methods.sh.in --- scripts/check_jni_methods.sh.in 10 Feb 2008 11:08:23 -0000 1.3 +++ scripts/check_jni_methods.sh.in 1 Jun 2008 20:48:01 -0000 @@ -9,7 +9,7 @@ # Find all methods defined in the header files generated # from the java source files. -grep -h '^JNIEXPORT .* Java_' @abs_top_builddir@/include/*.h | \ +grep -h '^JNIEXPORT .* Java_' @abs_top_builddir@/include/*.h @abs_top_srcdir@/include/*.h | \ LC_ALL=C sed -e 's,.*JNICALL \(Java_[a-z_A-Z0-9]*\).*$,\1,' | \ sort > $TMPFILE