Merge lp:~tangent-org/libmemcached/1.0-build/ Build: jenkins-Libmemcached-187
[m6w6/libmemcached] / m4 / fnv.m4
1 dnl ---------------------------------------------------------------------------
2 dnl Macro: ENABLE_FNV64_HASH
3 dnl ---------------------------------------------------------------------------
4 AC_DEFUN([ENABLE_FNV64_HASH],
5 [AC_ARG_ENABLE([fnv64_hash],
6 [AS_HELP_STRING([--disable-fnv64_hash],
7 [build with support for fnv64 hashing. @<:@default=on@:>@])],
8 [ac_cv_enable_fnv64_hash=no],
9 [ac_cv_enable_fnv64_hash=yes])
10
11 AS_IF([test "$ac_cv_enable_fnv64_hash" = "yes"],
12 [AC_DEFINE([HAVE_FNV64_HASH], [1], [Enables fnv64 hashing support])])
13 ])
14 dnl ---------------------------------------------------------------------------
15 dnl End Macro: ENABLE_FNV64_HASH
16 dnl ---------------------------------------------------------------------------