From 249693d50b0071913c7371f21c692d8f54a77a92 Mon Sep 17 00:00:00 2001
From: Jo-Philipp Wich <jow@openwrt.org>
Date: Wed, 15 Dec 2010 01:24:16 +0000
Subject: [PATCH] autotools.mk: always pass -I m4, some package don't seem to
 set correct AMFLAGS (or any at all..)

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

diff --git a/include/autotools.mk b/include/autotools.mk
index 4d98a7cd0a..2148f40cfd 100644
--- a/include/autotools.mk
+++ b/include/autotools.mk
@@ -38,7 +38,7 @@ define autoreconf
 				$(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
 					-B $(STAGING_DIR_HOST)/share/aclocal \
 					$(patsubst %,-B %,$(5)) \
-					$(patsubst %,-I %,$(4)) $(4) || true; \
+					$(patsubst %,-I %,$(4)) -I m4 $(4) || true; \
 			fi; \
 		) \
 	);
-- 
GitLab