From dc41944f197e23bbdeabd70c1d70ce1154b347c3 Mon Sep 17 00:00:00 2001 From: Daniel McGregor Date: Tue, 12 Oct 2021 09:44:48 -0600 Subject: bison: prevent checking for textstyle. Bison's autoconf is also very good at finding textstyle, force it to not find it unless it's explictly enabled. (From OE-Core rev: 4f80931136462546f70f5e40d86d5e566f78d2e3) Signed-off-by: Daniel McGregor Signed-off-by: Richard Purdie --- meta/recipes-devtools/bison/bison_3.8.1.bb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'meta/recipes-devtools/bison') diff --git a/meta/recipes-devtools/bison/bison_3.8.1.bb b/meta/recipes-devtools/bison/bison_3.8.1.bb index a6159b007a..54c1fe1b52 100644 --- a/meta/recipes-devtools/bison/bison_3.8.1.bb +++ b/meta/recipes-devtools/bison/bison_3.8.1.bb @@ -32,7 +32,9 @@ PACKAGECONFIG[textstyle] = "--with-libtextstyle-prefix,--without-libtextstyle-pr CACHED_CONFIGUREVARS += "${@bb.utils.contains('PACKAGECONFIG', 'readline', '', ' \ ac_cv_header_readline_history_h=no \ ac_cv_header_readline_readline_h=no \ - gl_cv_lib_readline=no', d)}" + gl_cv_lib_readline=no', d)} \ + ${@bb.utils.contains('PACKAGECONFIG', 'textstyle', '', ' \ + ac_cv_libtextstyle=no', d)}" # The automatic m4 path detection gets confused, so force the right value acpaths = "-I ./m4" -- cgit v1.2.3-54-g00ecf