]> granicus.if.org Git - php/commitdiff
Never use Apache regex stuff
authorSascha Schumann <sas@php.net>
Sat, 12 Feb 2000 14:48:09 +0000 (14:48 +0000)
committerSascha Schumann <sas@php.net>
Sat, 12 Feb 2000 14:48:09 +0000 (14:48 +0000)
sapi/apache/config.m4
sapi/apache/libphp4.module.in

index 05ade912aad7c283f280df28fcdd328e9e985cb4..840bc3adb78168e6243e8c3dcdb0e9e6dc54a922 100644 (file)
@@ -186,7 +186,6 @@ AC_ARG_WITH(apache,
 ])
 
 INCLUDES="$INCLUDES $APACHE_INCLUDE"
-dnl## PHP_SUBST(APACHE_INCLUDE)
 fi
 
 if test "x$APXS" != "x" -a "`uname -sv`" = "AIX 4" -a "$GCC" != "yes"; then
@@ -211,21 +210,7 @@ AC_ARG_WITH(mod_charset,
        AC_MSG_RESULT(no)
 ])
 
-if test "$with_regex" = "apache" && test -z "$APACHE_HAS_REGEX"; then
-  with_regex=php
-fi
-
-if test -z "$with_regex" && test -n "$APACHE_HAS_REGEX"; then
-  with_regex=apache
-fi
-
 if test -n "$APACHE_MODULE"; then
-  if test "$with_regex" = "apache"; then
-    APACHE_WANT_HSREGEX=yes
-  else
-    APACHE_WANT_HSREGEX=no
-  fi
-  PHP_SUBST(APACHE_WANT_HSREGEX)
   PHP_APACHE_CHECK_RDYNAMIC
   PHP_OUTPUT(sapi/apache/libphp4.module)
   PHP_BUILD_STATIC
index 4c90861a65500c8e23aed26206df30e23e461540..0cefcf1fae70d289f8c128b1b8ffe9ffd1d9b2e9 100644 (file)
@@ -1,6 +1,6 @@
 Name: php4_module
 ConfigStart
-       RULE_WANTHSREGEX=@APACHE_WANT_HSREGEX@
+       RULE_WANTHSREGEX=no
        LIBS="@NATIVE_RPATHS@ @PHP_LDFLAGS@ @PHP_LIBS@ @EXTRA_LIBS@ $LIBS"
        RULE_HIDE=yes
        CFLAGS="$CFLAGS -I@abs_srcdir@ -I@abs_srcdir@/Zend -I@abs_builddir@/Zend -I@abs_builddir@"