aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.in9
1 files changed, 5 insertions, 4 deletions
diff --git a/configure.in b/configure.in
index d4dc7581e1..9a348d69e5 100644
--- a/configure.in
+++ b/configure.in
@@ -32,10 +32,11 @@ if test "x$YACCDUMMY" = x
then
AC_MSG_ERROR(I couldn't find yacc (or bison or ...); make sure it's installed and in your path)
fi
-AC_PATH_PROG(LEX, flex)
-if test "x$LEX" = x
+AM_PROG_LEX
+AC_PATH_PROG(LEXDUMMY, $LEX)
+if test "x$LEXDUMMY" = x
then
- AC_MSG_ERROR(I couldn't find flex; make sure it's installed and in your path)
+ AC_MSG_ERROR(I couldn't find (f)lex; make sure it's installed and in your path)
fi
AC_PATH_PROG(POD2MAN, pod2man)
if test "x$POD2MAN" = x
@@ -278,7 +279,7 @@ fi
#
# If we're running gcc, will enable a barrier "stop on warning".
# This barrier is set for a very large part of the code. However, it is
-# typically not set for "generated" code (flex, ans2wrs, idl2wrs, ...)
+# typically not set for "generated" code (lex, ans2wrs, idl2wrs, ...)
#
warnings_as_errors_default="yes"
AC_MSG_CHECKING(whether we should treat compiler warnings as errors)