diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2011-04-11 14:18:55 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2011-04-11 14:18:55 +0000 |
commit | a65b43a46fe65e7051b68c6e8af4c90d2f96e293 (patch) | |
tree | 9d937011fa81d8bdfdae3e623319460b178b4c80 /include/autotools.mk | |
parent | 22285a76e5a34fbd3d49a8ffc65602ca3bf9f7ec (diff) | |
download | upstream-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.tar.gz upstream-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.tar.bz2 upstream-a65b43a46fe65e7051b68c6e8af4c90d2f96e293.zip |
autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS
SVN-Revision: 26589
Diffstat (limited to 'include/autotools.mk')
-rw-r--r-- | include/autotools.mk | 1 |
1 files changed, 1 insertions, 0 deletions
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; \ |