summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran@unusedvar.com>2023-05-05 10:16:30 +0300
committerRan Benita <ran@unusedvar.com>2023-05-05 11:17:07 +0300
commit80be81e5ce58aca8484ef7c670a11062e38a9a76 (patch)
tree5b25f8634310b82d4a8ce60a1510e2ea971089ac
parent60d38b0c05cde8557d37b80de74412e0da770f4d (diff)
downloadxorg-lib-libxkbcommon-80be81e5ce58aca8484ef7c670a11062e38a9a76.tar.gz
build: require bison >= 2.3a
At least 2.3 (released 2006) which is the version shipped with macos doesn't work. Reading the changelog I think 2.3a *should* work, so require that. Signed-off-by: Ran Benita <ran@unusedvar.com>
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 2c90cf9..9971dc0 100644
--- a/meson.build
+++ b/meson.build
@@ -154,7 +154,7 @@ map_to_def = find_program('scripts/map-to-def')
# libxkbcommon.
# Note: we use some yacc extensions, which work with either GNU bison
# (preferred) or byacc (with backtracking enabled).
-bison = find_program('bison', 'win_bison', required: false)
+bison = find_program('bison', 'win_bison', required: false, version: '>= 2.3a')
if bison.found()
yacc_gen = generator(
bison,