apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jani Averbach <...@jaa.iki.fi>
Subject Re: Please merge r59141 (Berkeley DB 4.3 support) to apr 0.9.x
Date Wed, 19 Jan 2005 14:30:13 GMT
On 2005-01-16 12:29-0500, Garrett Rooney wrote:
> Max Bowsher wrote:
> >Please merge r59141 (Berkeley DB 4.3 support) to apr 0.9.x
> 
> Committed in revision 125358.

Hello,

I like to let you know one small difference between 0.9.x and 1.0.x
regarding Berkeley DB, they use different kinds of lib names, when
they are seeking a BDB system.  

I have pointed this out when the patch went in, but nobody commented
it: http://marc.theaimsgroup.com/?l=apr-dev&m=109595023015477&w=2

0.9.x uses following functions to find  BDB:

4.1:
  APU_CHECK_BERKELEY_DB("4", "1", "-1",
    "$places",
    "db41/db.h db4/db.h db.h",
    "db-4.1 db4 db"
  )
...
4.2:
 APU_CHECK_BERKELEY_DB("4", "2", "-1",
    "$places",
    "db42/db.h db4/db.h db.h",
    "db-4.2 db4 db"
 )


When 1.0.x uses:
4.1:
  APU_CHECK_BERKELEY_DB("4", "1", "-1",
    "$places",
    "db41/db.h db4/db.h db.h",
    "db-4.1 db41 db4 db"
  )
...
4.2:
  APU_CHECK_BERKELEY_DB("4", "2", "-1",
    "$places",
    "db42/db.h db4/db.h db.h",
    "db-4.2 db42 db4 db"
  )

So now 0.9.x is using a lib name 'db4' for 4.1 and 4.2, but for 4.3 an
additional lib name 'db43' is used. If this is ok, then so be it.

BR, Jani

-- 
Jani Averbach

Mime
View raw message