From a5d34b86132607858f7a3df3539170e91008ce62 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Fri, 20 Jan 2012 21:31:03 +0000
Subject: [PATCH] autotools.mk: fix autoreconf in subdirectories, thanks
 field_it for spotting this

SVN-Revision: 29835
---
 include/autotools.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/autotools.mk b/include/autotools.mk
index f7b633d96c..c5ba748ab9 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -43,7 +43,7 @@ define autoreconf
 					$(if $(word 2,$(3)),--no-recursive) \
 					-B $(STAGING_DIR_HOST)/share/aclocal \
 					$(patsubst %,-I %,$(5)) \
-					$(patsubst %,-I %,$(4)) $(4) || true; \
+					$(patsubst %,-I %,$(4)) $(p) || true; \
 			fi; \
 		) \
 	);
-- 
GitLab