summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4')
-rw-r--r--m4/pcre.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/pcre.m4 b/m4/pcre.m4
index f4c71c73..40007822 100644
--- a/m4/pcre.m4
+++ b/m4/pcre.m4
@@ -22,7 +22,7 @@ AC_DEFUN([gl_FUNC_PCRE],
if test $test_pcre != no; then
- if test -z "$PCRE_CFLAGS" && test -z "$PCRE_LIBS"; then
+ if test -z "${PCRE_CFLAGS+set}" && test -z "${PCRE_LIBS+set}"; then
PKG_CHECK_MODULES([PCRE], [libpcre2-8], [], [: ${PCRE_LIBS=-lpcre2-8}])
fi