package/asterisk: add optional neon dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2017-09-09 23:39:14 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent bb50a1ffd5
commit 1cf7b3c78b

View File

@ -76,7 +76,6 @@ ASTERISK_CONF_OPTS = \
--without-misdn \
--without-mysqlclient \
--without-nbs \
--without-neon \
--without-neon29 \
--without-netsnmp \
--without-newt \
@ -150,6 +149,15 @@ else
ASTERISK_CONF_OPTS += --without-asound
endif
ifeq ($(BR2_PACKAGE_NEON),y)
ASTERISK_DEPENDENCIES += neon
ASTERISK_CONF_OPTS += --with-neon
ASTERISK_CONF_ENV += \
ac_cv_path_CONFIG_NEON=$(STAGING_DIR)/usr/bin/neon-config
else
ASTERISK_CONF_OPTS += --without-neon
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl