Skip to contentSkip to conversation

bash: disable aclocal

PATCH In review Ross Burton 2 participants 2 messages Nov 28, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 bash: disable aclocal

Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal and overwriting it. This means we can remove the kludge to copy aclocal.m4 to acinclude.m4.

---
 meta/recipes-extended/bash/bash.inc | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)
meta/recipes-extended/bash/bash.inc +1 -7
index f4e1f7a11f4..89c35bd59c1 100644
@@ -6,7 +6,7 @@ DEPENDS = "ncurses bison-native virtual/libiconv"
 
 inherit autotools gettext texinfo update-alternatives ptest
 
-EXTRA_AUTORECONF += "--exclude=autoheader"
+EXTRA_AUTORECONF += "--exclude=autoheader --exclude=aclocal"
 EXTRA_OECONF = "--enable-job-control --without-bash-malloc"
 
 # If NON_INTERACTIVE_LOGIN_SHELLS is defined, all login shells read the
@@ -33,12 +33,6 @@ USERADD_PARAM_${PN}-ptest = "--create-home --user-group test"
 
 CACHED_CONFIGUREVARS += "headersdir=${includedir}/${PN}"
 
-do_configure_prepend () {
-	if [ ! -e ${S}/acinclude.m4 ]; then
-		cat ${S}/aclocal.m4 > ${S}/acinclude.m4
-	fi
-}
-
 do_compile_ptest () {
 	oe_runmake buildtest
 }
Signature · 1 line
2.11.0
#1 lore raw
Quoted 6 lines · Ross Burton

Bash hand-maintains their aclocal.m4, so stop autoreconf from invoking aclocal
and overwriting it. This means we can remove the kludge to copy aclocal.m4 to
acinclude.m4.

Nice. Glad to see some of these kludges going away after all these years :)

Signature · 4 lines
Christopher Larson
kergoth at gmail dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Senior Software Engineer, Mentor Graphics