DB revisited
Andreas Jaeger
aj@arthur.rhein-neckar.de
Wed Sep 2 00:14:00 GMT 1998
>>>>> Matt McLean writes:
> On Tue, 1 Sep 1998, Dan Jacobowitz wrote:
>> Also... is it at all worth considering leaving db_185.h named db.h and
>> calling db.h db2.h? The interfaces are close enough to confuse the
>> heck out of many configuration systems.
> well.. configure should assume that if db_185.h exists in /usr/include,
> that db.h is DB v2. right?
<db.h> defines
#define DB_VERSION_MAJOR 2
#define DB_VERSION_MINOR 4
#define DB_VERSION_PATCH 14
Those should be used to check for the version. If DB_VERSION_* is not
defined, you've got version 1.
Andreas
--
Andreas Jaeger aj@arthur.rhein-neckar.de jaeger@informatik.uni-kl.de
for pgp-key finger ajaeger@aixd1.rhrk.uni-kl.de
More information about the Libc-hacker
mailing list