Fix instdir-java.test failure.
authorAndreas Schwab <schwab@linux-m68k.org>
Fri, 3 Apr 2009 05:20:53 +0000 (07:20 +0200)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Fri, 3 Apr 2009 05:21:40 +0000 (07:21 +0200)
* tests/instdir-java.test: Don't require gcj.  Skip if javac is
not available.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
tests/instdir-java.test

index 72809f8..ff1cc4a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2009-04-03  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * tests/instdir-java.test: Don't require gcj.  Skip if javac is
+       not available.
+
 2009-04-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
        Fix testsuite failures due to nonexistent `dirlist' entries.
index 54826c8..186871c 100755 (executable)
 
 # If $(javadir) is the empty string, then nothing should be installed there.
 
-required=gcj
 . ./defs || Exit 1
 
 set -e
 
 cat >>configure.in <<'END'
+AC_CHECK_PROG([HAS_JAVAC], [javac], [:], [exit])
+($HAS_JAVAC 77); $HAS_JAVAC 77
 AC_OUTPUT
 END