From 921cd9bdec15f49b11d510e4e52e1269920acad8 Mon Sep 17 00:00:00 2001 From: Michael Jeanson Date: Wed, 5 Apr 2023 10:40:31 -0400 Subject: [PATCH] fix: document proper Bison version requirement The minimum version of Bison was bumped to 2.5 a while ago, update the documentation and help messages that still refer to 2.4. Change-Id: I3daef3eb51f24ff0194c43e3e13575eaa6de4f56 Signed-off-by: Michael Jeanson Reviewed-on: https://review.lttng.org/c/babeltrace/+/9734 Tested-by: jenkins Reviewed-by: Philippe Proulx --- README.adoc | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index d43246ae..17706179 100644 --- a/README.adoc +++ b/README.adoc @@ -74,7 +74,7 @@ Tools:: ** https://www.gnu.org/software/autoconf/[GNU Autoconf]{nbsp}≥{nbsp}2.69 ** https://www.gnu.org/software/libtool/[GNU Libtool]{nbsp}≥{nbsp}2.2 ** https://github.com/westes/flex[flex]{nbsp}≥{nbsp}2.5.35 - ** https://www.gnu.org/software/bison/bison.html[GNU Bison]{nbsp}≥{nbsp}2.4 + ** https://www.gnu.org/software/bison/bison.html[GNU Bison]{nbsp}≥{nbsp}2.5 Libraries:: * A C library (for example, diff --git a/configure.ac b/configure.ac index 1a406832..b343a3c4 100644 --- a/configure.ac +++ b/configure.ac @@ -211,12 +211,12 @@ AX_PROG_BISON_VERSION([2.5], [have_bison=yes]) AS_IF([test "x$have_bison" != "xyes"], [ AE_IF_IN_GIT_REPO([ AC_MSG_FAILURE([dnl -Bison >= 2.4 is required when building from the Git repository. You can +Bison >= 2.5 is required when building from the Git repository. You can set the YACC variable to override automatic detection. ]) ], [ AC_MSG_WARN([dnl -Missing Bison >= 2.4. Note that the parser files are already built in +Missing Bison >= 2.5. Note that the parser files are already built in this distribution tarball, so Bison is only needed if you intend to modify their sources. You can set the YACC variable to override automatic detection. -- 2.34.1