apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joe Orton <...@manyfish.co.uk>
Subject Re: [PATCH] improve berkeley detection on FreeBSD
Date Sat, 21 Feb 2004 12:28:18 GMT
On Fri, Feb 20, 2004 at 12:15:59AM -0000, David Reid wrote:
> This improves the detection of the BerkeleyDB on FreeBSD. It basically
> correct what's looks like some copy/paste oversights (looking for db4 when
> in a db4.2 block for instance) and adds the ability of the apu_hints.m4 to
> pass in a platform_places to look for the directory. This is added to the
> user_places prior to checking any user supplied dirs.

/usr/local is not FreeBSD specific: you should configure using
--with-berkeley-db=/usr/local.  wrt to the db4 vs db4.2 this is
deliberate to cope with the various ways BDB is packaged.  Is that
actually breaking for you, if so how?

> The patch also adds the APRUTIL_LIBS and _LDFLAGS to the link line for the
> final lib as otherwise it craps out when we try and use the lib during the
> httpd build :(

This looks good but will this break the build with libtool 1.3 (since it 
means that libaprutil*.la may get linked against other .la files)?  That 
needs to be checked.

(Fixing this means the EXTRA_OS_LINK hack in configure can be removed


View raw message