diff options
author | Scott MacVicar <scottmac@php.net> | 2009-08-11 21:40:15 +0000 |
---|---|---|
committer | Scott MacVicar <scottmac@php.net> | 2009-08-11 21:40:15 +0000 |
commit | f69e06937d7db97f6b69a488a27fdd4904fcd867 (patch) | |
tree | 1f1716ada161d4558caab520cbce547b8374c6ff | |
parent | 5d7c5eaee2b853dccbf51b89920d612418cb6ce2 (diff) | |
download | php-git-f69e06937d7db97f6b69a488a27fdd4904fcd867.tar.gz |
We should check /usr/local/include last
-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 |