diff --git a/.travis.yml b/.travis.yml index a828467..e144f83 100644 --- a/.travis.yml +++ b/.travis.yml @@ -85,6 +85,7 @@ jobs: - bison env: - CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --disable-glib" + - YACC="/usr/local/opt/bison/bin/bison" - compiler: clang os: osx osx_image: xcode11.4 @@ -96,6 +97,7 @@ jobs: - bison env: - CONFIGURE_FLAGS="--with-iodbc=/usr/local/opt --enable-glib" + - YACC="/usr/local/opt/bison/bin/bison" - compiler: clang os: osx osx_image: xcode11.4 @@ -106,6 +108,7 @@ jobs: - bison env: - CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --disable-glib" + - YACC="/usr/local/opt/bison/bin/bison" - compiler: clang os: osx osx_image: xcode11.4 @@ -117,6 +120,7 @@ jobs: - bison env: - CONFIGURE_FLAGS="--with-unixodbc=/usr/local/opt --enable-glib" + - YACC="/usr/local/opt/bison/bin/bison" - compiler: gcc os: osx osx_image: xcode11.4 diff --git a/README.md b/README.md index 10e9f8e..b0cbe95 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ First, you must have reasonably current installations of: * [autoconf](https://www.gnu.org/software/autoconf/) (version >= 2.58) If you want to build the SQL engine, you'll need -[bison](https://www.gnu.org/software/bison/) or +[bison](https://www.gnu.org/software/bison/) (version >= 3.0) or [byacc](https://invisible-island.net/byacc/byacc.html), and [flex](https://github.com/westes/flex). diff --git a/configure.ac b/configure.ac index 5e2ef35..d0b228f 100644 --- a/configure.ac +++ b/configure.ac @@ -53,6 +53,7 @@ if $YACC -V >/dev/null 2>&1; then if $YACC -Wno-conflicts-sr -V >/dev/null 2>&1; then YFLAGS="$YFLAGS -Wno-conflicts-sr" fi + YFLAGS="$YFLAGS -Wno-yacc" else sql=false fi