]> code.ossystems Code Review - openembedded-core.git/commitdiff
bash: disable aclocal
authorRoss Burton <ross.burton@intel.com>
Tue, 28 Nov 2017 14:45:36 +0000 (14:45 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 9 Dec 2017 14:36:58 +0000 (14:36 +0000)
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.

Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-extended/bash/bash.inc

index f4e1f7a11f4c91839b327e7a1eb21ca6b9e587a2..89c35bd59c17dd2ffa81ccb193c1021091d7a8ad 100644 (file)
@@ -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
 }