package/asterisk: add optional openldap dependency

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr>
[Arnout: --with-ldap, suggested by Bernd]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
This commit is contained in:
Yann E. MORIN 2017-09-09 23:39:23 +02:00 committed by Arnout Vandecappelle (Essensium/Mind)
parent a1e2cd6325
commit 04d86a5991

View File

@ -66,7 +66,6 @@ ASTERISK_CONF_OPTS = \
--without-jack \
--without-uriparser \
--without-kqueue \
--without-ldap \
--without-libedit \
--without-libxslt \
--without-ltdl \
@ -155,6 +154,13 @@ else
ASTERISK_CONF_OPTS += --without-ical
endif
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
ASTERISK_DEPENDENCIES += openldap
ASTERISK_CONF_OPTS += --with-ldap
else
ASTERISK_CONF_OPTS += --without-ldap
endif
ifeq ($(BR2_PACKAGE_NEON),y)
ASTERISK_DEPENDENCIES += neon
ASTERISK_CONF_OPTS += --with-neon