* Makefile.in
Change the -a option of INSTALL_MOD_SHARED to @MOD_ACTIVATION@
substation variable which is defined in configure.in
* configure.in
Add a AC_ARG_ENABLE function that defines a mod-activation feature
which sub-statues @MOD_ACTIVATION@ in Makefile.in, this feature
defaults to on.
-
Patch description
This patch adds a --disable-mod-activation option to configure option
which removes the -a option from apxs when installing mod_dav_svn. The
default behavior is to activate the module.
Jon.
Index: ./Makefile.in
===================================================================
--- ./Makefile.in
+++ ./Makefile.in 2002-07-30 21:30:34.000000000 +0100
@@ -80,7 +80,7 @@
INSTALL_BIN = $(LIBTOOL) --mode=install $(INSTALL)
INSTALL_FS_BIN = $(INSTALL_BIN)
INSTALL_INCLUDE = $(INSTALL) -m 644
-INSTALL_MOD_SHARED = @APXS@ -i -a
+INSTALL_MOD_SHARED = @APXS@ -i @MOD_ACTIVATION@
INSTALL_MOD_STATIC = $(INSTALL) -m 644
INSTALL_DATA = $(INSTALL) -m 644
Index: ./configure.in
===================================================================
--- ./configure.in
+++ ./configure.in 2002-08-02 18:41:29.000000000 +0100
@@ -198,6 +198,20 @@
fi
])
+MOD_ACTIVATION="-a"
+AC_ARG_ENABLE(mod-activation,
+[ --disable-mod-activation Do not enable mod_dav_svn in httpd.conf],
+[
+ if test "$enableval" = "no" ; then
+ MOD_ACTIVATION=""
+ AC_MSG_NOTICE([Disabling apache module activation])
+ else
+ AC_MSG_NOTICE([Enabling apache module activation])
+ fi
+])
+AC_SUBST(MOD_ACTIVATION)
+
+
AC_ARG_ENABLE(maintainer-mode,
[ --enable-maintainer-mode Turn on debugging and very strict compile-time
warnings],
- application/pgp-signature attachment: stored
Received on Fri Aug 2 20:52:41 2002