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

Re: svn commit: r1390674 - /subversion/trunk/build/ac-macros/berkeley-db.m4

From: Peter Samuelson <peter_at_p12n.org>
Date: Wed, 26 Sep 2012 16:35:26 -0500

[breser_at_apache.org]
> + # We pass --dbm-libs here since Debian has modified apu-config not
> + # to return -ldb unless --dbm-libs is passed.

Better would be not to rely on apr-util to figure out where db is at
all. We're not using the apu wrapper for db, after all, we're calling
the db library directly, so really there's no reason for apr-util to be
involved at all.

If you're trying to fix detection on Debian specifically, note that it
is really as simple as "--with-berkeley-db=:::db", so that case should
be fairly easy to autodetect. Easier, I daresay, than figuring out
whether it's safe and reasonable to pass --dbm-libs to apu_config.

Peter
Received on 2012-09-26 23:36:05 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.