dovecot: change LDAP select logic
Signed-off-by: Lucian Cristian <lucian.cristian@gmail.com>
This commit is contained in:
parent
a00af84375
commit
db86cdb3f7
1 changed files with 2 additions and 9 deletions
|
@ -56,15 +56,8 @@ CONFIGURE_ARGS += \
|
||||||
--with-notify=dnotify \
|
--with-notify=dnotify \
|
||||||
--without-lzma \
|
--without-lzma \
|
||||||
--without-lz4 \
|
--without-lz4 \
|
||||||
--with-icu=no
|
--with-icu=no \
|
||||||
|
$(if $(CONFIG_DOVECOT_LDAP),--with-ldap=yes,--with-ldap=no)
|
||||||
ifneq ($(strip $(CONFIG_DOVECOT_LDAP)),)
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-ldap=yes
|
|
||||||
else
|
|
||||||
CONFIGURE_ARGS+= \
|
|
||||||
--with-ldap=no
|
|
||||||
endif
|
|
||||||
|
|
||||||
CONFIGURE_VARS += \
|
CONFIGURE_VARS += \
|
||||||
RPCGEN= \
|
RPCGEN= \
|
||||||
|
|
Loading…
Reference in a new issue