- dnl Determine whether or not to use BDB Concurrent Data Store
- AC_MSG_CHECKING([whether or not to use BDB Concurrent Data Store])
- AC_ARG_WITH(cnid-cdb-backend,
- [ --with-cnid-cdb-backend build CNID with Concurrent BDB Data Store],[
- if test x"$withval" = x"no"; then
- use_cdb_backend=no
- else
- use_cdb_backend=yes
- fi
- ],[use_cdb_backend=no]
- )
-
- if test $use_cdb_backend = yes; then
- AC_MSG_RESULT([yes])
- AC_DEFINE(CNID_BACKEND_CDB, 1, [Define if CNID Concurrent BDB backend should be compiled.])
- DEFAULT_CNID_SCHEME=cdb
- bdb_required=yes
- compiled_backends="$compiled_backends cdb"
- else
- AC_MSG_RESULT([no])
- fi
- AM_CONDITIONAL(USE_CDB_BACKEND, test x"$use_cdb_backend" = x"yes")
-