summaryrefslogtreecommitdiffstats
path: root/package/c-icap
diff options
context:
space:
mode:
authorBernd Kuhls <bernd.kuhls@t-online.de>2017-05-21 23:41:19 +0200
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>2017-05-23 15:39:23 +0200
commitec1c9bf34684746262e7c379f8d4fd5911067b7e (patch)
tree8352a1651af839c010d015936be6b3e71da4028c /package/c-icap
parent6cea5f5daf446b2edd5fa93bd13f4730bcb23f24 (diff)
downloadbuildroot-ec1c9bf34684746262e7c379f8d4fd5911067b7e.tar.gz
buildroot-ec1c9bf34684746262e7c379f8d4fd5911067b7e.zip
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 <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.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 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
OpenPOWER on IntegriCloud