[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: BerkeleyDB again

Howard Chu wrote:
Our BDB detection macro has explicit checks for -ldb45, -ldb44, ... -ldb41 before falling back to -ldb4. So right now while I have db46 (and older versions) installed on the system, RE24 configure picks the wrong library. I think we should drop the link tests for minor version and only check for -ldb4.

Another alternative would be to move the db.h tests earlier and look for the library that matches the header file version number.

Any thoughts?

Never mind, we already do the db.h tests first. I just added db4.6 to the check and deleted the db4.1 check since that version is long obsolete.

  -- Howard Chu
  Chief Architect, Symas Corp.  http://www.symas.com
  Director, Highland Sun        http://highlandsun.com/hyc/
  Chief Architect, OpenLDAP     http://www.openldap.org/project/