[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: r9990 breaks build

From: Branko Čibej <brane_at_xbc.nu>
Date: 2004-06-15 05:27:39 CEST

Ben Collins-Sussman wrote:

>On Mon, 2004-06-14 at 22:11, David Summers wrote:
>
>
>>r9990 seems to have broken the build. It appears that the
>>DB_LOG_AUTOREMOVE is a symbol of DB 4.2.52 and not DB 4.0.14 ??????
>>
>>
>
>Oh jeez. And I even ran 'make check'. It never occurred to me that
>anyone out there was still running db 4.0 or 4.1. :-)
>
>I guess I'll make libsvn_fs_base only test for that particular flag if
>it detects BDB 4.2 or later at runtime.
>
>
Don't do that. You can't have a different version of BDB at runtime than
at compile time, because the APIs are different (we check the runtime
version against the compile-time version explicitly). So just wrap that
code in

#ifdef DB_LOG_AUTOREMOVE

and it will magically DTRT.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Jun 15 05:28:11 2004

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.