From d2954ce4d0803df31fb2ca2840ac21db5ab70a4d Mon Sep 17 00:00:00 2001 From: Bill Currie Date: Wed, 10 Apr 2002 17:56:00 +0000 Subject: [PATCH] explicitly require bison and flex --- configure.ac | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/configure.ac b/configure.ac index a138b389e..dc8e7781d 100644 --- a/configure.ac +++ b/configure.ac @@ -91,8 +91,18 @@ AC_PROG_LN_S AC_PROG_RANLIB AC_LIBTOOL_WIN32_DLL AM_PROG_LIBTOOL + AC_PROG_YACC +if echo $YACC | grep -vq bison; then + AC_MSG_ERROR(GNU bison is required but wasn't found) +fi + AM_PROG_LEX +if echo $LEX | grep -vq flex; then + AC_MSG_ERROR(GNU flex is required but wasn't found) +fi + + AC_ARG_WITH(cpp, [ --with-cpp=CPP how qfcc should invoke cpp],