meson.build: Take win_bison as a possible variant for Bison
authorAdrian Perez de Castro <aperez@igalia.com>
Mon, 12 Aug 2019 22:17:51 +0000 (01:17 +0300)
committerRan Benita <ran@unusedvar.com>
Fri, 27 Dec 2019 11:21:34 +0000 (13:21 +0200)
Signed-off-by: Ran Benita <ran@unusedvar.com>
PACKAGING
meson.build

index ab1b682..85488e9 100644 (file)
--- a/PACKAGING
+++ b/PACKAGING
@@ -11,7 +11,7 @@ libxkbcommon-x11 can be disabled with -Denable-x11=false (see
 Dependencies for libxkbcommon:
 - C compiler, meson, pkg-config, libc, bash, grep, sed.
 
-- (build) bison (preferred) or byacc>=20141006.
+- (build) bison (preferred), win_bison or byacc>=20141006.
   byacc must be configured with --enable-btyacc.
 
 - (build optional, runtime) xkeyboard-config.
index efbf661..0098492 100644 (file)
@@ -128,7 +128,7 @@ have_version_script = cc.links(
 # libxkbcommon.
 # Note: we use some yacc extensions, which work with either GNU bison
 # (preferred) or byacc. Other yacc's may or may not work.
-yacc = find_program('bison', 'byacc')
+yacc = find_program('bison', 'win_bison', 'byacc')
 yacc_gen = generator(
     yacc,
     output: ['@BASENAME@.c', '@BASENAME@.h'],