]> granicus.if.org Git - php/commitdiff
MFH (forgot to commit this..sorry Derick..)
authorfoobar <sniper@php.net>
Sat, 13 Apr 2002 00:17:37 +0000 (00:17 +0000)
committerfoobar <sniper@php.net>
Sat, 13 Apr 2002 00:17:37 +0000 (00:17 +0000)
ext/standard/config.m4

index 210908702c1141ae0e4d311217e582080e31c334..f060bf7f7275b9496c521060b267f1c92cce478e 100644 (file)
@@ -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