Skip to content


Check whether lex/flex and yacc/bison really exist. Fix for ticket #395.
Browse files Browse the repository at this point in the history
git-svn-id: c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 17, 2006
1 parent 0d1c15a commit 004b831
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@ dnl ---------------------------------------------------------------------------

# test whether they have been really found
# (by default if not found autoconf will use a stub)

if test x"$LEX" != "xflex" -a x"$LEX" != "xlex" ; then
AC_MSG_ERROR("Lex/Flex is not available!")

if test x"$YACC" != "xbison" -a x"$YACC" != "xyacc" -a x"$YACC" != "xbison -y" ; then
AC_MSG_ERROR("Yacc/Bison is not available!")

dnl ---------------------------------------------------------------------------
dnl SPIT plugin
Expand Down

0 comments on commit 004b831

Please sign in to comment.