From e47df0db96a2d02635ffd3227e2dd387e28f7f1f Mon Sep 17 00:00:00 2001 From: Andrew John Hughes Date: Wed, 11 Jun 2008 21:41:29 +0000 Subject: Forwardport native-only build fix #08. 2008-06-05 Andrew John Hughes * configure.ac: Check for --with-glibj too when disabling the javac check. --- configure.ac | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'configure.ac') diff --git a/configure.ac b/configure.ac index a4287e53e..854f8de4a 100644 --- a/configure.ac +++ b/configure.ac @@ -935,8 +935,9 @@ AC_SUBST(PATH_TO_GLIBJ_ZIP) # the examples or the tools if test "x${use_glibj_zip}" = xfalse || \ test "x${EXAMPLESDIR}" != x || \ - test "x${TOOLSDIR}" != x; then - AC_PROG_JAVAC + test "x${TOOLSDIR}" != x && \ + test "x${build_class_files}" != xno; then + AC_PROG_JAVAC CLASSPATH_JAVAC_MEM_CHECK fi -- cgit v1.2.1