diff options
author | Mark Wielaard <mark@klomp.org> | 2002-01-14 07:49:09 +0000 |
---|---|---|
committer | Mark Wielaard <mark@klomp.org> | 2002-01-14 07:49:09 +0000 |
commit | a5bb1a58360f0ac7a13d47e204abefdfcd6a451c (patch) | |
tree | 35edefd967231c28dda7a451c61253dcf7ace82a /acinclude.m4 | |
parent | 0e955b5f6568b09ad409ebd4669350ebc2f5df97 (diff) | |
download | classpath-a5bb1a58360f0ac7a13d47e204abefdfcd6a451c.tar.gz |
* acinclude.m4: Fix $user_specified_javac detection
Diffstat (limited to 'acinclude.m4')
-rw-r--r-- | acinclude.m4 | 10 |
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 |