From 453fc97ef51a26ab5f002ce8e817b832821b39f4 Mon Sep 17 00:00:00 2001 From: Ryan Bloom Date: Sun, 15 Apr 2001 00:32:06 +0000 Subject: [PATCH] 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 --- modules/dav/fs/config6.m4 | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/modules/dav/fs/config6.m4 b/modules/dav/fs/config6.m4 index 394b02dc14..ca1153aed3 100644 --- a/modules/dav/fs/config6.m4 +++ b/modules/dav/fs/config6.m4 @@ -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 -- 2.40.0