package/asterisk: add optional speex 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:18 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent da2539d5ef
commit 4f1c340311

View File

@ -93,8 +93,6 @@ ASTERISK_CONF_OPTS = \
--without-SDL_image \
--without-spandsp \
--without-ss7 \
--without-speex \
--without-speexdsp \
--without-sqlite \
--without-srtp \
--without-suppserv \
@ -183,6 +181,13 @@ else
ASTERISK_CONF_OPTS += --without-ssl
endif
ifeq ($(BR2_PACKAGE_SPEEX),y)
ASTERISK_DEPENDENCIES += speex
ASTERISK_CONF_OPTS += --with-speex --with-speexdsp
else
ASTERISK_CONF_OPTS += --without-speex --without-speexdsp
endif
ifeq ($(BR2_PACKAGE_ZLIB),y)
ASTERISK_DEPENDENCIES += zlib
ASTERISK_CONF_OPTS += --with-z