summaryrefslogtreecommitdiff
path: root/mk/host-bottom.mk
diff options
context:
space:
mode:
Diffstat (limited to 'mk/host-bottom.mk')
-rw-r--r--mk/host-bottom.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/mk/host-bottom.mk b/mk/host-bottom.mk
index 59b7cf6d8..b672df7f0 100644
--- a/mk/host-bottom.mk
+++ b/mk/host-bottom.mk
@@ -7,6 +7,11 @@ host-configure:
${_HOST_CONFIGURE_COOKIE}: ${_HOST_PATCH_COOKIE}
@mkdir -p ${WRKBUILD}
@$(CMD_TRACE) "host configuring... "
+ifneq (,$(filter autoreconf,${AUTOTOOL_STYLE}))
+ cd ${WRKSRC}; env ${AUTOTOOL_ENV} autoreconf -if $(MAKE_TRACE)
+ @rm -rf ${WRKSRC}/autom4te.cache
+ @touch ${WRKDIR}/.autoreconf_done
+endif
@cd ${WRKBUILD}; \
for i in $$(find . -name config.sub);do \
if [ -f $$i ]; then \