From: Howard Chu Date: Mon, 1 Aug 2005 22:02:23 +0000 (+0000) Subject: Add static build for accesslog X-Git-Tag: OPENLDAP_AC_BP~113 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=91ea3a113ab02d28ecd68caf1341e3b2f6eb6192;p=openldap Add static build for accesslog --- 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