From: Scott MacVicar Date: Tue, 11 Aug 2009 12:03:29 +0000 (+0000) Subject: Search /usr/include too for those wanting to use a system PCRE. X-Git-Tag: php-5.4.0alpha1~191^2~2815 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2192f61a4363563dc0998481099ab251ccc75beb;p=php Search /usr/include too for those wanting to use a system PCRE. --- 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