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 17:24:56 +0300
committerJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2021-12-16 17:24:56 +0300
commiteaa99ad51d15b7d3b5fa9ebc525b5e02cc62e883 (patch)
tree5a293f341da55d89d79877267725e9dd28b3609d /configure.ac
parenteb8bce59ef25405b178a2e9fb4e1e165153c88a2 (diff)
.......... [ZBXNEXT-4922] updated static lib logic for pcre2 in configure.ac
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 86fb3e6220d..0d75f7500de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -1874,7 +1874,7 @@ 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
+if test "x$enable_static_libs" != "xyes" || test "x$want_libpcre" != "xyes"; then
LIBPCRE2_CHECK_CONFIG([no])
fi
if test "x$want_libpcre2" = "xyes"; then