autotools.mk: always pass -I m4, some package don't seem to set correct AMFLAGS ...
authorJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 01:24:16 +0000 (01:24 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Wed, 15 Dec 2010 01:24:16 +0000 (01:24 +0000)
SVN-Revision: 24574

include/autotools.mk

index 4d98a7cd0a682ccf14a3e9f87c8448e34a129e5c..2148f40cfd8584abb6f776379b1f21da68c61a6d 100644 (file)
@@ -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; \
                ) \
        );