From 8d56b498d1525ccdfc741ade45ecd3479d158acb Mon Sep 17 00:00:00 2001 From: Wilson Snyder Date: Tue, 24 Apr 2007 17:03:52 +0000 Subject: [PATCH] Warn if flex is not installed. git-svn-id: file://localhost/svn/verilator/trunk/verilator@918 77ca24e4-aefa-0310-84f0-b9a241c72d87 --- Changes | 4 ++++ configure.ac | 11 ++++++++++- 2 files changed, 14 insertions(+), 1 deletion(-) diff --git a/Changes b/Changes index b3eea44e1..06d184de7 100644 --- a/Changes +++ b/Changes @@ -3,6 +3,10 @@ Revision history for Verilator The contributors that suggested a given feature are shown in []. [by ...] indicates the contributor was also the author of the fix; Thanks! +* Verilator 3.65** + +**** Warn if flex is not installed. [Ralf Karge] + * Verilator 3.650 4/20/2007 ** Add --compiler msvc option. This is now required when Verilated code diff --git a/configure.ac b/configure.ac index 54b490df4..d1d862151 100644 --- a/configure.ac +++ b/configure.ac @@ -16,8 +16,17 @@ AC_PROG_CC AC_PROG_CXX AC_PROG_INSTALL AC_PATH_PROG(PERL,perl) -AC_PATH_PROG(YACC,bison) +if test "x$PERL" = "x" ; then + AC_MSG_ERROR([Cannot find "perl" in your PATH, please install it]) +fi AC_PATH_PROG(LEX,flex) +if test "x$LEX" = "x" ; then + AC_MSG_ERROR([Cannot find "flex" in your PATH, please install it]) +fi +AC_PATH_PROG(YACC,bison) +if test "x$YACC" = "x" ; then + AC_MSG_ERROR([Cannot find "bison" in your PATH, please install it]) +fi dnl Checks for libraries.