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 <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
Daniel McGregor
2021-10-12 09:44:48 -06:00
committed by Richard Purdie
parent 21d529bdf3
commit dc41944f19

View File

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