summaryrefslogtreecommitdiff
path: root/acinclude.m4
diff options
context:
space:
mode:
authorMark Wielaard <mark@klomp.org>2002-01-14 07:49:09 +0000
committerMark Wielaard <mark@klomp.org>2002-01-14 07:49:09 +0000
commita5bb1a58360f0ac7a13d47e204abefdfcd6a451c (patch)
tree35edefd967231c28dda7a451c61253dcf7ace82a /acinclude.m4
parent0e955b5f6568b09ad409ebd4669350ebc2f5df97 (diff)
downloadclasspath-a5bb1a58360f0ac7a13d47e204abefdfcd6a451c.tar.gz
* acinclude.m4: Fix $user_specified_javac detection
Diffstat (limited to 'acinclude.m4')
-rw-r--r--acinclude.m410
1 files changed, 4 insertions, 6 deletions
diff --git a/acinclude.m4 b/acinclude.m4
index ebb05c1fe..30f449644 100644
--- a/acinclude.m4
+++ b/acinclude.m4
@@ -255,15 +255,13 @@ AC_DEFUN(CLASSPATH_FIND_JAVAC,
CLASSPATH_WITH_JIKES
CLASSPATH_WITH_KJC
- case "$user_specified_javac" in
- gcj) AM_CONDITIONAL(FOUND_GCJ, test x = x) ;;
- jikes) AM_CONDITIONAL(FOUND_JIKES, test x = x) ;;
- kjc) AM_CONDITIONAL(FOUND_KJC, test x = x) ;;
- esac
-
if test "$user_specified_javac" = ""; then
AM_CONDITIONAL(FOUND_GCJ, test "$GCJ" != "")
AM_CONDITIONAL(FOUND_JIKES, test "$JIKES" != "")
+ else
+ AM_CONDITIONAL(FOUND_GCJ, test "$user_specified_javac" = "gcj")
+ AM_CONDITIONAL(FOUND_JIKES, test "$user_specified_javac" = "jikes")
+ AM_CONDITIONAL(FOUND_KJC, test "$user_specified_javac" = "kjc")
fi
if test "$GCJ" = "" && test "$JIKES" = "" && test "$user_specified_javac" != "kjc"; then