Add HAVE_SQLITE3 that allows control if you want sqlite or not
This commit is contained in:
@@ -172,6 +172,8 @@ if test "X$with_sqlite3" != Xyes ; then
|
||||
fi
|
||||
AM_CONDITIONAL(SQLITE3, test "X$with_sqlite3" = Xyes)
|
||||
|
||||
AC_DEFINE(HAVE_SQLITE3, 1, [Define if you want support for sqlite in Heimdal.])
|
||||
|
||||
AC_ARG_ENABLE(sqlite-cache,
|
||||
AS_HELP_STRING([--disable-sqlite-cache],[if you want support for cache in sqlite]))
|
||||
if test "$enable_sqlite_cache" != no; then
|
||||
|
@@ -78,7 +78,9 @@ static struct hdb_method methods[] = {
|
||||
{ HDB_INTERFACE_VERSION, "ldap:", hdb_ldap_create},
|
||||
{ HDB_INTERFACE_VERSION, "ldapi:", hdb_ldapi_create},
|
||||
#endif
|
||||
#ifdef HAVE_SQLITE3
|
||||
{ HDB_INTERFACE_VERSION, "sqlite:", hdb_sqlite_create},
|
||||
#endif
|
||||
{0, NULL, NULL}
|
||||
};
|
||||
|
||||
|
Reference in New Issue
Block a user