mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-25 00:58:06 -05:00
Check whether lex/flex and yacc/bison really exist. Fix for ticket #395.
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@6105 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
de1934f46b
commit
95938b3423
10
configure.in
10
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
|
||||
|
Loading…
x
Reference in New Issue
Block a user