This is the mail archive of the
java-patches@gcc.gnu.org
mailing list for the Java project.
[cp-0.98, patch] don't check for working javac without --enable-java-maintainer-mode
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Sun, 19 Oct 2008 10:04:22 +0200
- Subject: [cp-0.98, patch] don't check for working javac without --enable-java-maintainer-mode
When configured without --enable-java-maintainer-mode, we don't have a
working javac.
Plus regenerated the Makefile.in's which were out of date after the
last checkin.
Matthias
2008-10-19 Matthias Klose <doko@ubuntu.com>
* m4/ac_prog_javac.m4: Don't check for working java, if not configured
with --enable-java-maintainer-mode.
* configure: Regenerate.
* Makefile.in, */Makefile.in: Regenerate.
Index: m4/ac_prog_java.m4
===================================================================
--- m4/ac_prog_java.m4 (revision 141136)
+++ m4/ac_prog_java.m4 (working copy)
@@ -12,6 +12,10 @@
test "x$JAVA" = x && AC_CHECK_PROGS(JAVA, cacao$EXEEXT jamvm$EXEEXT kaffe$EXEEXT gij$EXEEXT java$EXEEXT, $JAVAPREFIX)
fi
test "x$JAVA" = x && AC_MSG_ERROR([no acceptable Java virtual machine found in \$PATH])
+dnl GCJ LOCAL
+if test "$enable_java_maintainer_mode" = yes; then
AC_PROG_JAVA_WORKS
+fi
+dnl END GCJ LOCAL
AC_PROVIDE([$0])dnl
])