package/asterisk: add optional spandsp support

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Yann E. MORIN 2018-10-03 15:13:58 +02:00 committed by Thomas Petazzoni
parent 2e3f0a500e
commit f0b5c2b8e3

View File

@ -84,7 +84,6 @@ ASTERISK_CONF_OPTS = \
--without-resample \
--without-sdl \
--without-SDL_image \
--without-spandsp \
--without-sqlite \
--without-suppserv \
--without-tds \
@ -229,6 +228,13 @@ else
ASTERISK_CONF_OPTS += --without-ssl
endif
ifeq ($(BR2_PACKAGE_SPANDSP),y)
ASTERISK_DEPENDENCIES += spandsp
ASTERISK_CONF_OPTS += --with-spandsp
else
ASTERISK_CONF_OPTS += --without-spandsp
endif
ifeq ($(BR2_PACKAGE_SPEEX)$(BR2_PACKAGE_SPEEXDSP),yy)
ASTERISK_DEPENDENCIES += speex
ASTERISK_CONF_OPTS += --with-speex --with-speexdsp