mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-28 18:49:34 -05:00
Fix AC_CACHE_CHECK bug in DB_THREAD detection.
This commit is contained in:
parent
873a6802ab
commit
6853b62a45
2 changed files with 234 additions and 232 deletions
|
|
@ -401,12 +401,13 @@ main()
|
|||
[ol_cv_berkeley_db_thread=cross])
|
||||
|
||||
LIBS="$ol_LIBS"
|
||||
])
|
||||
|
||||
if test $ol_cv_berkeley_db_thread != no ; then
|
||||
AC_DEFINE(HAVE_BERKELEY_DB_THREAD, 1,
|
||||
[define if Berkeley DB has DB_THREAD support])
|
||||
fi
|
||||
])])dnl
|
||||
])dnl
|
||||
dnl
|
||||
dnl --------------------------------------------------------------------
|
||||
dnl Find any DB
|
||||
|
|
@ -437,7 +438,7 @@ AC_DEFUN([OL_BDB_COMPAT],
|
|||
#if DB_VERSION_MAJOR >= 4
|
||||
__db_version_compat
|
||||
#endif
|
||||
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
|
||||
], [ol_cv_bdb_compat=yes], [ol_cv_bdb_compat=no])])
|
||||
])
|
||||
|
||||
dnl --------------------------------------------------------------------
|
||||
|
|
|
|||
Loading…
Reference in a new issue