]> git.sur5r.net Git - openldap/blobdiff - build/openldap.m4
Sync with HEAD
[openldap] / build / openldap.m4
index 1cf676e44214131fa40205ea96b8a31ab45dac1e..5e1c8cbb4239573984b6aeec1037795b9f4433ed 100644 (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);