dovecot: change LDAP select logic

Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
Lucian Cristian 2017-03-08 01:40:15 +02:00
parent a00af84375
commit db86cdb3f7
1 changed files with 2 additions and 9 deletions

View File

@ -56,15 +56,8 @@ CONFIGURE_ARGS += \
--with-notify=dnotify \
--without-lzma \
--without-lz4 \
--with-icu=no
ifneq ($(strip $(CONFIG_DOVECOT_LDAP)),)
CONFIGURE_ARGS+= \
--with-ldap=yes
else
CONFIGURE_ARGS+= \
--with-ldap=no
endif
--with-icu=no \
$(if $(CONFIG_DOVECOT_LDAP),--with-ldap=yes,--with-ldap=no)
CONFIGURE_VARS += \
RPCGEN= \