]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
configure: Another try at fixing Berkeley DB check to not give an error.
authorTimo Sirainen <tss@iki.fi>
Thu, 28 Jan 2010 20:18:05 +0000 (22:18 +0200)
committerTimo Sirainen <tss@iki.fi>
Thu, 28 Jan 2010 20:18:05 +0000 (22:18 +0200)
--HG--
branch : HEAD

configure.in

index 010f9148db695eefa94d1dc8f2f7a3a7ef9229cb..b6e73b352a6ee4a53535c206404fd7e7164829f1 100644 (file)
@@ -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"