-CONFIGURE_ARGS+= \
- --build=$(GNU_HOST_NAME) \
- --host=$(GNU_TARGET_NAME) \
- --target=$(GNU_TARGET_NAME) \
- --prefix=$(FS_STABLE_PREFIX_DIR) \
- --bindir=$(FS_STABLE_BIN_DIR) \
- --includedir=$(FS_STABLE_INCLUDES_DIR) \
- --libdir=$(FS_STABLE_LIB_DIR) \
- --srcdir=$(PKG_BUILD_DIR) \
- --sysconfdir=$(FS_STABLE_SYSCONF_DIR) \
- --disable-dependency-tracking \
- --disable-static \
- --disable-system-xmlrpc-c \
- --enable-fhs \
- --with-cachedir=/tmp/$(PRG_NAME)/cache \
- --with-certsdir=$(FS_STABLE_TLS_DIR) \
- --with-dbdir=/tmp/$(PRG_NAME)/db \
- --with-fontsdir=$(FS_STABLE_FONTS_DIR) \
- --with-grammardir=$(FS_STABLE_GRAMMAR_DIR) \
- --with-htdocsdir=$(FS_STABLE_HTDOCS_DIR) \
- --with-imagesdir=$(FS_STABLE_IMAGES_DIR) \
- --with-logfiledir=/tmp/$(PRG_NAME)/log \
- --with-modinstdir=$(FS_STABLE_MOD_DIR) \
- --with-pkgconfigdir=$(FS_STABLE_PKGCONFIG_DIR) \
- --with-recordingsdir=/tmp/$(PRG_NAME)/recordings \
- --with-rundir=/var/run/$(PRG_NAME) \
- --with-scriptdir=$(FS_STABLE_SCRIPTS_DIR) \
- --with-soundsdir=$(FS_STABLE_SOUNDS_DIR) \
- --with-storagedir=/tmp/$(PRG_NAME)/storage \
- $(call autoconf_bool,CONFIG_FS_STABLE_WITH_LIBEDIT,core-libedit-support) \
- $(call autoconf_bool,CONFIG_FS_STABLE_WITH_ODBC,core-odbc-support) \
- $(call autoconf_bool,CONFIG_FS_STABLE_WITH_SRTP,srtp) \
- $(call autoconf_bool,CONFIG_FS_STABLE_WITH_ZRTP,zrtp) \
- $(if $(CONFIG_FS_STABLE_WITH_DEBUG),,--disable-debug) \
- $(if $(CONFIG_FS_STABLE_WITH_FREETYPE),,--without-freetype) \
- $(if $(CONFIG_FS_STABLE_WITH_LIBYUV),,--disable-libyuv) \
- $(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc-lib="$(STAGING_DIR)$(FS_STABLE_LIB_DIR)") \
- $(if $(CONFIG_FS_STABLE_WITH_ODBC),--with-odbc="$(STAGING_DIR)/usr") \
- $(if $(CONFIG_FS_STABLE_WITH_PGSQL),--enable-core-pgsql-support,--without-pgsql) \
- $(if $(CONFIG_FS_STABLE_WITH_PNG),,--without-png) \
- $(if $(CONFIG_FS_STABLE_WITH_VPX),,--disable-libvpx)
-
-# Need to update LDFLAGS for libs/unimrcp, otherwise it will try to link to a
-# different apr/apr-util if found.
-# FS_STABLE_ANCHOR: string in build/acmacros/apr.m4 that will be replaced
-FS_STABLE_ANCHOR:=dnl Get build information from APR
-FS_STABLE_APR_LIBS:=-L$(PKG_BUILD_DIR)/libs/apr -L$(PKG_BUILD_DIR)/libs/apr-util