only run trap error code in the configure template, if the configure script was not found

SVN-Revision: 4715
owl
Felix Fietkau 2006-08-30 10:24:11 +00:00
parent 172e5eb67e
commit 7b8d2827f5
1 changed files with 2 additions and 2 deletions

View File

@ -263,7 +263,7 @@ endef
define Build/Configure/Default define Build/Configure/Default
@(cd $(PKG_BUILD_DIR)/$(3); \ @(cd $(PKG_BUILD_DIR)/$(3); \
[ -x configure ] && \ [ -x configure ] && { \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CFLAGS)" \ CFLAGS="$(TARGET_CFLAGS)" \
CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \ CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
@ -287,7 +287,7 @@ define Build/Configure/Default
--infodir=/usr/info \ --infodir=/usr/info \
$(DISABLE_NLS) \ $(DISABLE_NLS) \
$(1); \ $(1); \
true; \ } || true; \
) )
endef endef