Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/zabbix/zabbix.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2021-12-16 16:12:39 +0300
committerJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2021-12-16 16:12:39 +0300
commiteb8bce59ef25405b178a2e9fb4e1e165153c88a2 (patch)
tree4f5c21970ba1b266456f8e46f70149bd5e2ed5a1 /configure.ac
parent3249e6af19342e3aa993ac8862afde0b3edde735 (diff)
.......... [ZBXNEXT-4922] ignoring pcre2 with static libs
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 01862bf787c..86fb3e6220d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1874,7 +1874,9 @@ if test "x$server" = "xyes" || test "x$proxy" = "xyes" || test "x$agent" = "xyes
dnl Check for libpcre or libpcre2, used by Zabbix for regular expressions
dnl Must check for both pcre and pcre2 to check if both were selected by the user and produce an error in that case
LIBPCRE_CHECK_CONFIG([no])
+if test "x$enable_static_libs" != "xyes"; then
LIBPCRE2_CHECK_CONFIG([no])
+fi
if test "x$want_libpcre2" = "xyes"; then
if test "x$want_libpcre" = "xyes"; then
AC_MSG_ERROR([Cannot use both pcre and pcre2 at the same time!])