From e73ec5a0bd0c052d3ce8b621381fc5f58014aa2b Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Mon, 9 Aug 2004 20:55:23 +0000 Subject: Conditional Compilation of the various handlers --- daemon/httpauthd.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'daemon/httpauthd.c') 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 -- cgit v1.2.3