From 91ea3a113ab02d28ecd68caf1341e3b2f6eb6192 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Mon, 1 Aug 2005 22:02:23 +0000 Subject: [PATCH] Add static build for accesslog --- servers/slapd/overlays/overlays.c | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/servers/slapd/overlays/overlays.c b/servers/slapd/overlays/overlays.c index 6c3b81ad09..656fb33396 100644 --- a/servers/slapd/overlays/overlays.c +++ b/servers/slapd/overlays/overlays.c @@ -23,6 +23,9 @@ #include "slap.h" +#if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC +extern int acceslog_init(); +#endif #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC extern int denyop_init(); #endif @@ -67,6 +70,9 @@ static struct { char *name; int (*func)(); } funcs[] = { +#if SLAPD_OVER_ACCESSLOG == SLAPD_MOD_STATIC + { "Access Log", accesslog_init }, +#endif #if SLAPD_OVER_DENYOP == SLAPD_MOD_STATIC { "Deny Operation", denyop_init }, #endif -- 2.39.5