Index: library/mongodb/configure =================================================================== diff -u -r1c9684a6be93da0beb9e73d6ff02ed2b6f014c19 -r6e882219b3dd7703aeb3bb747abc47417a682ec9 --- library/mongodb/configure (.../configure) (revision 1c9684a6be93da0beb9e73d6ff02ed2b6f014c19) +++ library/mongodb/configure (.../configure) (revision 6e882219b3dd7703aeb3bb747abc47417a682ec9) @@ -736,6 +736,7 @@ with_nsf enable_development enable_profile +enable_assertions with_tcl with_tclinclude enable_threads @@ -1368,6 +1369,7 @@ --enable-development build nsf with development support (intensive runtime checking, etc.; default: disabled) --enable-profile build nsf with profile support (default: disabled) + --enable-assertions build nsf with assertion support (default: enabled) --enable-threads build with threads --enable-shared build and link with shared libraries (default: on) --enable-64bit enable 64bit support (default: off) @@ -2385,7 +2387,15 @@ enable_profile=no fi +# Check whether --enable-assertions was given. +if test "${enable_assertions+set}" = set; then : + enableval=$enable_assertions; enable_assertions=$enableval +else + enable_assertions=yes +fi + + #-------------------------------------------------------------------- # Load the tclConfig.sh file #--------------------------------------------------------------------