Add automake-1.4 host tool dependency to linux-atm (#910)
[openwrt.git] / include / package.mk
index 2d4e703..bada11f 100644 (file)
@@ -289,8 +289,22 @@ define Build/Prepare
   $(call Build/Prepare/Default,)
 endef
 
+define Build/Configure/Touch
+       (cd $(PKG_BUILD_DIR) ; \
+               touch configure.in ; \
+               touch aclocal.m4 ; \
+               touch Makefile.in ; \
+               touch configure ; \
+               touch acinclude.m4 ; \
+               touch config.h.in ; \
+               touch configure.ac ; \
+               touch stamp-h.in ; \
+        );
+endef
+
 define Build/Configure/Default
-       (cd $(PKG_BUILD_DIR)/$(3); \
+       $(call Build/Configure/Touch)
+       (cd $(PKG_BUILD_DIR)/$(strip $(3)); \
        if [ -x configure ]; then \
                $(TARGET_CONFIGURE_OPTS) \
                CFLAGS="$(TARGET_CFLAGS)" \
@@ -346,7 +360,7 @@ else
   $(PACKAGE_DIR):
        mkdir -p $@
                
-  ifneq ($(strip $(PKG_SOURCE)),)
+  ifneq ($(strip $(PKG_SOURCE_URL)),)
     download: $(DL_DIR)/$(PKG_SOURCE)
 
     $(DL_DIR)/$(PKG_SOURCE):
This page took 0.022423 seconds and 4 git commands to generate.