+
+ if test $ol_enable_bdb = yes ; then
+ if test $ol_with_ldbm_api = auto ; then
+ ol_with_ldbm_api=berkeley
+ elif test $ol_with_ldbm_api != berkeley ; then
+ AC_MSG_ERROR([LDBM API not compatible with BDB])
+ fi
+
+ elif test $ol_enable_bdb = auto ; then
+ if test $ol_with_ldbm_api != berkeley \
+ -o $ol_with_ldbm_api != auto ; then
+ AC_MSG_WARN([LDBM API not compatible with BDB, disabling BDB])
+ ol_enable_bdb=no
+ fi
+ fi