~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to m4/murmur.m4

Merging bzr://gaz.tangent.org/libmemcached/build/ to Build branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
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 ---------------------------------------------------------------------------