Re: [reSIProcate] autotools bdb directory option?
On 03/12/12 17:32, Adam Roach wrote:
> Daniel (or anyone else who might know):
>
> The old configure system used to allow specification of the location of
> the BDB header and library files. I can't seem to find an equivalent in
> the autotools system, which basically precludes builds under OS X.
> What's the state of support here?
>
Can you please try the example here:
http://www.resiprocate.org/AutotoolsMigration
It is very common for autotools project to let you specify it as an
argument, e.g.
./configure --with-db=/usr/include/something/db.h
but that is actually bad (which was a surprise to me when I first
discovered it), particularly for cross compiling (which is the reason I
discovered this).
According to the autotools manuals, the correct way is simply to use
CPPFLAGS and LDFLAGS, and so that is the method that is supported and
documented for reSIProcate
Any further feedback you can provide would be very welcome, and if you
can update the wiki for platforms I am not able to test myself, that
could also be very helpful