From: Timo Sirainen Date: Thu, 28 Jan 2010 20:18:05 +0000 (+0200) Subject: configure: Another try at fixing Berkeley DB check to not give an error. X-Git-Tag: 2.0.beta2~19 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=43b19478634b97dc9eb25c16d18377f49f2e22fd;p=thirdparty%2Fdovecot%2Fcore.git configure: Another try at fixing Berkeley DB check to not give an error. --HG-- branch : HEAD --- 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"