summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-05-21 23:41:20 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-23 15:39:39 +0200
commit95359bb43c25568917b015895063f61db9fd79ef (patch)
treec12e43a175decb4ea89de1e7a84bc7b99e471c86
parentec1c9bf34684746262e7c379f8d4fd5911067b7e (diff)
downloadbuildroot-95359bb43c25568917b015895063f61db9fd79ef.tar.gz
buildroot-95359bb43c25568917b015895063f61db9fd79ef.zip
package/c-icap: add optional support for libmemcached
Support for libmemcached was added in 2014: https://sourceforge.net/p/c-icap/code/1103/#diff-2 Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
-rw-r--r--package/c-icap/c-icap.mk7
1 files changed, 7 insertions, 0 deletions
diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk
index 750b231c7c..e32e0dc15d 100644
--- a/package/c-icap/c-icap.mk
+++ b/package/c-icap/c-icap.mk
@@ -41,6 +41,13 @@ else
C_ICAP_CONF_OPTS += --without-bzip2
endif
+ifeq ($(BR2_PACKAGE_LIBMEMCACHED),y)
+C_ICAP_CONF_OPTS += --with-memcached
+C_ICAP_DEPENDENCIES += libmemcached
+else
+C_ICAP_CONF_OPTS += --without-memcached
+endif
+
ifeq ($(BR2_PACKAGE_OPENLDAP),y)
C_ICAP_CONF_OPTS += --with-ldap
C_ICAP_DEPENDENCIES += openldap
OpenPOWER on IntegriCloud