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 java when not in java maintainer mode
- From: Matthias Klose <doko at cs dot tu-berlin dot de>
- To: java-patches at gcc dot gnu dot org
- Date: Mon, 20 Oct 2008 09:35:53 +0200
- Subject: [cp-0.98, patch] don't check for java when not in java maintainer mode
One more occurrence of a check for java. still able to build gjdoc
with just the antlr.jar on the system.
ChangeLog.gcj
2008-10-20 Matthias Klose <doko@ubuntu.com>
* configure.ac: Don't check for working java, if not configured
with --enable-java-maintainer-mode.
* configure: Regenerate.
Index: configure.ac
===================================================================
--- configure.ac (revision 141224)
+++ configure.ac (working copy)
@@ -1015,11 +1015,15 @@
AC_SUBST(PATH_TO_GLIBJ_ZIP)
if test "x${TOOLSDIR}" != x; then
- if test "x${COMPILE_WRAPPERS}" = xno; then
+ dnl GCJ LOCAL
+ if test "x${COMPILE_WRAPPERS}" = xno && test "x${enable_java_maintainer_mode}" = xyes; then
AC_PROG_JAVA
fi
if test "x${COMPILE_GJDOC}" = xyes; then
- AC_PROG_JAVA
+ if test "$enable_java_maintainer_mode" = yes; then
+ AC_PROG_JAVA
+ fi
+ dnl END GCJ LOCAL
AC_LIB_ANTLR
if test "x${REGENERATE_GJDOC_PARSER}" = xyes; then
AC_PROG_ANTLR(2,7,1)