From 6947e2ba7bd8244809f314b9000ea8d3c5544c4d Mon Sep 17 00:00:00 2001 From: Johan Danielsson Date: Tue, 20 Jun 2000 13:20:06 +0000 Subject: [PATCH] HDB_NDBM_H -> HAVE_NDBM_H git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@8411 ec53bebd-3082-4978-b11e-865c3cabbd6b --- lib/hdb/hdb.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/hdb/hdb.c b/lib/hdb/hdb.c index 807c7c82f..e6ccb51c4 100644 --- a/lib/hdb/hdb.c +++ b/lib/hdb/hdb.c @@ -41,20 +41,20 @@ struct hdb_method { }; static struct hdb_method methods[] = { -#if HAVE_DB_H +#ifdef HAVE_DB_H {"db:", hdb_db_create}, #endif -#if HDB_NDBM_H +#ifdef HAVE_NDBM_H {"ndbm:", hdb_ndbm_create}, #endif -#if OPENLDAP +#ifdef OPENLDAP {"ldap:", hdb_ldap_create}, #endif -#if HAVE_DB_H +#ifdef HAVE_DB_H {"", hdb_db_create}, -#elif HAVE_NDBM_H +#elif defined(HAVE_NDBM_H) {"", hdb_ndbm_create}, -#elif OPENLDAP +#elif defined(OPENLDAP) {"", hdb_ldap_create}, #endif {NULL, NULL}