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 4d98a7c..2148f40 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; \
                ) \
        );