configure.in -- db checking

Adrian Otto aotto at aotto.com
Sun Oct 6 00:13:44 CEST 2002



> -----Original Message-----
> From: Clint Adams [mailto:schizo at debian.org]
> Sent: Saturday, October 05, 2002 2:57 PM
> To: Adrian Otto
> Cc: bogofilter-dev at aotto.com
> Subject: Re: configure.in -- db checking
>
>
> > Isn't there more to it than that? Your patch seems to look for
> > db_create_4000, which would require corresponding precompiled
> code so that
> > this function is used when version 4 of the BerkeleyDB library
> is in use. Am
> > I missing something?
>
> db.h #defines db_create to db_create_4000 .
> I think they've gone back to exporting an actual 'db_create' symbol in
> db 4.1.

Well, if that's the case, then the current code in configure.in should
remain. An additional rule should be added to handle the case where only
db_create_4000 is present, and to use the #define method to map the
db_create_4000 symbol to db_create.

Adrian



More information about the bogofilter-dev mailing list