From: Daniel McGregor Date: Tue, 12 Oct 2021 15:44:48 +0000 (-0600) Subject: bison: prevent checking for textstyle. X-Git-Tag: lucaceresoli/bug-15201-perf-libtraceevent-missing~6482 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4f80931136462546f70f5e40d86d5e566f78d2e3;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git 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. Signed-off-by: Daniel McGregor Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-devtools/bison/bison_3.8.1.bb b/meta/recipes-devtools/bison/bison_3.8.1.bb index a6159b007ab..54c1fe1b52e 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"