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
APXS=/usr/sbin/apxs
fi
else
+ AC_DEFINE(APACHE_HOOKS,1,[ ])
PHP_EXPAND_PATH($withval, APXS)
fi
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