From: Kurt Zeilenga Date: Mon, 28 May 2001 20:04:49 +0000 (+0000) Subject: Fix syntax error in mpool test X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~1379 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=d641cbf06f99e17aac030a70fe3956aca024e224;p=openldap Fix syntax error in mpool test --- diff --git a/build/openldap.m4 b/build/openldap.m4 index f47cdaaac3..bb5260d26d 100644 --- a/build/openldap.m4 +++ b/build/openldap.m4 @@ -315,14 +315,14 @@ AC_DEFUN([OL_BERKELEY_DB_THREAD], main() { int rc; - u_int32_t flags = DB_CREATE | DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL; - + u_int32_t flags = DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL | #ifdef DB_PRIVATE - flags |= DB_PRIVATE; + DB_PRIVATE | #endif #ifdef DB_MPOOL_PRIVATE - flags |= DB_MPOOL_PRIVATE; + DB_MPOOL_PRIVATE | #endif + DB_THREAD; #if DB_VERSION_MAJOR > 2 DB_ENV *env = NULL; diff --git a/configure b/configure index f00ae9acf4..111c262fc8 100755 --- a/configure +++ b/configure @@ -12719,14 +12719,14 @@ else main() { int rc; - u_int32_t flags = DB_CREATE | DB_THREAD | DB_INIT_CDB | DB_INIT_MPOOL; - + u_int32_t flags = DB_CREATE | DB_INIT_CDB | DB_INIT_MPOOL | #ifdef DB_PRIVATE - flags |= DB_PRIVATE; + DB_PRIVATE | #endif #ifdef DB_MPOOL_PRIVATE - flags |= DB_MPOOL_PRIVATE; + DB_MPOOL_PRIVATE | #endif + DB_THREAD; #if DB_VERSION_MAJOR > 2 DB_ENV *env = NULL;