Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
openldap
OpenLDAP
Commits
9869e1c5
Commit
9869e1c5
authored
Jul 22, 2014
by
Quanah Gibson-Mount
Browse files
ITS
#7890
Drop support for BDB 6.0.20 and later, incompatible license
parent
f9a30c44
Changes
1
Hide whitespace changes
Inline
Side-by-side
build/openldap.m4
View file @
9869e1c5
...
...
@@ -547,12 +547,18 @@ AC_DEFUN([OL_BDB_COMPAT],
#ifndef DB_VERSION_MINOR
# define DB_VERSION_MINOR 0
#endif
#ifndef DB_VERSION_PATCH
# define DB_VERSION_PATCH 0
#endif
#define DB_VERSION_
MM
((DB_VERSION_MAJOR<<
8
)|DB_VERSION_MINOR)
#define DB_VERSION_
FULL
((DB_VERSION_MAJOR<<
16
)|
(
DB_VERSION_MINOR
<<8)|DB_VERSION_PATCH
)
/* require 4.4 or later */
#if DB_VERSION_
MM
>= 0x0404
/* require 4.4 or later
, but less than 6.0.20
*/
#if DB_VERSION_
FULL
>= 0x0404
00 && DB_VERSION_FULL < 0x060014
__db_version_compat
#endif
#if DB_VERSION_FULL >= 0x060014
#error "BerkeleyDB 6.0.20+ license is incompatible with LDAP"
#endif
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
])
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment