Hi, if only ecj is available currently configure breaks because we don't test for a found ecj in the error test. Tested on my local box.
2006-01-16 Wolfgang Baer <[EMAIL PROTECTED]> * m4/acinclude.m4: Test also for ecj found before exiting configure with no javac found error message. OK, to commit ? Wolfgang
Index: acinclude.m4 =================================================================== RCS file: /cvsroot/classpath/classpath/m4/acinclude.m4,v retrieving revision 1.8 diff -u -r1.8 acinclude.m4 --- acinclude.m4 13 Dec 2005 01:20:29 -0000 1.8 +++ acinclude.m4 16 Jan 2006 08:42:16 -0000 @@ -23,9 +23,9 @@ AM_CONDITIONAL(FOUND_KJC, test "x${user_specified_javac}" = xkjc) AM_CONDITIONAL(FOUND_GCJX, test "x${user_specified_javac}" = xgcjx) - if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx; then + if test "x${GCJ}" = x && test "x${JIKES}" = x && test "x${user_specified_javac}" != xkjc && test "x${user_specified_javac}" != xgcjx && test "x${user_specified_javac}" != xecj; then # FIXME: use autoconf error function - echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, or --with-gcjx" 1>&2 + echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" 1>&2 exit 1 fi ])
_______________________________________________ Classpath-patches mailing list Classpath-patches@gnu.org http://lists.gnu.org/mailman/listinfo/classpath-patches