Merging bzr://localhost/libmemcached/994772 to Build branch
[m6w6/libmemcached] / m4 / murmur.m4
1 dnl ---------------------------------------------------------------------------
2 dnl Macro: ENABLE_MURMUR_HASH
3 dnl ---------------------------------------------------------------------------
4 AC_DEFUN([ENABLE_MURMUR_HASH],
5 [AC_ARG_ENABLE([murmur_hash],
6 [AS_HELP_STRING([--disable-murmur_hash],
7 [build with support for murmur hashing. @<:@default=on@:>@])],
8 [ac_cv_enable_murmur_hash=no],
9 [ac_cv_enable_murmur_hash=yes])
10
11 AS_IF([test "$ac_cv_enable_murmur_hash" = "yes"],
12 [AC_DEFINE([HAVE_MURMUR_HASH], [1], [Enables murmur hashing support])])
13
14 AM_CONDITIONAL([INCLUDE_MURMUR_SRC], [test "$ac_cv_enable_murmur_hash" = "yes"])
15 ])
16 dnl ---------------------------------------------------------------------------
17 dnl End Macro: ENABLE_MURMUR_HASH
18 dnl ---------------------------------------------------------------------------