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
Nadezhda Ivanova
OpenLDAP
Commits
376c7947
Commit
376c7947
authored
Jul 02, 2014
by
Howard Chu
Browse files
Disallow BDB 6.0.20+
parent
cf193ce0
Changes
2
Hide whitespace changes
Inline
Side-by-side
build/openldap.m4
View file @
376c7947
...
...
@@ -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])])
])
...
...
configure
View file @
376c7947
#! /bin/sh
# From configure.in Id:
84bfc8afb7ab27da80a7fcd61c212e89ba29ed41
.
# From configure.in Id:
3d546aabd5e37f6f65888b8b00e64e309577f719
.
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.65.
#
...
...
@@ -15642,7 +15642,7 @@ done
cat confdefs.h - <<_ACEOF >conftest.$ac_ext
/* end confdefs.h. */
#include <gnutls/gnutls.h>
#if GNUTLS_VERSION_NUMBER < 0x020
d
00
#if GNUTLS_VERSION_NUMBER < 0x020
c
00
#error "GnuTLS 2.12.0 or newer required"
#endif
_ACEOF
...
...
@@ -20378,13 +20378,19 @@ else
#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
_ACEOF
if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
...
...
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