]> git.sur5r.net Git - openldap/commitdiff
enable use of librewrite for sasl-regexp only if librewrite is compiled (ITS#3084)
authorPierangelo Masarati <ando@openldap.org>
Wed, 14 Apr 2004 23:17:57 +0000 (23:17 +0000)
committerPierangelo Masarati <ando@openldap.org>
Wed, 14 Apr 2004 23:17:57 +0000 (23:17 +0000)
servers/slapd/slap.h

index bd4f74b92a3d2ecb9c220f9931889c44e346c8df..b580224958f1982c72a73148befaf788ebdeb3ff 100644 (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"