]> git.saurik.com Git - bison.git/commitdiff
build: require Flex.
authorAkim Demaille <akim@lrde.epita.fr>
Tue, 10 Apr 2012 19:36:23 +0000 (21:36 +0200)
committerAkim Demaille <akim@lrde.epita.fr>
Tue, 10 Apr 2012 19:37:10 +0000 (21:37 +0200)
* configure.ac: Require Flex.

configure.ac

index 688e18efe74bb137d714af6fc24ea59f616e57ae..704f5aaabc0f37781b4eba34d2b79c766c652bfb 100644 (file)
@@ -114,6 +114,9 @@ AC_SUBST([YACC_LIBRARY])
 
 # Checks for programs.
 AC_PROG_LEX
 
 # Checks for programs.
 AC_PROG_LEX
+if test "$FLEX" != yes; then
+  AC_MSG_ERROR([Flex is required])
+fi
 AC_PROG_YACC
 AC_PROG_RANLIB
 AC_PROG_GNU_M4
 AC_PROG_YACC
 AC_PROG_RANLIB
 AC_PROG_GNU_M4