4 # This macro verifies that flex is installed. If successful, then
5 # 1) $LEX is set to "flex" (to emulate lex calls)
6 # 2) BISON is set to bison
7 AC_DEFUN([AC_PROG_FLEX],
12 if test "$LEX" != "flex"; then
13 AC_MSG_ERROR([flex not found but required])
15 AC_SUBST(FLEX,[flex],[location of flex])