ITS#3581: Have configure report a mismatch if the version in db.h

header doesn't precisely match the return of db_version().
This commit is contained in:
Kurt Zeilenga 2005-03-04 16:39:04 +00:00
parent f7e158333e
commit a1bce885a0
3 changed files with 265 additions and 262 deletions

View File

@ -368,7 +368,10 @@ main()
version = db_version( &major, &minor, &patch );
if( major != DB_VERSION_MAJOR || minor < DB_VERSION_MINOR ) {
if( major != DB_VERSION_MAJOR ||
minor != DB_VERSION_MINOR ||
patch != DB_VERSION_PATCH )
{
printf("Berkeley DB version mismatch\n"
"\theader: %s\n\tlibrary: %s\n",
DB_VERSION_STRING, version);

519
configure vendored

File diff suppressed because it is too large Load Diff

View File

@ -1034,9 +1034,6 @@
/* define to support SQL backend */
#undef SLAPD_SQL
/* define for Dynamic Group overlay */
#undef SLAPD_OVER_CHAIN
/* define for Dynamic Group overlay */
#undef SLAPD_OVER_DENYOP