From 43b19478634b97dc9eb25c16d18377f49f2e22fd Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Thu, 28 Jan 2010 22:18:05 +0200 Subject: [PATCH] configure: Another try at fixing Berkeley DB check to not give an error. --HG-- branch : HEAD --- configure.in | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/configure.in b/configure.in index 010f9148db..b6e73b352a 100644 --- a/configure.in +++ b/configure.in @@ -119,6 +119,7 @@ AC_ARG_WITH(vpopmail, #[ --with-db Build with Berkeley DB support], # TEST_WITH(db, $withval), # want_db=no) +want_db=no dnl The --with-sql is useful only if Dovecot is being built with all the SQL dnl drivers as modules. If any SQL driver is built-in, this option is ignored. @@ -2011,7 +2012,7 @@ AM_CONDITIONAL(LDAP_PLUGIN, test "$have_ldap_plugin" = "yes") dict_drivers=client -if test "$want_db" != "no"; then +if test $want_db != no; then AC_CACHE_CHECK([db_env_create in -ldb],i_cv_have_db_env_create,[ old_LIBS=$LIBS LIBS="$LIBS -ldb" -- 2.47.3