From a65b43a46fe65e7051b68c6e8af4c90d2f96e293 Mon Sep 17 00:00:00 2001 From: Jo-Philipp Wich Date: Mon, 11 Apr 2011 14:18:55 +0000 Subject: [PATCH] autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS SVN-Revision: 26589 --- include/autotools.mk | 1 + 1 file changed, 1 insertion(+) diff --git a/include/autotools.mk b/include/autotools.mk index 7797031fd6..7fe376cc15 100644 --- a/include/autotools.mk +++ b/include/autotools.mk @@ -38,6 +38,7 @@ define autoreconf [ -d $(p)/autom4te.cache ] && rm -rf autom4te.cache; \ touch NEWS AUTHORS COPYING ChangeLog; \ $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \ + $(if $(word 2,$(3)),--no-recursive) \ -B $(STAGING_DIR_HOST)/share/aclocal \ $(patsubst %,-I %,$(5)) \ $(patsubst %,-I %,$(4)) $(4) || true; \ -- 2.30.2