fix 'check' compile on avr32
[openwrt/svn-archive/archive.git] / libs / check / Makefile
index 2af107b..2d24080 100644 (file)
@@ -32,14 +32,8 @@ define Package/check/description
 endef
 
 define Build/Configure
-       (cd $(PKG_BUILD_DIR); \
-               if [ -x $(CONFIGURE_CMD) ]; then \
-                       $(CP) $(SCRIPT_DIR)/config.{guess,sub} $(PKG_BUILD_DIR)/ && \
-                       $(CONFIGURE_VARS) \
-                       $(CONFIGURE_CMD) \
-                       $(CONFIGURE_ARGS) ;\
-               fi \
-       )
+       $(CP) $(SCRIPT_DIR)/config.* $(PKG_BUILD_DIR)/build-aux/
+       $(call Build/Configure/Default)
 endef
 
 define Build/Compile