]> 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 91de0b9dbaa52d4ae6179b329d32269c44c45998..bb084acd1fefcd85022d27bdf607b4bcc440c6fe 100644 (file)
@@ -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