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
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