From 3f0ef8c0e90cafdc6fc65d86bc1d4399f05d5826 Mon Sep 17 00:00:00 2001 From: Nathan Bryant Date: Tue, 11 Dec 2001 21:31:07 +0000 Subject: [PATCH] - test for -ldb3 before -ldb --- citadel/ChangeLog | 4 ++++ citadel/configure.ac | 8 ++++---- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/citadel/ChangeLog b/citadel/ChangeLog index 72602733e..90ee29cf3 100644 --- a/citadel/ChangeLog +++ b/citadel/ChangeLog @@ -1,4 +1,7 @@ $Log$ + Revision 590.2 2001/12/11 21:31:07 nbryant + - test for -ldb3 before -ldb + Revision 590.1 2001/12/11 20:04:41 nbryant - fix library flags, includes for portability - malloc.h is deprecated @@ -2945,3 +2948,4 @@ Sat Jul 11 00:20:48 EDT 1998 Nathan Bryant Fri Jul 10 1998 Art Cancro * Initial CVS import + diff --git a/citadel/configure.ac b/citadel/configure.ac index c12c04339..70abfdf55 100644 --- a/citadel/configure.ac +++ b/citadel/configure.ac @@ -181,11 +181,11 @@ fi test "$db_dir" && LDFLAGS="$LDFLAGS -L$db_dir/lib" if test "x$with_db" != xno -a "x$with_gdbm" != xyes; then - AC_CHECK_LIB(db, db_env_create, - [GDBM="$GDBM -ldb" + AC_CHECK_LIB(db3, db_env_create, + [GDBM="$GDBM -ldb3" DATABASE=database_sleepycat.c - with_gdbm=no], [AC_CHECK_LIB(db3, db_env_create, - [GDBM="$GDBM -ldb3" + with_gdbm=no], [AC_CHECK_LIB(db, db_env_create, + [GDBM="$GDBM -ldb" DATABASE=database_sleepycat.c with_gdbm=no], [], [$NETLIBS])], [$NETLIBS]) fi -- 2.39.2