$NetBSD: patch-ad,v 1.5 2004/11/15 21:58:17 jlam Exp $ --- cmulocal/berkdb.m4.orig 2004-09-13 17:57:17.000000000 -0400 +++ cmulocal/berkdb.m4 @@ -217,7 +217,7 @@ AC_DEFUN([CYRUS_BERKELEY_DB_CHK_LIB], LIBS="$saved_LIBS -l$dbname" AC_TRY_LINK([#include ], [db_create(NULL, NULL, 0);], - BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db, + BDB_LIBADD="$BDB_LIBADD -l$dbname"; dblib="berkeley"; dbname=db; break, dblib="no") done if test "$dblib" = "no"; then