PATCH: Libjava is broken again
Matthias Klose
doko@cs.tu-berlin.de
Mon Jun 4 09:10:00 GMT 2007
Paolo Bonzini writes:
>
> > The patch looks ok: prefer GCJ, as done in classpath/{lib,tools}/Makefile.am.
>
> The patch H.J. posted fully disables ecj, what you want is probably
> along this lines instead:
>
> if test "x${GCJ}" = x && test "x${JIKES}" = x && \
> test "x${ECJ}" = x && test "x${JAVAC}" = x && \
> test "x${user_specified_javac}" != xkjc; then
currently bootstrapping with the proposed change.
> possibly with a different error message soon after. (What is kjc by the
> way?...)
To be honest, I don't know. Taken unmodified from classpath.
Matthias
ChangeLog.gcj:
2007-06-04 Matthias Klose <doko@ubuntu.com>
* m4/acinclude.m4: Accept GCJ and JIKES.
* configure: Regenerate.
Index: m4/acinclude.m4
===================================================================
--- m4/acinclude.m4 (revision 125309)
+++ m4/acinclude.m4 (working copy)
@@ -24,10 +24,13 @@
fi
AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc)
-dnl if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc; then
- if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj; then
+ ## GCJ LOCAL
+ if 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])
fi
+ ## END GCJ LOCAL
])
dnl -----------------------------------------------------------
More information about the Java-patches
mailing list