check for flex
authorThomas Vander Stichele <thomas@apestaart.org>
Tue, 6 Aug 2002 22:02:54 +0000 (22:02 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Tue, 6 Aug 2002 22:02:54 +0000 (22:02 +0000)
Original commit message from CVS:
check for flex

configure.ac

index 50ca874..a9a063e 100644 (file)
@@ -64,6 +64,12 @@ if test x$BISON_PATH = xno; then
   AC_MSG_ERROR(Could not find bison)
 fi
 
+dnl we require flex for building the parser
+AC_PATH_PROG(FLEX_PATH, flex, no)
+if test x$FLEX_PATH = xno; then
+  AC_MSG_ERROR(Could not find flex)
+fi
+
 dnl
 dnl We should really use AC_SYS_LARGEFILE, but the problem is
 dnl many of the plugins don't include "config.h".  To assure