Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
41c5a363
Commit
41c5a363
authored
22 years ago
by
Howard Chu
Browse files
Options
Downloads
Patches
Plain Diff
Require 2.1.3 or higher for Cyrus SASL 2
parent
fbe4785c
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/openldap.m4
+13
-0
13 additions, 0 deletions
build/openldap.m4
configure.in
+8
-0
8 additions, 0 deletions
configure.in
with
21 additions
and
0 deletions
build/openldap.m4
+
13
−
0
View file @
41c5a363
...
...
@@ -1183,3 +1183,16 @@ AC_DEFUN(OL_FUNC_GETHOSTBYADDR_R_NARGS,
fi
])dnl
dnl
dnl --------------------------------------------------------------------
dnl Check for Cyrus SASL version compatility, need 2.1.3 or newer
AC_DEFUN([OL_SASL2_COMPAT],
[AC_CACHE_CHECK([Cyrus SASL 2 library version], [ol_cv_sasl2_compat],[
AC_EGREP_CPP(__sasl2_version_compat,[
#include <sasl/sasl.h>
/* require 2.1.3 or later */
#if SASL_VERSION_MAJOR >= 2 && (SASL_VERSION_MINOR > 1 || SASL_VERSION_STEP > 2)
__sasl2_version_compat
#endif
], [ol_cv_sasl2_compat=yes], [ol_cv_sasl2_compat=no])])
])
This diff is collapsed.
Click to expand it.
configure.in
+
8
−
0
View file @
41c5a363
...
...
@@ -2169,6 +2169,14 @@ if test $ol_with_cyrus_sasl != no ; then
[ol_link_sasl="-lsasl"])])
fi
if test $ol_link_sasl = "-lsasl2"; then
OL_SASL2_COMPAT
if test $ol_cv_sasl2_compat = no ; then
ol_link_sasl=no
AC_MSG_ERROR(SASL: Cyrus SASL2 version obsolete)
fi
fi
if test $ol_link_sasl = no ; then
if test $ol_with_cyrus_sasl != auto ; then
AC_MSG_ERROR([Could not locate Cyrus SASL])
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment