package/asterisk: add optional freeradius-client 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:24 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent 04d86a5991
commit 5a532b0291

View File

@ -84,7 +84,6 @@ ASTERISK_CONF_OPTS = \
--without-popt \
--without-pri \
--without-pwlib \
--without-radius \
--without-resample \
--without-sdl \
--without-SDL_image \
@ -191,6 +190,13 @@ else
ASTERISK_CONF_OPTS += --without-portaudio
endif
ifeq ($(BR2_PACKAGE_FREERADIUS_CLIENT),y)
ASTERISK_DEPENDENCIES += freeradius-client
ASTERISK_CONF_OPTS += --with-radius
else
ASTERISK_CONF_OPTS += --without-radius
endif
ifeq ($(BR2_PACKAGE_OPENSSL),y)
ASTERISK_DEPENDENCIES += openssl
ASTERISK_CONF_OPTS += --with-ssl