diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-29 18:30:47 -0700 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2023-04-29 18:31:12 -0700 |
commit | c3259803fe255fb55f2cfcdf4cf5bd94ae3befdd (patch) | |
tree | c5259fb391aa5cde93ddb04e9f38ff70bed5d833 /m4 | |
parent | 7460d0f8b02714a7297ccf9349299cdacc2619bf (diff) | |
download | grep-c3259803fe255fb55f2cfcdf4cf5bd94ae3befdd.tar.gz |
build: support explicit ‘PCRE_CFLAGS= PCRE_LIBS=’
* m4/pcre.m4 (gl_FUNC_PCRE): Check whether PCRE_CFLAGS and
PCRE_LIBS are set, not whether they are set to a nonempty value.
Diffstat (limited to 'm4')
-rw-r--r-- | m4/pcre.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |