diff options
author | Alex Gorrod <alexg@wiredtiger.com> | 2014-05-05 18:51:18 +1000 |
---|---|---|
committer | Alex Gorrod <alexg@wiredtiger.com> | 2014-05-05 18:51:18 +1000 |
commit | f48b2c7632f6f9c4724fc801b56806f89a6930d0 (patch) | |
tree | 41865dcae58a2a0c5f980ed26d8cb177e8849c8f /build_posix | |
parent | 73ba5f22777d9deff3f8a7c6999b0e5c27be5572 (diff) | |
download | mongo-f48b2c7632f6f9c4724fc801b56806f89a6930d0.tar.gz |
Add --enable-verbose option, disabled by default.
Still need to update the documentation.
Diffstat (limited to 'build_posix')
-rw-r--r-- | build_posix/aclocal/options.m4 | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4 index e215c31c27a..109db29f854 100644 --- a/build_posix/aclocal/options.m4 +++ b/build_posix/aclocal/options.m4 @@ -112,6 +112,18 @@ pthread_logging|pthreads_logging) esac AC_MSG_RESULT($with_spinlock) +AH_TEMPLATE(HAVE_VERBOSE, [Enable verbose message output.]) +AC_MSG_CHECKING(if --enable-verbose option specified) +AC_ARG_ENABLE(verbose, + [AS_HELP_STRING([--enable-verbose], + [Enable verbose message flags.])], r=$enableval, r=no) +case "$r" in +no) wt_cv_enable_verbose=no;; +*) AC_DEFINE(HAVE_VERBOSE) + wt_cv_enable_verbose=yes;; +esac +AC_MSG_RESULT($wt_cv_enable_verbose) + AC_MSG_CHECKING(if --enable-zlib option specified) AC_ARG_ENABLE(zlib, [AS_HELP_STRING([--enable-zlib], |