diff options
author | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-12-16 15:29:59 +0300 |
---|---|---|
committer | Jurijs Klopovskis <jurijs.klopovskis@zabbix.com> | 2021-12-16 15:38:19 +0300 |
commit | 3249e6af19342e3aa993ac8862afde0b3edde735 (patch) | |
tree | 26655545655dbe243b4973c3f9c1a4cceb28cebf /configure.ac | |
parent | ee225e946f01c1714ddd3c5a83a5a183df6afbb1 (diff) |
...G...PS. [ZBXNEXT-4922] coding style fixes
Diffstat (limited to 'configure.ac')
-rw-r--r-- | configure.ac | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/configure.ac b/configure.ac index a28ddae2522..01862bf787c 100644 --- a/configure.ac +++ b/configure.ac @@ -1892,9 +1892,7 @@ if test "x$want_libpcre2" = "xyes"; then LIBS="$LIBS $LIBPCRE2_LIBS" fi - if test "x$found_libpcre2" = "xyes"; then - AC_DEFINE([HAVE_PCRE2_H], 1, [Define to 1 if you have the 'libpcre2' library (-lpcre2-8)]) - fi + AC_DEFINE([HAVE_PCRE2_H], 1, [Define to 1 if you have the 'libpcre2' library (-lpcre2-8)]) else if test "x$found_libpcre" != "xyes"; then AC_MSG_ERROR([Unable to use libpcre (libpcre check failed)]) @@ -1908,9 +1906,7 @@ else LIBS="$LIBS $LIBPCRE_LIBS" fi - if test "x$found_libpcre" = "xyes"; then - AC_DEFINE([HAVE_PCRE_H], 1, [Define to 1 if you have the 'libpcre' library (-lpcre)]) - fi + AC_DEFINE([HAVE_PCRE_H], 1, [Define to 1 if you have the 'libpcre' library (-lpcre)]) fi fi |