]> git.sur5r.net Git - openldap/commitdiff
Fix syntax error in mpool test
authorKurt Zeilenga <kurt@openldap.org>
Mon, 28 May 2001 20:04:49 +0000 (20:04 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 28 May 2001 20:04:49 +0000 (20:04 +0000)
build/openldap.m4
configure

index f47cdaaac343e0ec7cf9a878354a4ba018cd673b..bb5260d26d8019e3537efa15ab28e9cc587c33ed 100644 (file)
@@ -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;
index f00ae9acf46fee8dfa6d5390633b95ad94110a47..111c262fc80c7c00b95f0163c385cf0753a78e91 100755 (executable)
--- 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;