X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/10232af80816ac644f8b9d6659bf113026672f53..a0cd287e64e2d53bc5896e0a7c5ad072cb8bf469:/configure.ac diff --git a/configure.ac b/configure.ac index 704f5aaa..3c3fa421 100644 --- a/configure.ac +++ b/configure.ac @@ -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