Просмотр исходного кода

autotools.mk: disable autoreconf recursion if more than one dir is given in PKG_AUTOMAKE_PATHS

SVN-Revision: 26589
Jo-Philipp Wich 14 лет назад
Родитель
Сommit
a65b43a46f
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      include/autotools.mk

+ 1 - 0
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; \