]> code.ossystems Code Review - openembedded-core.git/commitdiff
bison: prevent checking for textstyle.
authorDaniel McGregor <daniel.mcgregor@vecima.com>
Tue, 12 Oct 2021 15:44:48 +0000 (09:44 -0600)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Oct 2021 21:31:55 +0000 (22:31 +0100)
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 <daniel.mcgregor@vecima.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-devtools/bison/bison_3.8.1.bb

index a6159b007ab2d786a2788eebaa66c2c92e790d83..54c1fe1b52e41e4980de58b3765b447131230d81 100644 (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"