From: Andreas Schwab Date: Fri, 3 Apr 2009 05:20:53 +0000 (+0200) Subject: Fix instdir-java.test failure. X-Git-Tag: v1.11~32^2~20 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f4954f569194d0218ffa37fd5937b08bbd6db7d5;p=thirdparty%2Fautomake.git Fix instdir-java.test failure. * tests/instdir-java.test: Don't require gcj. Skip if javac is not available. Signed-off-by: Ralf Wildenhues --- diff --git a/ChangeLog b/ChangeLog index 72809f898..ff1cc4afd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2009-04-03 Andreas Schwab + + * tests/instdir-java.test: Don't require gcj. Skip if javac is + not available. + 2009-04-01 Ralf Wildenhues Fix testsuite failures due to nonexistent `dirlist' entries. diff --git a/tests/instdir-java.test b/tests/instdir-java.test index 54826c8f9..186871c49 100755 --- a/tests/instdir-java.test +++ b/tests/instdir-java.test @@ -16,12 +16,13 @@ # 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