summaryrefslogtreecommitdiff
path: root/build/dbm.m4
diff options
context:
space:
mode:
authorrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-02-09 03:56:31 +0000
committerrooneg <rooneg@13f79535-47bb-0310-9956-ffa450edef68>2006-02-09 03:56:31 +0000
commit23f1501388417a9d75d3ad5ece743deb3820b39f (patch)
treea775957c409b36c62dce0e29aad7d421ade34007 /build/dbm.m4
parent836c517f83f5b2649cd5f2d31eafb13708a983f7 (diff)
downloadlibapr-util-23f1501388417a9d75d3ad5ece743deb3820b39f.tar.gz
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. git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/trunk@376177 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'build/dbm.m4')
-rw-r--r--build/dbm.m46
1 files changed, 4 insertions, 2 deletions
diff --git a/build/dbm.m4 b/build/dbm.m4
index 08096de1..c602b1fc 100644
--- a/build/dbm.m4
+++ b/build/dbm.m4
@@ -699,6 +699,10 @@ AC_DEFUN([APU_CHECK_DBM], [
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_DEFUN([APU_CHECK_DBM], [
AC_ERROR(Berkeley DB not found.)
fi
fi
- ],[
- APU_CHECK_DB($requested, "")
])
if test -n "$apu_db_xtra_libs"; then