summaryrefslogtreecommitdiff
path: root/m4/ac_prog_antlr.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ac_prog_antlr.m4')
-rw-r--r--m4/ac_prog_antlr.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ac_prog_antlr.m4 b/m4/ac_prog_antlr.m4
index a13fbd582..356a4f3e0 100644
--- a/m4/ac_prog_antlr.m4
+++ b/m4/ac_prog_antlr.m4
@@ -34,10 +34,10 @@ AC_DEFUN([AC_PROG_ANTLR],[
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