diff configure.in @ 10600:20963e8ec560 HEAD

configure: Another try at fixing Berkeley DB check to not give an error.
author Timo Sirainen <tss@iki.fi>
date Thu, 28 Jan 2010 22:18:05 +0200
parents db89ece5a19d
children 8f9fc7fa7c73
line wrap: on
line diff
--- a/configure.in	Thu Jan 28 22:04:44 2010 +0200
+++ b/configure.in	Thu Jan 28 22:18:05 2010 +0200
@@ -119,6 +119,7 @@
 #[  --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 @@
 
 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"