diff options
Diffstat (limited to 'libjava/classpath/m4/acinclude.m4')
-rw-r--r-- | libjava/classpath/m4/acinclude.m4 | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/libjava/classpath/m4/acinclude.m4 b/libjava/classpath/m4/acinclude.m4 index 4133327..35daa03 100644 --- a/libjava/classpath/m4/acinclude.m4 +++ b/libjava/classpath/m4/acinclude.m4 @@ -24,10 +24,13 @@ AC_DEFUN([CLASSPATH_FIND_JAVAC], fi AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc) -dnl if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc; then - if test "x${ECJ}" = x && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xecj; then + ## GCJ LOCAL + if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${ECJ}" = x \ + && test "x${JAVAC}" = x && test "x${user_specified_javac}" != xkjc + then AC_MSG_ERROR([cannot find javac, try --with-ecj]) fi + ## END GCJ LOCAL ]) dnl ----------------------------------------------------------- |