-define Build/Configure/Default
- (cd $(PKG_BUILD_DIR) ; \
- [ -e configure.in ] && touch configure.in ; \
- [ -e aclocal.m4 ] && touch aclocal.m4 ; \
- [ -e Makefile.in ] && touch Makefile.in ; \
- [ -e configure ] && touch configure ; \
- [ -e acinclude.m4 ] && touch acinclude.m4 ; \
- [ -e config.h.in ] && touch config.h.in ; \
- [ -e configure.ac ] && touch configure.ac ; \
- );
- (cd $(PKG_BUILD_DIR)/$(strip $(3)); \
- if [ -x configure ]; then \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(TARGET_CFLAGS)" \
- CXXFLAGS="$(TARGET_CFLAGS)" \
- CPPFLAGS="-I$(STAGING_DIR)/usr/include -I$(STAGING_DIR)/include" \
- LDFLAGS="-L$(STAGING_DIR)/usr/lib -L$(STAGING_DIR)/lib" \
- PKG_CONFIG_PATH="$(STAGING_DIR)/usr/lib/pkgconfig" \
- $(2) \
- ./configure \