summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2017-09-09 23:39:18 +0200
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>2017-09-23 19:20:18 +0200
commit4f1c340311768fa3a94605086e5c99cb1733ce93 (patch)
tree1c9a59aac95e29af9c1c4b91ddea2709458006e6
parentda2539d5efba94a68c7a84b2ff7d81f48436f476 (diff)
downloadbuildroot-4f1c340311768fa3a94605086e5c99cb1733ce93.tar.gz
buildroot-4f1c340311768fa3a94605086e5c99cb1733ce93.zip
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>
-rw-r--r--package/asterisk/asterisk.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk
index 2278d04d2c..1ac1f49c05 100644
--- a/package/asterisk/asterisk.mk
+++ b/package/asterisk/asterisk.mk
@@ -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
OpenPOWER on IntegriCloud