Skip to content

Commit

Permalink
Allow choice of sqlite for HDB pref
Browse files Browse the repository at this point in the history
  • Loading branch information
nicowilliams committed Mar 17, 2017
1 parent 242829a commit 68687ec
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cf/db.m4
Expand Up @@ -5,8 +5,8 @@ dnl

AC_DEFUN([rk_DB],[
AC_ARG_WITH(db-type-preference,
AS_HELP_STRING([--with-db-type-preference],
[specify HDB backend DB type preference as whitespace-separated list]),
AS_HELP_STRING([--with-db-type-preference=list],
[specify HDB backend DB type preference as whitespace-separated list of db1, db3, lmdb, and/or sqlite]),
[db_type_preference="$withval"],
[db_type_preference="lmdb db3 db1 sqlite"])
AC_ARG_WITH(berkeley-db,
Expand Down Expand Up @@ -142,7 +142,7 @@ AS_IF([test "x$enable_mdb_db" != xno],
AC_DEFINE(HAVE_LMDB, 1, [define if you have the LMDB library]))])])
for db_type in unknown $db_type_preference; do
if eval test \"x\$have_${db_type}\" = xyes; then
if eval test \"x\$have_${db_type}\" = xyes -o ${db_type} = sqlite; then
break
fi
db_type=unknown
Expand Down

0 comments on commit 68687ec

Please sign in to comment.