diff options
| author | Sascha Schumann <sas@php.net> | 1999-11-13 17:29:43 +0000 |
|---|---|---|
| committer | Sascha Schumann <sas@php.net> | 1999-11-13 17:29:43 +0000 |
| commit | 677bf03f0715cfcee34d0d8ee940e054e1a6278f (patch) | |
| tree | 04caf59936098a7feab85ccf0e146a41b0838360 /sapi/apache/config.m4 | |
| parent | bcb2214e9951b271d073314870bf09a6a87435f5 (diff) | |
| download | php-git-677bf03f0715cfcee34d0d8ee940e054e1a6278f.tar.gz | |
Allow --with-apxs and --with-regex=apache
Diffstat (limited to 'sapi/apache/config.m4')
| -rw-r--r-- | sapi/apache/config.m4 | 7 |
1 files 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) |
