summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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