From: Pierangelo Masarati Date: Wed, 6 Sep 2006 09:09:03 +0000 (+0000) Subject: remove dependencies on back-{b,h}db X-Git-Tag: OPENLDAP_REL_ENG_2_3_MP~204 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1f201f2cb4beb05b3d372902504ace3d76ed5785;p=openldap remove dependencies on back-{b,h}db --- diff --git a/servers/slapd/back-monitor/database.c b/servers/slapd/back-monitor/database.c index 02644819b9..5d080f60fd 100644 --- a/servers/slapd/back-monitor/database.c +++ b/servers/slapd/back-monitor/database.c @@ -33,12 +33,14 @@ static int monitor_back_add_plugin( monitor_info_t *mi, Backend *be, Entry *e ); #endif /* defined(LDAP_SLAPI) */ +#if 0 /* moved to back-bdb/monitor.c */ #if defined(SLAPD_BDB) #include "../back-bdb/back-bdb.h" #endif /* defined(SLAPD_BDB) */ #if defined(SLAPD_HDB) #include "../back-hdb/back-bdb.h" #endif /* defined(SLAPD_HDB) */ +#endif #if defined(SLAPD_LDAP) #include "../back-ldap/back-ldap.h" #endif /* defined(SLAPD_LDAP) */ @@ -291,6 +293,7 @@ monitor_subsys_database_init( if ( 0 ) { assert( 0 ); +#if 0 /* moved into back-bdb/monitor.c */ #if defined(SLAPD_BDB) || defined(SLAPD_HDB) } else if ( strcmp( bi->bi_type, "bdb" ) == 0 || strcmp( bi->bi_type, "hdb" ) == 0 ) @@ -337,6 +340,7 @@ monitor_subsys_database_init( ch_free( bv.bv_val ); #endif /* defined(SLAPD_BDB) || defined(SLAPD_HDB) */ +#endif #if defined(SLAPD_LDAP) } else if ( strcmp( bi->bi_type, "ldap" ) == 0 ) { ldapinfo_t *li = (ldapinfo_t *)be->be_private;