From: Yann E. MORIN Date: Wed, 3 Oct 2018 13:13:58 +0000 (+0200) Subject: package/asterisk: add optional spandsp support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=f0b5c2b8e3e7c5bc4f27d6d6ca43def085a55b00;p=buildroot.git package/asterisk: add optional spandsp support Signed-off-by: "Yann E. MORIN" Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/asterisk/asterisk.mk b/package/asterisk/asterisk.mk index ea779cc8f6..4ed85743b0 100644 --- a/package/asterisk/asterisk.mk +++ b/package/asterisk/asterisk.mk @@ -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