From: Bernd Kuhls Date: Sun, 21 May 2017 21:41:19 +0000 (+0200) Subject: package/c-icap: add optional support for pcre X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ec1c9bf34684746262e7c379f8d4fd5911067b7e;p=buildroot.git package/c-icap: add optional support for pcre Support for pcre was added in 2014: https://sourceforge.net/p/c-icap/code/1135/#diff-4 Signed-off-by: Bernd Kuhls Signed-off-by: Thomas Petazzoni --- diff --git a/package/c-icap/c-icap.mk b/package/c-icap/c-icap.mk index 2d8b30920b..750b231c7c 100644 --- a/package/c-icap/c-icap.mk +++ b/package/c-icap/c-icap.mk @@ -48,6 +48,13 @@ else C_ICAP_CONF_OPTS += --without-ldap endif +ifeq ($(BR2_PACKAGE_PCRE),y) +C_ICAP_CONF_OPTS += --with-pcre +C_ICAP_DEPENDENCIES += pcre +else +C_ICAP_CONF_OPTS += --without-pcre +endif + ifeq ($(BR2_PACKAGE_ZLIB),y) C_ICAP_CONF_OPTS += --with-zlib C_ICAP_DEPENDENCIES += zlib