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
path: root/m4
diff options
context:
space:
mode:
authorJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2021-11-23 16:18:06 +0300
committerJurijs Klopovskis <jurijs.klopovskis@zabbix.com>2021-11-23 16:18:06 +0300
commit2908adf7dfe637e6d3efa8c47a8f54ef13f7ac5f (patch)
tree6532750fe5c067a78cfaf3ee85d19a26643cef10 /m4
parent18917f919a68abc863a5c79ba88c0cb156255fdc (diff)
.......... [ZBXNEXT-4922] got configure script working
Diffstat (limited to 'm4')
-rw-r--r--m4/pcre.m42
-rw-r--r--m4/pcre2.m42
2 files changed, 4 insertions, 0 deletions
diff --git a/m4/pcre.m4 b/m4/pcre.m4
index 3b5a08d2d24..36b20997320 100644
--- a/m4/pcre.m4
+++ b/m4/pcre.m4
@@ -33,12 +33,14 @@ If you want to specify libpcre installation directories:
AC_HELP_STRING([--with-libpcre@<:@=DIR@:>@], [use libpcre from given base install directory (DIR), default is to search through a number of common places for the libpcre files.])],
[
if test "$withval" = "yes"; then
+ want_libpcre=yes
if test -f /usr/local/include/pcre.h; then
withval="/usr/local"
else
withval="/usr"
fi
else
+ want_libpcre=no
_libpcre_dir_lib="$withval/lib"
fi
_libpcre_dir="$withval"
diff --git a/m4/pcre2.m4 b/m4/pcre2.m4
index fa3d5a2c02d..3562bdd6a44 100644
--- a/m4/pcre2.m4
+++ b/m4/pcre2.m4
@@ -34,12 +34,14 @@ If you want to specify libpcre2 installation directories:
AC_HELP_STRING([--with-libpcre2@<:@=DIR@:>@], [use libpcre2 from given base install directory (DIR), default is to search through a number of common places for the libpcre2 files.])],
[
if test "$withval" = "yes"; then
+ want_libpcre2=yes
if test -f /usr/local/include/pcre2.h; then
withval="/usr/local"
else
withval="/usr"
fi
else
+ want_libpcre2=no
_libpcre2_dir_lib="$withval/lib"
fi
_libpcre2_dir="$withval"