meson.build: Take win_bison as a possible variant for Bison

Signed-off-by: Ran Benita <ran@unusedvar.com>
master
Adrian Perez de Castro 2019-08-13 01:17:51 +03:00 committed by Ran Benita
parent 40aab05e77
commit d59ff39d22
2 changed files with 2 additions and 2 deletions

View File

@ -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.

View 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'],