Commit aed53d80 authored by Ryan Bloom's avatar Ryan Bloom
Browse files

Make the dav/main config.m4 file be added to the configure script after

httpd, and make dav default to no if http is not enabled.  Dav still
defaults to yes if http is in the server.  Dav is incredibly HTTP centric,
and makes little to no sense without HTTP


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@88827 13f79535-47bb-0310-9956-ffa450edef68
parent 1566bded
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -4,7 +4,13 @@ APACHE_MODPATH_INIT(dav/main)

dav_objects="mod_dav.lo props.lo util.lo util_lock.lo liveprop.lo providers.lo std_liveprop.lo"

APACHE_MODULE(dav, WebDAV protocol handling, $dav_objects, , most)
if test "$enable_http" = "no"; then
  dav_enable=no
else
  dav_enable=most
fi

APACHE_MODULE(dav, WebDAV protocol handling, $dav_objects, , $dav_enable)

if test "$enable_dav" != "no"; then
  apache_need_expat=yes