mirror of
https://github.com/php/php-src.git
synced 2025-08-20 01:14:28 +02:00
Using system regex lib seems not to work quite well when compiled with Apache.
This commit is contained in:
parent
cbed0567aa
commit
23a3cc71e3
1 changed files with 5 additions and 10 deletions
|
@ -203,7 +203,11 @@ AC_ARG_WITH(regex,
|
|||
[
|
||||
case $withval in
|
||||
system)
|
||||
REGEX_TYPE=system
|
||||
if test "$PHP_SAPI" = "apache" || test "$PHP_SAPI" = "apache2filter"; then
|
||||
REGEX_TYPE=php
|
||||
else
|
||||
REGEX_TYPE=system
|
||||
fi
|
||||
;;
|
||||
apache)
|
||||
REGEX_TYPE=apache
|
||||
|
@ -220,15 +224,6 @@ AC_ARG_WITH(regex,
|
|||
REGEX_TYPE=php
|
||||
])
|
||||
|
||||
AC_ARG_WITH(system-regex,
|
||||
[ --with-system-regex (deprecated) Use system regex library],[
|
||||
if test "$withval" = "yes"; then
|
||||
REGEX_TYPE=system
|
||||
else
|
||||
REGEX_TYPE=php
|
||||
fi
|
||||
])
|
||||
|
||||
AC_CHECK_FUNCS(fnmatch glob)
|
||||
|
||||
if test "$PHP_SAPI" = "cgi"; then
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue