Commit e46e44c3 authored by Pierangelo Masarati's avatar Pierangelo Masarati
Browse files

enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084)

parent 6f7b9c73
......@@ -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"
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment