]> granicus.if.org Git - apache/commitdiff
If mod_dav is not enabled, then don't enable mod_dav_fs.
authorRyan Bloom <rbb@apache.org>
Sun, 15 Apr 2001 00:32:06 +0000 (00:32 +0000)
committerRyan Bloom <rbb@apache.org>
Sun, 15 Apr 2001 00:32:06 +0000 (00:32 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88864 13f79535-47bb-0310-9956-ffa450edef68

modules/dav/fs/config6.m4

index 394b02dc141b566570ebdaa28bec31aa3bb5fa9b..ca1153aed3edb79e0fa15ffe474d5a144796f70a 100644 (file)
@@ -4,8 +4,12 @@ APACHE_MODPATH_INIT(dav/fs)
 
 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