summaryrefslogtreecommitdiff
path: root/daemon/httpauthd.c
diff options
context:
space:
mode:
authorStef Walter <stef@memberwebs.com>2004-08-09 20:55:23 +0000
committerStef Walter <stef@memberwebs.com>2004-08-09 20:55:23 +0000
commite73ec5a0bd0c052d3ce8b621381fc5f58014aa2b (patch)
tree1d37e0229f7fc84d4b2912975bcd62fac0d0ac59 /daemon/httpauthd.c
parent495ccb3f35ea7511302ff3fa0f43f1b8a6e736e3 (diff)
Conditional Compilation of the various handlers
Diffstat (limited to 'daemon/httpauthd.c')
-rw-r--r--daemon/httpauthd.c8
1 files changed, 6 insertions, 2 deletions
diff --git a/daemon/httpauthd.c b/daemon/httpauthd.c
index 17ed15c..f995d6d 100644
--- a/daemon/httpauthd.c
+++ b/daemon/httpauthd.c
@@ -36,9 +36,13 @@ extern ha_handler_t ntlm_handler;
/* This is the list of all available handlers */
ha_handler_t* g_handlerlist[] =
{
- &simple_handler,
+#if WITH_LDAP
&ldap_handler,
- &ntlm_handler
+#endif
+#if WITH_NTLM
+ &ntlm_handler,
+#endif
+ &simple_handler,
};
typedef struct httpauth_loaded