[Box Backup-dev] COMMIT r245 - box/trunk/infrastructure/m4

boxbackup-dev@fluffy.co.uk boxbackup-dev@fluffy.co.uk
Thu, 15 Dec 2005 14:34:24 +0000 (GMT)


Author: martin
Date: 2005-12-15 14:34:22 +0000 (Thu, 15 Dec 2005)
New Revision: 245

Modified:
   box/trunk/infrastructure/m4/ax_check_bdb_v1.m4
Log:
Add more libdb version checks when configuring for Berkeley DB

Modified: box/trunk/infrastructure/m4/ax_check_bdb_v1.m4
===================================================================
--- box/trunk/infrastructure/m4/ax_check_bdb_v1.m4	2005-12-15 14:17:04 UTC (rev 244)
+++ box/trunk/infrastructure/m4/ax_check_bdb_v1.m4	2005-12-15 14:34:22 UTC (rev 245)
@@ -18,9 +18,9 @@
                    [ac_bdb_header=$ac_header; break], [ac_bdb_header=""])
   if test "x$ac_bdb_header" != x; then
     AC_SEARCH_LIBS([__db185_open],
-                   [db db-4.3 db-4.2 db-4.1 db-4.0 db-3],
+                   [db db-4.4 db-4.3 db-4.2 db-4.1 db-4.0 db4 db-3 db3],
                    [ac_have_bdb=yes],
-                   [AC_SEARCH_LIBS([dbopen], [db-1 db], [ac_have_bdb=yes])])
+                   [AC_SEARCH_LIBS([dbopen], [db-1 db1 db], [ac_have_bdb=yes])])
   fi
   if test "x$ac_have_bdb" = "xyes"; then
     AC_MSG_CHECKING([whether found db libraries work])