Skip to content
Permalink
Browse files

Check whether lex/flex and yacc/bison really exist. Fix for ticket #395.

git-svn-id: http://svn.osgeo.org/qgis/trunk@6105 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
wonder
wonder committed Nov 17, 2006
1 parent 0d1c15a commit 004b83102b3afbf4f6b55d4db6babc4b2b4ec873
Showing with 10 additions and 0 deletions.
  1. +10 −0 configure.in
@@ -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

0 comments on commit 004b831

Please sign in to comment.
You can’t perform that action at this time.