1 diff -urN subversion-20020724.org/ac-helpers/berkeley-db.m4 subversion-20020724/ac-helpers/berkeley-db.m4
2 --- subversion-20020724.org/ac-helpers/berkeley-db.m4 Thu Jul 25 17:11:07 2002
3 +++ subversion-20020724/ac-helpers/berkeley-db.m4 Thu Jul 25 17:11:46 2002
5 if test "$enable_shared" = "yes"; then
6 SVN_DB_LIBS="$dbdir/libdb-4.0.la"
8 - SVN_DB_LIBS="-L$dbdir -ldb"
9 + SVN_DB_LIBS="-L$dbdir -ldb4"
11 elif test "$status" = "skip"; then
12 svn_lib_berkeley_db=no
19 svn_lib_berkeley_db=yes
23 lib="`echo $found | sed -e 's/^.*://'`"
24 SVN_DB_INCLUDES="-I$header"
25 dnl ### should look for a .la file
26 - SVN_DB_LIBS="-L$lib -ldb"
27 + SVN_DB_LIBS="-L$lib -ldb4"
28 svn_lib_berkeley_db=yes
31 SVN_DB_INCLUDES="-I$found/include"
32 dnl ### should look for a .la file
33 - SVN_DB_LIBS="-L$found/lib -ldb"
34 + SVN_DB_LIBS="-L$found/lib -ldb4"
35 svn_lib_berkeley_db=yes
39 AC_DEFUN(SVN_LIB_BERKELEY_DB_TRY,
41 svn_lib_berkeley_db_try_save_libs="$LIBS"
45 svn_check_berkeley_db_major=$1
46 svn_check_berkeley_db_minor=$2