summaryrefslogtreecommitdiff
path: root/ext/pcre/config0.m4
diff options
context:
space:
mode:
Diffstat (limited to 'ext/pcre/config0.m4')
-rw-r--r--ext/pcre/config0.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4
index 8ae3113b3c..5bfbc9ceab 100644
--- a/ext/pcre/config0.m4
+++ b/ext/pcre/config0.m4
@@ -43,8 +43,8 @@ if test "$PHP_PCRE_REGEX" != "no"; then
AC_MSG_ERROR(The PCRE extension requires PCRE library version >= 2.08)
fi
- test -f $PHP_PCRE_REGEX/libpcre.a && PCRE_LIBDIR="$PHP_PCRE_REGEX"
- test -f $PHP_PCRE_REGEX/lib/libpcre.a && PCRE_LIBDIR="$PHP_PCRE_REGEX/lib"
+ test -f $PHP_PCRE_REGEX/libpcre.a && PCRE_LIBDIR=$PHP_PCRE_REGEX
+ test -f $PHP_PCRE_REGEX/lib/libpcre.a && PCRE_LIBDIR=$PHP_PCRE_REGEX/lib
if test -z "$PCRE_LIBDIR" ; then
AC_MSG_ERROR(Could not find libpcre.a in $PHP_PCRE_REGEX)