Blame SOURCES/cyrus-imapd-2.3.12p2-current-db.patch

62c494
diff -up cyrus-imapd-2.4.6/cmulocal/berkdb.m4.db4.7 cyrus-imapd-2.4.6/cmulocal/berkdb.m4
62c494
--- cyrus-imapd-2.4.6/cmulocal/berkdb.m4.db4.7	2010-12-20 14:15:49.000000000 +0100
62c494
+++ cyrus-imapd-2.4.6/cmulocal/berkdb.m4	2011-02-10 13:43:26.397438481 +0100
62c494
@@ -214,6 +214,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
62c494
 
62c494
 	saved_LIBS=$LIBS
62c494
 	    for dbname in ${with_bdb} \
62c494
+	        db \
62c494
 	        db-4.8 db4.8 db48 \
62c494
 	        db-4.7 db4.7 db47 \
62c494
 	        db-4.6 db4.6 db46 \
62c494
@@ -226,8 +227,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB],
62c494
 	        db-3.3 db3.3 db33 \
62c494
 	        db-3.2 db3.2 db32 \
62c494
 	        db-3.1 db3.1 db31 \
62c494
-	        db-3.0 db3.0 db30 db-3 db3 \
62c494
-	        db
62c494
+	        db-3.0 db3.0 db30 db-3 db3
62c494
 	      do
62c494
 	    LIBS="$saved_LIBS -l$dbname"
62c494
 	    AC_TRY_LINK([#include <stdio.h>