X-Git-Url: https://git.saurik.com/bison.git/blobdiff_plain/28c4075b58130c1b98747ca61876f5c7660b2397..b51cf830a6cb513ca8e357321307997672d6d6b0:/configure.ac?ds=sidebyside diff --git a/configure.ac b/configure.ac index f7319a15..992e2033 100644 --- a/configure.ac +++ b/configure.ac @@ -175,7 +175,10 @@ AC_SUBST([YACC_LIBRARY]) # Checks for programs. AM_MISSING_PROG([DOT], [dot]) AC_PROG_LEX -$LEX_IS_FLEX || AC_MSG_ERROR([Flex is required]) +$LEX_IS_FLEX || test "X$LEX" = X: || { + AC_MSG_WARN([bypassing lex because flex is required]) + LEX=: +} AC_PROG_YACC AC_PROG_RANLIB AC_PROG_GNU_M4