summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-11 21:41:29 +0000
committerAndrew John Hughes <gnu_andrew@member.fsf.org>2008-06-11 21:41:29 +0000
commite47df0db96a2d02635ffd3227e2dd387e28f7f1f (patch)
treebebf624af921c874c9148309f12e891f17612c33 /configure.ac
parentb4fe7f2e92c89b2832897db235b309a55da6884e (diff)
downloadclasspath-e47df0db96a2d02635ffd3227e2dd387e28f7f1f.tar.gz
Forwardport native-only build fix #08.
2008-06-05 Andrew John Hughes <gnu_andrew@member.fsf.org> * configure.ac: Check for --with-glibj too when disabling the javac check.
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac5
1 files changed, 3 insertions, 2 deletions
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