From bae879486a98268b9efcb53dd51f723bf148e0dd Mon Sep 17 00:00:00 2001 From: Scott MacVicar Date: Tue, 11 Aug 2009 12:03:29 +0000 Subject: [PATCH] Search /usr/include too for those wanting to use a system PCRE. --- ext/pcre/config0.m4 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/pcre/config0.m4 b/ext/pcre/config0.m4 index e6bc323277..6efe43194e 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/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 -- 2.40.0