]> git.sur5r.net Git - openldap/commitdiff
Fix -ULDAP_DEVEL build
authorKurt Zeilenga <kurt@openldap.org>
Fri, 3 Jun 2005 22:13:27 +0000 (22:13 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Fri, 3 Jun 2005 22:13:27 +0000 (22:13 +0000)
servers/slapd/back-ldap/chain.c

index 05593fa5cbc4524a536aca6d1a8ea0347e96cc59..8b79f2ac50f3668bac8281a511f55b13f355d822 100644 (file)
@@ -695,11 +695,13 @@ static ConfigTable chaincfg[] = {
 };
 
 static ConfigOCs chainocs[] = {
+#ifdef LDAP_CONTROL_X_CHAINING_BEHAVIOR
        { "( OLcfgOvOc:3.1 "
                "NAME 'olcChainConfig' "
                "DESC 'Chain configuration' "
                "SUP olcOverlayConfig "
                "MAY olcChainingBehavior )", Cft_Overlay, chaincfg, NULL, chain_cfadd },
+#endif
        { "( OLcfgOvOc:3.2 "
                "NAME 'olcChainDatabase' "
                "DESC 'Chain remote server configuration' "