summaryrefslogtreecommitdiff
path: root/build_posix
diff options
context:
space:
mode:
authorKeith Bostic <keith@wiredtiger.com>2015-05-04 12:46:11 -0400
committerKeith Bostic <keith@wiredtiger.com>2015-05-04 12:46:11 -0400
commit4f9c5ec385580c1a7d8762d240672e27dda1baf9 (patch)
treeed0e78ea6ec33d57c07a4a1114730dd485befa6c /build_posix
parent7b5c155b2c718f92e79caa1bbf99516ee8f71744 (diff)
downloadmongo-4f9c5ec385580c1a7d8762d240672e27dda1baf9.tar.gz
LZ4 support requires a library that includes the LZ4_compress_destSize
function.
Diffstat (limited to 'build_posix')
-rw-r--r--build_posix/aclocal/options.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/build_posix/aclocal/options.m4 b/build_posix/aclocal/options.m4
index d2cdbf65dce..01d08ce3d16 100644
--- a/build_posix/aclocal/options.m4
+++ b/build_posix/aclocal/options.m4
@@ -197,8 +197,8 @@ if test "$wt_cv_enable_lz4" = "yes"; then
AC_CHECK_HEADER(lz4.h,,
[AC_MSG_ERROR([--enable-lz4 requires lz4.h])])
AC_LANG_POP([C++])
- AC_CHECK_LIB(lz4, LZ4_compress,,
- [AC_MSG_ERROR([--enable-lz4 requires lz4 library])])
+ AC_CHECK_LIB(lz4, LZ4_compress_destSize,,
+ [AC_MSG_ERROR([--enable-lz4 requires lz4 library with LZ4_compress_destSize support])])
fi
AM_CONDITIONAL([LZ4], [test "$wt_cv_enable_lz4" = "yes"])