use an if block on the whole configure command

SVN-Revision: 4717
This commit is contained in:
Felix Fietkau 2006-08-30 10:30:14 +00:00
parent a5b58128b0
commit 2dc6d4d781

View file

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