summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-08-11 21:40:15 +0000
committerScott MacVicar <scottmac@php.net>2009-08-11 21:40:15 +0000
commit0125a3620b955433bfad81ef401e47a9922453dc (patch)
tree7d8bac71cfcbcc4541f21505fd2e8d67b8fbdb0e
parentfdd4a425464aeb45527ee89c37aa470b2d160766 (diff)
downloadphp-git-0125a3620b955433bfad81ef401e47a9922453dc.tar.gz
We should check /usr/local/include last
-rw-r--r--ext/pcre/config0.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4
index 6efe43194e..32bade8771 100644
--- a/ext/pcre/config0.m4
+++ b/ext/pcre/config0.m4
@@ -16,7 +16,7 @@ if test "$PHP_PCRE_REGEX" != "no"; then
PHP_INSTALL_HEADERS([ext/pcre], [php_pcre.h pcrelib/])
AC_DEFINE(HAVE_BUNDLED_PCRE, 1, [ ])
else
- 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