summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks
diff options
context:
space:
mode:
authorGeorge Schlossnagle <gschlossnagle@php.net>2002-11-19 01:20:42 +0000
committerGeorge Schlossnagle <gschlossnagle@php.net>2002-11-19 01:20:42 +0000
commitc598b3ac16be34c958a2abb566af75e24c6e6101 (patch)
treee6088fcdfe55c7e1153e5e0353daa2710e0a9ace /sapi/apache_hooks
parentff55850562f70b609901864e79856151ff35d57c (diff)
downloadphp-git-c598b3ac16be34c958a2abb566af75e24c6e6101.tar.gz
now this works (thanks Rasmus)
Note: the correct line is --with-apache-hooks
Diffstat (limited to 'sapi/apache_hooks')
-rw-r--r--sapi/apache_hooks/config.m48
1 files changed, 5 insertions, 3 deletions
diff --git a/sapi/apache_hooks/config.m4 b/sapi/apache_hooks/config.m4
index f127613ed5..d0f329cd4b 100644
--- a/sapi/apache_hooks/config.m4
+++ b/sapi/apache_hooks/config.m4
@@ -3,8 +3,8 @@ dnl $Id$
dnl
AC_MSG_CHECKING(for Apache 1.x module support via DSO through APXS)
-AC_ARG_WITH(apache_hooks,
-[ --with-apache_hooks[=FILE] Build shared Apache 1.x module. FILE is the optional
+AC_ARG_WITH(apache-hooks,
+[ --with-apache-hooks[=FILE] Build shared Apache 1.x module. FILE is the optional
pathname to the Apache apxs tool; defaults to "apxs".],[
if test "$withval" = "yes"; then
APXS=apxs
@@ -14,6 +14,7 @@ AC_ARG_WITH(apache_hooks,
APXS=/usr/sbin/apxs
fi
else
+ AC_DEFINE(APACHE_HOOKS,1,[ ])
PHP_EXPAND_PATH($withval, APXS)
fi
@@ -89,8 +90,9 @@ APACHE_INSTALL_FILES="\$(srcdir)/sapi/apache_hooks/mod_php4.* sapi/apache_hooks/
if test "$PHP_SAPI" != "apache_hooks"; then
AC_MSG_CHECKING(for Apache 1.x module support)
AC_ARG_WITH(apache,
-[ --with-apache_hooks_static[=DIR] Build Apache 1.x module. DIR is the top-level Apache
+[ --with-apache_hooks-static[=DIR] Build Apache 1.x module. DIR is the top-level Apache
build directory, defaults to /usr/local/apache.],[
+ AC_DEFINE(APACHE_HOOKS,1,[ ])
if test "$withval" = "yes"; then
# Apache's default directory
withval=/usr/local/apache