mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-01-18 11:05:48 +08:00
Add basic detection for db3
This commit is contained in:
parent
8411a5319a
commit
fa38b2edc3
@ -265,7 +265,9 @@ AC_DEFUN([OL_BERKELEY_DB_TRY],
|
||||
#define NULL ((void*)0)
|
||||
#endif
|
||||
],[
|
||||
#if DB_VERSION_MAJOR > 1
|
||||
#if DB_VERSION_MAJOR > 2
|
||||
db_env_create( NULL, 0 );
|
||||
#elif DB_VERSION_MAJOR > 1
|
||||
db_appexit( NULL );
|
||||
#else
|
||||
(void) dbopen( NULL, 0, 0, 0, NULL);
|
||||
|
@ -1723,8 +1723,6 @@ if test $ol_with_ldbm_api = auto \
|
||||
fi
|
||||
fi
|
||||
|
||||
exit
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user