[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: Subversion's Berkeley DB detection with APR trunk

From: Philip Martin <philip.martin_at_wandisco.com>
Date: Tue, 21 Jun 2011 14:42:06 +0100

"C. Michael Pilato" <cmpilato_at_collab.net> writes:

> I'd be interested in knowing why the --db-version parameter was
> dropped. In the absence of a solid reason, I think APR should be
> changed to support as much.

Probably it's because apr is now modular and BDB support is one of the
things that is loaded dynamically. It's easy enough to reinstate
--db-version, but that doesn't fix Subversion because apr no longer
explicitly links against the BDB library. Subversion's configure fails
its link test with 'undefined reference to db_version'.

Index: apr-config.in
--- apr-config.in (revision 1137909)
+++ apr-config.in (working copy)
@@ -44,6 +44,7 @@
 # NOTE: the following line is modified during 'make install': alter with care!
@@ -230,6 +231,10 @@
     exit 0
+ --db-version)
+ exit 0
+ ;;
     exit 0

Received on 2011-06-21 15:42:57 CEST

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.