From e46e44c34dfb6fb5e591cf78cef58073081b432f Mon Sep 17 00:00:00 2001 From: Pierangelo Masarati Date: Wed, 14 Apr 2004 23:17:57 +0000 Subject: [PATCH] enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084) --- servers/slapd/slap.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/servers/slapd/slap.h b/servers/slapd/slap.h index bd4f74b92a..b580224958 100644 --- a/servers/slapd/slap.h +++ b/servers/slapd/slap.h @@ -2363,6 +2363,11 @@ typedef int (SLAP_CTRL_PARSE_FN) LDAP_P(( #define SLMALLOC_SLAB_SIZE (1024*1024) +#if defined(LDAP_DEVEL) && defined(ENABLE_REWRITE) +/* use librewrite for sasl-regexp */ +#define SLAP_SASL_REWRITE 1 +#endif /* LDAP_DEVEL && ENABLE_REWRITE */ + LDAP_END_DECL #include "proto-slap.h" -- 2.39.5