mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-20 22:59:34 -05:00
Add basic detection for db3
This commit is contained in:
parent
8411a5319a
commit
fa38b2edc3
3 changed files with 278 additions and 260 deletions
|
|
@ -265,7 +265,9 @@ AC_DEFUN([OL_BERKELEY_DB_TRY],
|
||||||
#define NULL ((void*)0)
|
#define NULL ((void*)0)
|
||||||
#endif
|
#endif
|
||||||
],[
|
],[
|
||||||
#if DB_VERSION_MAJOR > 1
|
#if DB_VERSION_MAJOR > 2
|
||||||
|
db_env_create( NULL, 0 );
|
||||||
|
#elif DB_VERSION_MAJOR > 1
|
||||||
db_appexit( NULL );
|
db_appexit( NULL );
|
||||||
#else
|
#else
|
||||||
(void) dbopen( NULL, 0, 0, 0, NULL);
|
(void) dbopen( NULL, 0, 0, 0, NULL);
|
||||||
|
|
|
||||||
|
|
@ -1723,8 +1723,6 @@ if test $ol_with_ldbm_api = auto \
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit
|
|
||||||
|
|
||||||
if test $ol_link_ldbm = no -a $ol_with_ldbm_type = btree ; then
|
if test $ol_link_ldbm = no -a $ol_with_ldbm_type = btree ; then
|
||||||
AC_MSG_WARN(Could not find LDBM with BTREE support)
|
AC_MSG_WARN(Could not find LDBM with BTREE support)
|
||||||
ol_with_ldbm_api=none
|
ol_with_ldbm_api=none
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue