diff options
author | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-06-11 21:37:48 +0000 |
---|---|---|
committer | Andrew John Hughes <gnu_andrew@member.fsf.org> | 2008-06-11 21:37:48 +0000 |
commit | 48aa4cbbe95580832414644c0138efafbee6c9f5 (patch) | |
tree | cb6ee0b1ef899799bfb4da6e0e57d855eaa0e6c4 /scripts | |
parent | 3aaea725c6359443ef44b5e752a74f6b2905e377 (diff) | |
download | classpath-48aa4cbbe95580832414644c0138efafbee6c9f5.tar.gz |
Forwardport native-only build fix #05.
2008-06-01 Andrew John Hughes <gnu_andrew@member.fsf.org>
* configure.ac: Only run javac check
if examples, tools and/or class library are
being built.
* scripts/check_jni_methods.sh.in:
Remove duplicates in the list of JNI methods
for when builddir==srcdir.
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/check_jni_methods.sh.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/check_jni_methods.sh.in b/scripts/check_jni_methods.sh.in index 835f7b4b1..2a114d340 100644 --- a/scripts/check_jni_methods.sh.in +++ b/scripts/check_jni_methods.sh.in @@ -11,7 +11,7 @@ TMPFILE3=/tmp/check-jni-methods.$$.3 # from the java source files. 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 + sort -u > $TMPFILE # Find all methods in the JNI C source files. find @abs_top_srcdir@/native/jni -name \*.c | \ |