diff options
author | Don Anderson <dda@ddanderson.com> | 2011-12-07 14:11:05 -0500 |
---|---|---|
committer | Don Anderson <dda@ddanderson.com> | 2011-12-07 14:11:05 -0500 |
commit | c50302fa072fe7741e97ba2b84f9da0cb160d002 (patch) | |
tree | 1a72cde60744b9bca597205510cb75b20f28516f /build_posix/aclocal | |
parent | 42e0fd9ef80207ff827d96258f50ea9f43d38e69 (diff) | |
download | mongo-c50302fa072fe7741e97ba2b84f9da0cb160d002.tar.gz |
Added a compressor adaptor for Google's snappy compressor. refs #58
Diffstat (limited to 'build_posix/aclocal')
-rw-r--r-- | build_posix/aclocal/options.m4 | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4 index 90718756972..fd5ae600877 100644 --- a/build_posix/aclocal/options.m4 +++ b/build_posix/aclocal/options.m4 @@ -60,6 +60,17 @@ esac AC_MSG_RESULT($wt_cv_enable_python) AM_CONDITIONAL(PYTHON, test x$wt_cv_enable_python = xyes) +AC_MSG_CHECKING(if --enable-snappy option specified) +AC_ARG_ENABLE(snappy, + [AC_HELP_STRING([--enable-snappy], + [Build the snappy compressor extension.])], r=$enableval, r=no) +case "$r" in +no) wt_cv_enable_snappy=no;; +*) wt_cv_enable_snappy=yes;; +esac +AC_MSG_RESULT($wt_cv_enable_snappy) +AM_CONDITIONAL([SNAPPY], [test x$wt_cv_enable_snappy = xyes]) + AH_TEMPLATE(HAVE_VERBOSE, [Define to 1 to support the Env.verbose_set method.]) AC_MSG_CHECKING(if --enable-verbose option specified) AC_ARG_ENABLE(verbose, |