From 95359bb43c25568917b015895063f61db9fd79ef Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 21 May 2017 23:41:20 +0200 Subject: [PATCH] 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 Signed-off-by: Thomas Petazzoni --- package/c-icap/c-icap.mk | 7 +++++++ 1 file changed, 7 insertions(+) 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 -- 2.30.2