From 19aefcb7ddb72837f705fdba581d1dad86f85d2c Mon Sep 17 00:00:00 2001
From: Solomon Huang <kaichanh@gmail.com>
Date: Wed, 19 Mar 2014 01:53:02 +0800
Subject: [PATCH] Remove MONGOOSE_NO_DAV on DAV_AUTH_FILE options

Building with -DMONGOOSE_NO_DAV will fail.
---
 mongoose.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/mongoose.c b/mongoose.c
index fadf70808..cb1e1cba4 100644
--- a/mongoose.c
+++ b/mongoose.c
@@ -1082,9 +1082,7 @@ enum {
   CGI_INTERPRETER,
   CGI_PATTERN,
 #endif
-#ifndef MONGOOSE_NO_DAV
   DAV_AUTH_FILE,
-#endif
   DOCUMENT_ROOT,
 #ifndef MONGOOSE_NO_DIRECTORY_LISTING
   ENABLE_DIRECTORY_LISTING,
@@ -1123,9 +1121,7 @@ static const char *static_config_options[] = {
   "cgi_interpreter", NULL,
   "cgi_pattern", DEFAULT_CGI_PATTERN,
 #endif
-#ifndef MONGOOSE_NO_DAV
   "dav_auth_file", NULL,
-#endif
   "document_root",  NULL,
 #ifndef MONGOOSE_NO_DIRECTORY_LISTING
   "enable_directory_listing", "yes",
-- 
GitLab