This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[patch] don't check for javac when not in java-maintainer mode
- From: Matthias Klose <doko at ubuntu dot com>
- To: GCJ-patches <java-patches at gcc dot gnu dot org>
- Date: Sun, 05 Aug 2007 16:21:31 +0200
- Subject: [patch] don't check for javac when not in java-maintainer mode
We don't need a javac, when not confiured with --enable-java-maintainer-mode,
checked with a bootstrap without javac, gcj, ecj on the system.
Ok to checkin?
Matthias
libjava/classpath/ChangeLog.gcj
* m4/acinclude.m4: Don't check for a bytecode compiler when
not in java maintainer mode.
* configure: Regenerate.
diff -ur libjava/classpath.orig/m4/acinclude.m4 libjava/classpath/m4/acinclude.m4
--- libjava/classpath.orig/m4/acinclude.m4 2007-08-05 12:19:49.920620546 +0200
+++ libjava/classpath/m4/acinclude.m4 2007-08-05 12:16:02.847195195 +0200
@@ -25,7 +25,8 @@
AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc)
## GCJ LOCAL
- if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \
+ if test "x$enable_java_maintainer_mode" = xyes \
+ && test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \
&& test "x${JAVAC}" = x && test "x${user_specified_javac}" != xkjc
then
AC_MSG_ERROR([cannot find javac, try --with-ecj])