Add basic detection for db3

This commit is contained in:
Kurt Zeilenga 2000-05-25 21:09:10 +00:00
parent 8411a5319a
commit fa38b2edc3
3 changed files with 278 additions and 260 deletions

View file

@ -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);

532
configure vendored

File diff suppressed because it is too large Load diff

View file

@ -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