Commit 8a05d913 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

If mod_dav is not enabled, then don't enable mod_dav_fs.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88864 13f79535-47bb-0310-9956-ffa450edef68
parent 91f85e76
Loading
Loading
Loading
Loading
+7 −3
Original line number Diff line number Diff line
@@ -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