]> granicus.if.org Git - php/commitdiff
Search /usr/include too for those wanting to use a system PCRE.
authorScott MacVicar <scottmac@php.net>
Tue, 11 Aug 2009 12:03:29 +0000 (12:03 +0000)
committerScott MacVicar <scottmac@php.net>
Tue, 11 Aug 2009 12:03:29 +0000 (12:03 +0000)
ext/pcre/config0.m4

index e6bc323277c18e259753b0bab4d19e98874818b3..6efe43194e24c6ac273eff9e1ed3e0b0158f001e 100644 (file)
@@ -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