summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacVicar <scottmac@php.net>2009-08-11 12:03:29 +0000
committerScott MacVicar <scottmac@php.net>2009-08-11 12:03:29 +0000
commit94976f4694c681391bd6b20476c69ff1f69532ac (patch)
tree77eb8f24b5add80e62c61cb4e84c84f80db9fcb6
parent495a5ab0057504b6719ee5be7462db8fa64a46f2 (diff)
downloadphp-git-94976f4694c681391bd6b20476c69ff1f69532ac.tar.gz
Search /usr/include too for those wanting to use a system PCRE.
-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 91de0b9dba..bb084acd1f 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/include/pcre; do
+ for i in $PHP_PCRE_REGEX $PHP_PCRE_REGEX/include $PHP_PCRE_REGEX/local/include $PHP_PCRE_REGEX/include/pcre; do
test -f $i/pcre.h && PCRE_INCDIR=$i
done