summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-01 20:51:09 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-01 20:51:09 +0000
commit6d5c93eaf3f7f7cc80421d800c00eb702b3f4048 (patch)
tree9d910cb303c322d0b0c64a344badb2cc9e8576e9
parentd5963dd753dfe4706180b4bc235ad90ca978f254 (diff)
downloadclasspath-6d5c93eaf3f7f7cc80421d800c00eb702b3f4048.tar.gz
2008-06-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* scripts/check_jni_methods.sh.in: Search the source directory as well for when headers are in the tarball.
-rw-r--r--ChangeLog6
-rw-r--r--scripts/check_jni_methods.sh.in2
2 files changed, 7 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 7d10cf02a..6409ea145 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,11 @@
2008-06-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+ * scripts/check_jni_methods.sh.in:
+ Search the source directory as well for
+ when headers are in the tarball.
+
+2008-06-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
+
* Makefile.am: Replace tools with
$(TOOLSDIR).
* m4/acinclude.m4: Include option
diff --git a/scripts/check_jni_methods.sh.in b/scripts/check_jni_methods.sh.in
index 73cd1fc6a..835f7b4b1 100644
--- a/scripts/check_jni_methods.sh.in
+++ b/scripts/check_jni_methods.sh.in
@@ -9,7 +9,7 @@ TMPFILE3=/tmp/check-jni-methods.$$.3
# 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