mirror of
https://github.com/php/php-src.git
synced 2024-12-01 13:54:10 +08:00
Search /usr/include too for those wanting to use a system PCRE.
This commit is contained in:
parent
495a5ab005
commit
94976f4694
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user