From cdca5604839cfed5807698c9f684857c6ffd1321 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 Reviewed-on: https://review.lttng.org/c/babeltrace/+/9884 CI-Build: Simon Marchi --- README.adoc | 2 +- configure.ac | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.adoc b/README.adoc index d89390ee..a44e8377 100644 --- a/README.adoc +++ b/README.adoc @@ -71,7 +71,7 @@ Tools:: ** https://www.gnu.org/software/autoconf/[GNU Autoconf]{nbsp}≥{nbsp}2.64 ** 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 bae98c5e..a3faca66 100644 --- a/configure.ac +++ b/configure.ac @@ -223,12 +223,12 @@ AX_PROG_BISON_VERSION([2.5], [have_bison=yes]) AS_IF([test "x$have_bison" != "xyes"], [ AS_IF([test "x$in_git_repo" = "xyes"], [ 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