From 677bf03f0715cfcee34d0d8ee940e054e1a6278f Mon Sep 17 00:00:00 2001 From: Sascha Schumann Date: Sat, 13 Nov 1999 17:29:43 +0000 Subject: [PATCH] Allow --with-apxs and --with-regex=apache --- sapi/apache/config.m4 | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sapi/apache/config.m4 b/sapi/apache/config.m4 index 9aed624498..c70a04b13d 100644 --- a/sapi/apache/config.m4 +++ b/sapi/apache/config.m4 @@ -16,9 +16,12 @@ AC_ARG_WITH(apxs, XML_INCLUDE="$APXS_INCLUDEDIR/xml" fi AC_ADD_INCLUDE($APXS_INCLUDEDIR) - PHP_EXTENSION(apache) + if test -n "`$APXS -q CFLAGS | grep USE_HSREGEX`"; then + APACHE_HAS_REGEX=yes + fi + PHP_EXTENSION(apache) PHP_SAPI=apache - APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED" + APACHE_INSTALL="$APXS -i -a -n php4 $SAPI_SHARED" PHP_BUILD_SHARED STRONGHOLD= AC_DEFINE(APACHE) -- 2.50.1