mirror of
https://github.com/php/php-src.git
synced 2026-04-11 10:03:18 +02:00
Fix bug: #9713
This commit is contained in:
@@ -199,8 +199,23 @@ AC_FLUSH_IO
|
||||
divert(5)dnl
|
||||
|
||||
AC_ARG_WITH(regex,
|
||||
[ --with-regex=TYPE regex library type: system, apache, php],[
|
||||
REGEX_TYPE=$withval
|
||||
[ --with-regex=TYPE regex library type: system, apache, php],
|
||||
[
|
||||
case $withval in
|
||||
system)
|
||||
REGEX_TYPE=system
|
||||
;;
|
||||
apache)
|
||||
REGEX_TYPE=apache
|
||||
;;
|
||||
php)
|
||||
REGEX_TYPE=php
|
||||
;;
|
||||
*)
|
||||
REGEX_TYPE=php
|
||||
AC_MSG_WARN(Invalid regex library type. Using default value: php)
|
||||
;;
|
||||
esac
|
||||
],[
|
||||
REGEX_TYPE=php
|
||||
])
|
||||
|
||||
Reference in New Issue
Block a user