]> git.saurik.com Git - bison.git/blobdiff - configure.ac
maint: maintainer-release-check.
[bison.git] / configure.ac
index 704f5aaabc0f37781b4eba34d2b79c766c652bfb..3c3fa421474692370f5146c2a57861e60b316d39 100644 (file)
@@ -114,9 +114,7 @@ AC_SUBST([YACC_LIBRARY])
 
 # Checks for programs.
 AC_PROG_LEX
-if test "$FLEX" != yes; then
-  AC_MSG_ERROR([Flex is required])
-fi
+$LEX_IS_FLEX || AC_MSG_ERROR([Flex is required])
 AC_PROG_YACC
 AC_PROG_RANLIB
 AC_PROG_GNU_M4