From 0b81ec337c06e6545471a1a3eecf4336fa74c47c Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 13 Apr 2002 00:17:37 +0000 Subject: [PATCH] MFH (forgot to commit this..sorry Derick..) --- ext/standard/config.m4 | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ext/standard/config.m4 b/ext/standard/config.m4 index 210908702c..f060bf7f72 100644 --- a/ext/standard/config.m4 +++ b/ext/standard/config.m4 @@ -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 -- 2.50.1