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

This commit is contained in:
Pierangelo Masarati 2004-04-14 23:17:57 +00:00
parent 6f7b9c73af
commit e46e44c34d

View file

@ -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"