This patch fixes a typo in my last patch to fix compiler selection.
This makes --with-ecj (no arguments) work again.

2007-10-12  Andrew John Hughes  <[EMAIL PROTECTED]>

        PR classpath/33623:
        * m4/acinclude.m4:
        Fix typo which prevents --with-ecj being used.

-- 
Andy :)

Room 122, Department of Computer Science
http://www.dcs.shef.ac.uk/~andrew
Index: m4/acinclude.m4
===================================================================
RCS file: /sources/classpath/classpath/m4/acinclude.m4,v
retrieving revision 1.20
diff -u -r1.20 acinclude.m4
--- m4/acinclude.m4	8 Oct 2007 23:09:17 -0000	1.20
+++ m4/acinclude.m4	12 Oct 2007 07:50:23 -0000
@@ -15,7 +15,7 @@
   if test "x${user_specified_ecj}" = x; then
     AM_CONDITIONAL(FOUND_ECJ, test "x${ECJ}" != x)
   else
-    AM_CONDITIONAL(FOUND_ECJ, test "x${user_specified_javac}" = xecj && test "x${ECJ}" != x)
+    AM_CONDITIONAL(FOUND_ECJ, test "x${user_specified_ecj}" = xecj && test "x${ECJ}" != x)
   fi
 
   if test "x${user_specified_javac}" = x; then

Reply via email to