Hi all,

the attached patch fixes a FIXME om acinclude.

2006-03-27  Dalibor Topic  <[EMAIL PROTECTED]>

        * m4/acinclude.m4 (CLASSPATH_FIND_JAVAC): Use
        AC_MSG_ERROR instead of echoing the error message
        that no compiler has been found manually.


cheers,
dalibor topic
--- acinclude.m4.~1.10.~	2006-02-11 21:56:08.000000000 +0100
+++ acinclude.m4	2006-03-27 19:34:55.000000000 +0200
@@ -24,9 +24,7 @@
   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 && test "x${user_specified_javac}" != xecj; then
-      # FIXME: use autoconf error function
-      echo "configure: cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx" 1>&2
-      exit 1    
+      AC_MSG_ERROR([cannot find javac, try --with-gcj, --with-jikes, --with-kjc, --with-ecj, or --with-gcjx])
   fi
 ])
 

Reply via email to