hostapd: update to 2011-02-21, use PKG_MIRROR_MD5SUM, includes fixes for WPS
[openwrt/svn-archive/archive.git] / include / autotools.mk
index 2851731ef3b3b5ac67514f5da7ef84c41dfc6b74..7797031fd6143376a702ac9794d670f60d965065 100644 (file)
@@ -39,8 +39,10 @@ define autoreconf
                                touch NEWS AUTHORS COPYING ChangeLog; \
                                $(AM_TOOL_PATHS) $(STAGING_DIR_HOST)/bin/autoreconf -v -f -i -s \
                                        -B $(STAGING_DIR_HOST)/share/aclocal \
-                                       $(patsubst %,-B %,$(5)) \
+                                       $(patsubst %,-I %,$(5)) \
                                        $(patsubst %,-I %,$(4)) $(4) || true; \
+                               [ -e $(p)/config.rpath ] || \
+                                               ln -s $(SCRIPT_DIR)/config.rpath $(p)/config.rpath;
                        fi; \
                ) \
        );