diff options
-rw-r--r-- | ext/pcre/config0.m4 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index bb084acd1f..644ebbd328 100644 --- a/ext/pcre/config0.m4 +++ b/ext/pcre/config0.m4 @@ -11,7 +11,7 @@ PHP_ARG_WITH(pcre-regex,, if test "$PHP_PCRE_REGEX" != "yes" && test "$PHP_PCRE_REGEX" != "no"; then AC_MSG_CHECKING([for PCRE headers location]) - for i in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/include $PHP_PCRE_REGEX/local/include $PHP_PCRE_REGEX/include/pcre; do + for i in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/include $PHP_PCRE_REGEX/include/pcre $PHP_PCRE_REGEX/local/include; do test -f $i/pcre.h && PCRE_INCDIR=$i done |