blob: 021e9fe9323fcc65f857fc771d4bef99a60401e6 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
|
--- configure.in.orig Sat Sep 1 19:32:49 2001
+++ configure.in Sat Sep 1 19:34:07 2001
@@ -262,18 +262,18 @@
db3_found=no
for db3dir in "" $trydb3dir /usr /usr /usr/local ; do
if test -f "$db3dir/include/db3/db.h" ; then
- LDFLAGS="$LDFLAGS -L$db3dir/lib -L$db3dir"
- CFLAGS="$CFLAGS -I$db3dir/include"
+ LDFLAGS="$LDFLAGS -L$db3dir/lib"
+ CFLAGS="$CFLAGS -I$db3dir/include/db3"
dnl If we require DB3, die if we don't have it
if test "x$db3_required" != "xno"; then
- AC_CHECK_LIB(db, main,
+ AC_CHECK_LIB(db3, main,
dnl AC_MSG_RESULT([enabling db3 support])
db3_found=yes
dnl -- also enable CNID DB when this is found
AC_DEFINE(CNID_DB, 1)
AC_MSG_RESULT([using persistent cnid database per volume])
- LIBS="$LIBS -ldb",
+ LIBS="$LIBS -ldb3",
dnl Not Found
AC_MSG_ERROR([Berkeley DB3 library not found!])
)
|