[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

checking for Berkley db 4.2 --> 4.3 upgrade

From: Sam Steingold
Subject: checking for Berkley db 4.2 --> 4.3 upgrade
Date: Thu, 14 Jul 2005 11:21:54 -0400
User-agent: Gnus/5.11 (Gnus v5.11) Emacs/22.0.50 (windows-nt)

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,[
[[DB db; db->stat(db,0,NULL);]])],
if test "$ac_cv_db_stat_accept_txn" = "yes"; then
AC_DEFINE(HAVE_DB_STAT_ACCEPT_TXN,1,[Define to 1 if DB->stat() accepts TXNid])

Is this the right way to do the check?


Sam Steingold ( running w2k
<> <>
<> <> <>
"A pint of sweat will save a gallon of blood."          -- George S. Patton

reply via email to

[Prev in Thread] Current Thread [Next in Thread]