Instead of moving aclocal.m4 to acinclude.m4 in a custom do_configure, simply tell autoreconf not to run aclocal.
Signed-off-by: Ross Burton <ross.bur...@intel.com> --- meta/recipes-devtools/diffstat/diffstat_1.61.bb | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/meta/recipes-devtools/diffstat/diffstat_1.61.bb b/meta/recipes-devtools/diffstat/diffstat_1.61.bb index 583b387e957..f8b7b06cf24 100644 --- a/meta/recipes-devtools/diffstat/diffstat_1.61.bb +++ b/meta/recipes-devtools/diffstat/diffstat_1.61.bb @@ -18,14 +18,9 @@ S = "${WORKDIR}/diffstat-${PV}" inherit autotools gettext ptest -LDFLAGS += "${TOOLCHAIN_OPTIONS}" +EXTRA_AUTORECONF += "--exclude=aclocal" -do_configure () { - if [ ! -e ${S}/acinclude.m4 ]; then - mv ${S}/aclocal.m4 ${S}/acinclude.m4 - fi - autotools_do_configure -} +LDFLAGS += "${TOOLCHAIN_OPTIONS}" do_install_ptest() { cp -r ${S}/testing ${D}${PTEST_PATH} -- 2.11.0 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core