Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
James Lowden
OpenLDAP
Commits
9a34ebab
Commit
9a34ebab
authored
23 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Hack to allow --enable-bdb --disable-ldbm, needs more work.
parent
3f0917e5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
configure
+711
-680
711 additions, 680 deletions
configure
configure.in
+34
-3
34 additions, 3 deletions
configure.in
with
745 additions
and
683 deletions
configure
+
711
−
680
View file @
9a34ebab
This diff is collapsed.
Click to expand it.
configure.in
+
34
−
3
View file @
9a34ebab
...
...
@@ -382,13 +382,23 @@ elif test $ol_enable_ldbm = no ; then
$ol_enable_shell = no -a \
$ol_enable_sql = no -a \
$ol_enable_tcl = no ; then
AC_MSG_ERROR([slapd requires a backend])
if test $ol_enable_slapd = yes ; then
AC_MSG_ERROR([slapd requires a backend])
else
AC_MSG_WARN([skipping slapd, no backend specified])
ol_enable_slapd=no
fi
fi
ol_with_ldbm_api=no
ol_with_ldbm_type=no
ol_with_ldbm_module=static
if test $ol_enable_bdb != no ; then
ol_with_ldbm_api=berkeley
fi
else
dnl SLAPD with LDBM
if test $ol_with_ldbm_api = gdbm -a \
...
...
@@ -403,6 +413,21 @@ else
$ol_with_ldbm_type = btree ; then
AC_MSG_ERROR([NDBM only supports LDBM type hash])
fi
if test $ol_enable_bdb = yes ; then
if test $ol_with_ldbm_api = auto ; then
ol_with_ldbm_api=berkeley
elif test $ol_with_ldbm_api != berkeley ; then
AC_MSG_ERROR([LDBM API not compatible with BDB])
fi
elif test $ol_enable_bdb = auto ; then
if test $ol_with_ldbm_api != berkeley \
-o $ol_with_ldbm_api != auto ; then
AC_MSG_WARN([LDBM API not compatible with BDB, disabling BDB])
ol_enable_bdb=no
fi
fi
fi
if test $ol_enable_slurpd = yes ; then
...
...
@@ -1752,7 +1777,7 @@ if test $ol_with_ldbm_api = auto \
[define this if Berkeley DB is available])
ol_link_ldbm=berkeley
ol_with_ldbm_api=
d
b
ol_with_ldbm_api=b
erkeley
if test $ol_with_ldbm_type = hash ; then
AC_DEFINE(LDBM_USE_DBHASH,1,
...
...
@@ -1770,6 +1795,12 @@ if test $ol_with_ldbm_api = auto \
fi
fi
if test $ol_enable_bdb = yes -a $ol_link_ldbm != berkeley ; then
AC_MSG_ERROR(BerkeleyDB not availabl)
elif test $ol_enable_bdb != no -a $ol_link_ldbm != no ; then
ol_enable_bdb=yes
fi
if test $ol_link_ldbm = no -a $ol_with_ldbm_type = btree ; then
AC_MSG_WARN(Could not find LDBM with BTREE support)
ol_with_ldbm_api=none
...
...
@@ -2361,7 +2392,7 @@ if test "$ol_enable_ldap" != no ; then
fi
fi
if test "$ol_link_ldbm" != no ; then
if test "$ol_link_ldbm" != no
-a $ol_enable_ldbm != no
; then
AC_DEFINE(SLAPD_LDBM,1,[define to support LDBM backend])
BUILD_SLAPD=yes
BUILD_LDBM=yes
...
...
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