Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
--without-SDL_image \
--without-spandsp \
--without-ss7 \
- --without-speex \
- --without-speexdsp \
--without-sqlite \
--without-srtp \
--without-suppserv \
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