[Gnucash-changes] G2 doesn't need Berkeley DB.

David Hampton hampton at cvs.gnucash.org
Sun Apr 3 21:16:54 EDT 2005


Log Message:
-----------
G2 doesn't need Berkeley DB.

Tags:
----
gnucash-gnome2-dev

Modified Files:
--------------
    gnucash:
        ChangeLog
        configure.in

Revision Data
-------------
Index: configure.in
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/configure.in,v
retrieving revision 1.359.2.41
retrieving revision 1.359.2.42
diff -Lconfigure.in -Lconfigure.in -u -r1.359.2.41 -r1.359.2.42
--- configure.in
+++ configure.in
@@ -813,29 +813,6 @@
 
 
 ### --------------------------------------------------------------------------
-### Berkeley db
-
-DB_LIBS=
-   AC_CHECK_LIB(db-3, __db185_open, DB_LIBS="-ldb-3",
-    AC_CHECK_LIB(db-4.0, __db185_open, DB_LIBS="-ldb-4.0",
-     AC_CHECK_LIB(db-4.1, __db185_open, DB_LIBS="-ldb-4.1",
-      AC_CHECK_LIB(db-4.2, __db185_open, DB_LIBS="-ldb-4.2",
-        AC_MSG_ERROR([Your db library is missing db 1.85 compatibility mode])
-      )
-     )
-    )
-   )
-
-dnl look for db headers
-AC_CHECK_HEADERS(db_185.h db4/db_185.h)
-
-  if test "$ac_cv_header_db_h$ac_cv_header_db_185_h$ac_cv_header_db1_db_h$ac_cv_header_db4_db_185_h" = nononono; then
-  AC_MSG_ERROR([Berkeley db library required for GnuCash])
-fi
-
-AC_SUBST(DB_LIBS)
-
-### --------------------------------------------------------------------------
 ### popt
 
 AC_CHECK_LIB(popt, poptStrippedArgv,, [AC_MSG_ERROR([
Index: ChangeLog
===================================================================
RCS file: /home/cvs/cvsroot/gnucash/ChangeLog,v
retrieving revision 1.1487.2.187
retrieving revision 1.1487.2.188
diff -LChangeLog -LChangeLog -u -r1.1487.2.187 -r1.1487.2.188
--- ChangeLog
+++ ChangeLog
@@ -1,5 +1,8 @@
 2005-04-03  David Hampton  <hampton at employees.org>
 
+	* configure.in: Remove reqirement for Berkeley DB.  The G2 branch
+	compiles and runs fine without it.
+
 	* src/gnome-utils/gnc-gnome-utils.c: Have gnucash read a private
 	RC file.  This makes it easy to apply styles to entire classes of
 	widgets in gnucsah without affecting any other application.


More information about the gnucash-changes mailing list