From ec1c9bf34684746262e7c379f8d4fd5911067b7e Mon Sep 17 00:00:00 2001 From: Bernd Kuhls Date: Sun, 21 May 2017 23:41:19 +0200 Subject: [PATCH] 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 --- 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 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 -- 2.30.2