Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-27 Thread Mike Castle
In article [EMAIL PROTECTED], Sam Steingold [EMAIL PROTECTED] wrote: Berkley db changed prototypes for functions that are struct members. how do I check for that? The official word from Sleepycat is that it's much better to statically link against a known version of BDB that you ship with your

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-27 Thread Sam Steingold
* Mike Castle [EMAIL PROTECTED] [2005-07-26 23:52:30 -0700]: In article [EMAIL PROTECTED], Sam Steingold [EMAIL PROTECTED] wrote: Berkley db changed prototypes for functions that are struct members. how do I check for that? The official word from Sleepycat is that it's much better to

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-20 Thread Stepan Kasal
Hello, On Wed, Jul 20, 2005 at 06:55:42AM +0200, Ralf Corsepius wrote: On Tue, 2005-07-19 at 20:07 +0200, Stepan Kasal wrote: ad 1) Future versions will probably still have the funtion. ad 2) Older versions don't have it. ad 3) If another project provides the same functionality, your

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-19 Thread David Lloyd
On Tue, 19 Jul 2005, Stepan Kasal wrote: Well, instead of a conclusion I have to ask: is Berkeley db functionality available only from one project, or are there several implementations? (I think the db _format_ can be accessed by several independent libraries, but that's not the question.)

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-19 Thread Ralf Corsepius
On Tue, 2005-07-19 at 20:07 +0200, Stepan Kasal wrote: Hi, On Thu, Jul 14, 2005 at 12:19:26PM -0400, Sam Steingold wrote: * David Boreham [EMAIL PROTECTED] [2005-07-14 08:42:46 -0700]: Wouldn't it be easier to simply read the version number ? ... isn't the whole idea of autoconf to

checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-14 Thread Sam Steingold
Berkley db changed prototypes for functions that are struct members. how do I check for that? here is what I have been able to come up with so far: AC_CACHE_CHECK([whether DB-stat() accepts TXNid],ac_cv_db_stat_accept_txn,[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include db.h], [[DB db;

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-14 Thread David Boreham
Sam Steingold wrote: Berkley db changed prototypes for functions that are struct members. how do I check for that? here is what I have been able to come up with so far: AC_CACHE_CHECK([whether DB-stat() accepts TXNid],ac_cv_db_stat_accept_txn,[ AC_COMPILE_IFELSE([AC_LANG_PROGRAM([#include

Re: checking for Berkley db 4.2 -- 4.3 upgrade

2005-07-14 Thread Paul Eggert
It depends on what you're trying to check for. If all you're trying to check is whether a particular form of call will work, then check that form of call (as you have). If you want to check for the exact signature, though, then I'd take the address of the function pointer and assign it to a