Skip to content

Commit

Permalink
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: http://svn.osgeo.org/qgis/trunk/qgis@6105 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder committed Nov 17, 2006
1 parent de1934f commit 95938b3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions configure.in
Original file line number Diff line number Diff line change
Expand Up @@ -296,6 +296,16 @@ dnl ---------------------------------------------------------------------------
AC_PROG_YACC
AM_PROG_LEX

# 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!")
fi

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

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

0 comments on commit 95938b3

Please sign in to comment.