Backporting this from doko:

2008-09-29  Matthias Klose  <[EMAIL PROTECTED]>

        * m4/ac_prog_antlr.m4:
        Check for antlr binary as well.

-- 
Andrew :)

Support Free Java!
Contribute to GNU Classpath and the OpenJDK
http://www.gnu.org/software/classpath
http://openjdk.java.net
PGP Key: 94EFD9D8 (http://subkeys.pgp.net)
Fingerprint = F8EF F1EA 401E 2E60 15FA  7927 142C 2591 94EF D9D8
Index: m4/ac_prog_antlr.m4
===================================================================
RCS file: /sources/classpath/classpath/m4/ac_prog_antlr.m4,v
retrieving revision 1.2
diff -u -u -r1.2 ac_prog_antlr.m4
--- m4/ac_prog_antlr.m4 14 Sep 2008 23:39:50 -0000      1.2
+++ m4/ac_prog_antlr.m4 30 Sep 2008 00:53:55 -0000
@@ -34,10 +34,10 @@
      test -f $ANTLR_JAR || AC_MSG_ERROR([specified ANTLR jar file $ANTLR_JAR 
not found.]) \
         && AC_MSG_NOTICE([using ANTLR parser generator in $ANTLR_JAR])
   fi
-  AC_CHECK_TOOLS([ANTLR], [runantlr])
+  AC_CHECK_TOOLS([ANTLR], [runantlr antlr])
   if test "x$ANTLR" = x; then
       if test -z "$JAVA"; then
-        AC_MSG_ERROR(Failed to find either runantlr or a suitable Java runtime 
for ANTLR.)
+        AC_MSG_ERROR(Failed to find either an antlr binary or a suitable Java 
runtime for ANTLR.)
       else
         ANTLR="$JAVA -classpath $ANTLR_JAR antlr.Tool"
       fi

Reply via email to