mirror of
https://github.com/mdbtools/mdbtools.git
synced 2025-04-05 20:31:00 +08:00
Require Bison 3.0+ at configure time for SQL features
This commit is contained in:
parent
2a808d8d05
commit
ea368bc0e3
@ -49,7 +49,7 @@ AC_MSG_RESULT( no - SQL engine disable);
|
||||
sql=false
|
||||
fi
|
||||
|
||||
if $YACC -V >/dev/null 2>&1; then
|
||||
if $YACC -V | grep "bison.* 3[.]" >/dev/null 2>&1; then
|
||||
if $YACC -Wno-conflicts-sr -V >/dev/null 2>&1; then
|
||||
YFLAGS="$YFLAGS -Wno-conflicts-sr"
|
||||
fi
|
||||
@ -64,7 +64,7 @@ if test "x$sql" = "xtrue"; then
|
||||
CFLAGS="$CFLAGS -DSQL"
|
||||
OPTDIRS="$OPTDIRS sql"
|
||||
else
|
||||
AC_MSG_WARN([Yacc is not available: SQL disabled.])
|
||||
AC_MSG_WARN([Bison 3.0+ is not available: SQL disabled.])
|
||||
fi
|
||||
|
||||
AM_CONDITIONAL(SQL, test x$sql = xtrue)
|
||||
|
Loading…
Reference in New Issue
Block a user