summaryrefslogtreecommitdiffstats
path: root/package/c-icap
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-05-21 23:41:18 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-23 15:39:03 +0200
commit6cea5f5daf446b2edd5fa93bd13f4730bcb23f24 (patch)
treec839dd8f0755d76d436769f75ca2f5aba9bd9372 /package/c-icap
parent1e0a7254790329e08934ec0642d3e576fd904107 (diff)
downloadbuildroot-6cea5f5daf446b2edd5fa93bd13f4730bcb23f24.tar.gz
buildroot-6cea5f5daf446b2edd5fa93bd13f4730bcb23f24.zip
package/c-icap: add optional support for openldap
Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Diffstat (limited to 'package/c-icap')
-rw-r--r--package/c-icap/c-icap.mk8
1 files changed, 7 insertions, 1 deletions
diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk
index 17f3459aba..2d8b30920b 100644
--- a/package/c-icap/c-icap.mk
+++ b/package/c-icap/c-icap.mk
@@ -13,7 +13,6 @@ C_ICAP_INSTALL_STAGING = YES
C_ICAP_CONFIG_SCRIPTS = c-icap-config c-icap-libicapapi-config
C_ICAP_CONF_OPTS = \
--with-process-mutexes=posix \
- --without-ldap \
--without-perl \
--enable-large-files \
--enable-ipv6
@@ -42,6 +41,13 @@ else
C_ICAP_CONF_OPTS += --without-bzip2
endif
+ifeq ($(BR2_PACKAGE_OPENLDAP),y)
+C_ICAP_CONF_OPTS += --with-ldap
+C_ICAP_DEPENDENCIES += openldap
+else
+C_ICAP_CONF_OPTS += --without-ldap
+endif
+
ifeq ($(BR2_PACKAGE_ZLIB),y)
C_ICAP_CONF_OPTS += --with-zlib
C_ICAP_DEPENDENCIES += zlib
OpenPOWER on IntegriCloud