apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From roo...@apache.org
Subject svn commit: r376177 - in /apr/apr-util/trunk: CHANGES build/dbm.m4
Date Thu, 09 Feb 2006 03:56:33 GMT
Author: rooneg
Date: Wed Feb  8 19:56:31 2006
New Revision: 376177

URL: http://svn.apache.org/viewcvs?rev=376177&view=rev
Log:
Stop trying to link against Berkeley DB by default due to license issues,
if users want to use it they will now have to pass --with-berkeley-db to
configure.

* build/dbm.m4
  (AC_CHECK_DBM): Remove the default search for BDB, and add a comment as
   to why we don't search for it by default.

* CHANGES: Note change.

Modified:
    apr/apr-util/trunk/CHANGES
    apr/apr-util/trunk/build/dbm.m4

Modified: apr/apr-util/trunk/CHANGES
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/CHANGES?rev=376177&r1=376176&r2=376177&view=diff
==============================================================================
--- apr/apr-util/trunk/CHANGES (original)
+++ apr/apr-util/trunk/CHANGES Wed Feb  8 19:56:31 2006
@@ -1,5 +1,11 @@
 Changes with APR-util 1.3.0
 
+  *) Stop trying to link against Berkeley DB by default.  To enable use
+     of Berkeley DB users must now explicitly pass --with-berkeley-db to
+     configure, since Berkeley DB is released under a viral license that
+     requires distribution of source code for any program that uses it.
+     [Garrett Rooney]
+
   *) Stop trying to link against GDBM by default.  To enable use of GDBM
      users must now explicitly pass --with-gdbm to configure, since GDBM
      is licensed under the GPL.

Modified: apr/apr-util/trunk/build/dbm.m4
URL: http://svn.apache.org/viewcvs/apr/apr-util/trunk/build/dbm.m4?rev=376177&r1=376176&r2=376177&view=diff
==============================================================================
--- apr/apr-util/trunk/build/dbm.m4 (original)
+++ apr/apr-util/trunk/build/dbm.m4 Wed Feb  8 19:56:31 2006
@@ -699,6 +699,10 @@
   fi
 
   dnl We're going to try to find the highest version of Berkeley DB supported.
+  dnl
+  dnl Note that we only do this if the user requested it, since the Sleepycat
+  dbl license is viral and requires distribution of source along with programs
+  dnl that use it.
   AC_ARG_WITH([berkeley-db], [
     --with-berkeley-db=PATH
       Find the Berkeley DB header and library in \`PATH/include' and
@@ -723,8 +727,6 @@
         AC_ERROR(Berkeley DB not found.)
       fi
     fi 
-  ],[
-    APU_CHECK_DB($requested, "")
   ])
 
   if test -n "$apu_db_xtra_libs"; then



Mime
View raw message