HDB_NDBM_H -> HAVE_NDBM_H
git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8411 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -41,20 +41,20 @@ struct hdb_method {
|
|||||||
};
|
};
|
||||||
|
|
||||||
static struct hdb_method methods[] = {
|
static struct hdb_method methods[] = {
|
||||||
#if HAVE_DB_H
|
#ifdef HAVE_DB_H
|
||||||
{"db:", hdb_db_create},
|
{"db:", hdb_db_create},
|
||||||
#endif
|
#endif
|
||||||
#if HDB_NDBM_H
|
#ifdef HAVE_NDBM_H
|
||||||
{"ndbm:", hdb_ndbm_create},
|
{"ndbm:", hdb_ndbm_create},
|
||||||
#endif
|
#endif
|
||||||
#if OPENLDAP
|
#ifdef OPENLDAP
|
||||||
{"ldap:", hdb_ldap_create},
|
{"ldap:", hdb_ldap_create},
|
||||||
#endif
|
#endif
|
||||||
#if HAVE_DB_H
|
#ifdef HAVE_DB_H
|
||||||
{"", hdb_db_create},
|
{"", hdb_db_create},
|
||||||
#elif HAVE_NDBM_H
|
#elif defined(HAVE_NDBM_H)
|
||||||
{"", hdb_ndbm_create},
|
{"", hdb_ndbm_create},
|
||||||
#elif OPENLDAP
|
#elif defined(OPENLDAP)
|
||||||
{"", hdb_ldap_create},
|
{"", hdb_ldap_create},
|
||||||
#endif
|
#endif
|
||||||
{NULL, NULL}
|
{NULL, NULL}
|
||||||
|
Reference in New Issue
Block a user