Re: db3 now in unstable
(yes, it's fine to intermix db2 and db3 now)
On Wed, Mar 14, 2001 at 05:26:33PM -0500, Richard A Nelson wrote:
> Ack...
>
> db3-dev doesn't put things in /usr/include/db3
>
> How am I supposed to determine (autoconf) if building against
> db3, db2, or db1 ?
>From db.h:
#define DB_VERSION_MAJOR 3
#define DB_VERSION_MINOR 2
This is true of libdb2 as well. You can also check into this function:
char *db_version __P((int *, int *, int *));
Ben
--
-----------=======-=-======-=========-----------=====------------=-=------
/ Ben Collins -- ...on that fantastic voyage... -- Debian GNU/Linux \
` bcollins@debian.org -- bcollins@openldap.org -- bcollins@linux.com '
`---=========------=======-------------=-=-----=-===-======-------=--=---'
Reply to: