git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88864
13f79535-47bb-0310-9956-
ffa450edef68
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