- (cd $(PKG_BUILD_DIR); rm -f config.cache; \
- $(TARGET_CONFIGURE_OPTS) \
- CFLAGS="$(strip $(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" \
- ./configure \
- --target=$(GNU_TARGET_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --build=$(GNU_HOST_NAME) \
- --program-prefix="" \
- --program-suffix="" \
- --prefix=/usr \
- --exec-prefix=/usr \
- --bindir=/usr/bin \
- --datadir=/usr/share \
- --includedir=/usr/include \
- --infodir=/usr/share/info \
- --libdir=/usr/lib \
- --libexecdir=/usr/lib \
- --localstatedir=/var \
- --mandir=/usr/share/man \
- --sbindir=/usr/sbin \
- --sysconfdir=/etc \
- $(DISABLE_LARGEFILE) \
- $(DISABLE_NLS) \
- --enable-shared \
- --enable-static \
- --disable-rpath \
- --with-gnu-ld \
- --disable-thread \
- --enable-cookies \
- --enable-crypto-auth \
- --enable-nonblocking \
- --enable-file \
- --enable-ftp \
- --enable-http \
- --enable-ipv6 \
- --disable-ares \
- --disable-debug \
- --disable-dict \
- --disable-gopher \
- --disable-ldap \
- --disable-manual \
- --disable-sspi \
- --disable-telnet \
- --disable-verbose \
- --with-random="/dev/urandom" \
- --with-ssl="$(STAGING_DIR)/usr" \
- --without-ca-bundle \
- --without-gnutls \
- --without-libidn \
- --with-zlib="$(STAGING_DIR)/usr" \
+ $(call Build/Configure/Default, \
+ --enable-shared \
+ --enable-static \
+ --disable-thread \
+ --enable-cookies \
+ --enable-crypto-auth \
+ --enable-nonblocking \
+ --enable-file \
+ --enable-ftp \
+ --enable-http \
+ --enable-ipv6 \
+ --disable-ares \
+ --disable-debug \
+ --disable-dict \
+ --disable-gopher \
+ --disable-ldap \
+ --disable-manual \
+ --disable-sspi \
+ --disable-telnet \
+ --disable-verbose \
+ --with-random="/dev/urandom" \
+ --with-ssl="$(STAGING_DIR)/usr" \
+ --without-ca-bundle \
+ --without-gnutls \
+ --without-libidn \
+ --with-zlib="$(STAGING_DIR)/usr" \