[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Fix instdir-java.test failure
From: |
Andreas Schwab |
Subject: |
Re: Fix instdir-java.test failure |
Date: |
Wed, 01 Apr 2009 17:18:01 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.0.92 (gnu/linux) |
Here is a better way to fix the failure.
Andreas.
2009-04-01 Andreas Schwab <address@hidden>
* tests/instdir-java.test: Don't require gcj. Skip if javac is
not available.
diff --git a/tests/instdir-java.test b/tests/instdir-java.test
index 54826c8..186871c 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
--
Andreas Schwab, address@hidden
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."