From: foobar Date: Sat, 13 Apr 2002 00:17:37 +0000 (+0000) Subject: MFH (forgot to commit this..sorry Derick..) X-Git-Tag: php-4.2.0RC4~13 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=0b81ec337c06e6545471a1a3eecf4336fa74c47c;p=php MFH (forgot to commit this..sorry Derick..) --- 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