This is need in particular for the new version of bash, which showcases the might of autotools by shipping local instances of aclocal.m4 and gettext m4 files in the source tree which are customized and impossible to regenerate.
Signed-off-by: Alexander Kanavin <alex.kana...@gmail.com> --- meta/classes/autotools.bbclass | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/meta/classes/autotools.bbclass b/meta/classes/autotools.bbclass index 2ceb790b5c..b321825eed 100644 --- a/meta/classes/autotools.bbclass +++ b/meta/classes/autotools.bbclass @@ -224,9 +224,11 @@ autotools_do_configure() { intltoolize --copy --force --automake fi - for i in $PRUNE_M4; do - find ${S} -ignore_readdir_race -name $i -delete - done + if [ "${INHIBIT_PRUNE_M4}" = "" ]; then + for i in $PRUNE_M4; do + find ${S} -ignore_readdir_race -name $i -delete + done + fi bbnote Executing ACLOCAL=\"$ACLOCAL\" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths ACLOCAL="$ACLOCAL" autoreconf -Wcross --verbose --install --force ${EXTRA_AUTORECONF} $acpaths || die "autoreconf execution failed." -- 2.29.2
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#146260): https://lists.openembedded.org/g/openembedded-core/message/146260 Mute This Topic: https://lists.openembedded.org/mt/79276792/21656 Group Owner: openembedded-core+ow...@lists.openembedded.org Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-