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

(ITS#3809) db library detection procedure



Full_Name: Walter Franzini
Version: HEAD
OS: Debian/GNU Linux (irrelevant)
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (81.74.43.82)


The procedure used by the configure script to detect the Berkeley DB library to
be used should be improved to better handle of more library version installed.

The following example should help:

1) libdb-4.3 is installed on the system in an usual place (/usr/lib)
2) libdb-4.2.52 is installed in an unusual directory (/opt/foo/lib)
3) running configure with the proper environment variables, set with correct
values, fails becaus the script stop right after detecting the mismatch of
version between the 4.2.52 headers and the 4.3 library.

The script should stop the test with a success if a correct match is found or
with a failure if no correct match exists, but should go on after a wrong
match.

walter