From d59ff39d22b807cf40d821650e06896950a07425 Mon Sep 17 00:00:00 2001 From: Adrian Perez de Castro Date: Tue, 13 Aug 2019 01:17:51 +0300 Subject: [PATCH] meson.build: Take win_bison as a possible variant for Bison Signed-off-by: Ran Benita --- PACKAGING | 2 +- meson.build | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/PACKAGING b/PACKAGING index ab1b682..85488e9 100644 --- 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. diff --git a/meson.build b/meson.build index efbf661..0098492 100644 --- a/meson.build +++ b/meson.build @@ -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'], -- 2.7.4