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 #-------------------------------------------------------------------- Index: library/mongodb/configure.ac =================================================================== diff -u -r1c9684a6be93da0beb9e73d6ff02ed2b6f014c19 -r6e882219b3dd7703aeb3bb747abc47417a682ec9 --- library/mongodb/configure.ac (.../configure.ac) (revision 1c9684a6be93da0beb9e73d6ff02ed2b6f014c19) +++ library/mongodb/configure.ac (.../configure.ac) (revision 6e882219b3dd7703aeb3bb747abc47417a682ec9) @@ -59,7 +59,11 @@ AC_ARG_ENABLE([profile], AS_HELP_STRING([--enable-profile], [build nsf with profile support (default: disabled)]), [enable_profile=$enableval], [enable_profile=no]) +AC_ARG_ENABLE([assertions], + AS_HELP_STRING([--enable-assertions],[build nsf with assertion support (default: enabled)]), + [enable_assertions=$enableval], [enable_assertions=yes]) + #-------------------------------------------------------------------- # Load the tclConfig.sh file #--------------------------------------------------------------------