You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2001/04/15 02:32:06 UTC
cvs commit: httpd-2.0/modules/dav/fs config6.m4
rbb 01/04/14 17:32:06
Modified: modules/dav/fs config6.m4
Log:
If mod_dav is not enabled, then don't enable mod_dav_fs.
Revision Changes Path
1.2 +7 -3 httpd-2.0/modules/dav/fs/config6.m4
Index: config6.m4
===================================================================
RCS file: /home/cvs/httpd-2.0/modules/dav/fs/config6.m4,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -b -w -u -r1.1 -r1.2
--- config6.m4 2001/04/12 15:14:06 1.1
+++ config6.m4 2001/04/15 00:32:06 1.2
@@ -4,8 +4,12 @@
dav_fs_objects="mod_dav_fs.lo dbm.lo lock.lo repos.lo"
-dnl ### we want to default this based on whether dav is being used...
-dnl ### but there is no ordering to the config.m4 files right now...
-APACHE_MODULE(dav_fs, DAV provider for the filesystem, $dav_fs_objects, , most)
+if test "$enable_dav" = "no"; then
+ dav_fs_enable=no
+else
+ dav_fs_enable=yes
+fi
+
+APACHE_MODULE(dav_fs, DAV provider for the filesystem, $dav_fs_objects, , $dav_fs_enable)
APACHE_MODPATH_FINISH