mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-06-11 09:40:11 -04:00
Allow using real db1 on glibc 2.1 instead of the db1 compatiblity in db2.
This commit is contained in:
parent
201e423389
commit
f323caf25f
1 changed files with 3 additions and 1 deletions
|
|
@ -156,7 +156,9 @@ AC_DEFUN([OL_LIB_BERKELEY_DB],
|
|||
[AC_CACHE_CHECK([for Berkeley DB library], [ol_cv_lib_db],
|
||||
[ ol_LIBS="$LIBS"
|
||||
AC_CHECK_FUNC(dbopen,[ol_cv_lib_db=yes], [
|
||||
AC_CHECK_LIB(db,dbopen,[ol_cv_lib_db=-ldb],[ol_cv_lib_db=no])
|
||||
AC_CHECK_LIB(db1,dbopen,[ol_cv_lib_db=-ldb1],[
|
||||
AC_CHECK_LIB(db,dbopen,[ol_cv_lib_db=-ldb],[ol_cv_lib_db=no])
|
||||
])
|
||||
])
|
||||
LIBS="$ol_LIBS"
|
||||
])
|
||||
|
|
|
|||
Loading…
Reference in a new issue