~brianaker/libmemcached/1164440

« back to all changes in this revision

Viewing changes to m4/hsieh.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_HSIEH_HASH
 
3
dnl ---------------------------------------------------------------------------
 
4
AC_DEFUN([ENABLE_HSIEH_HASH],
 
5
  [AC_ARG_ENABLE([hsieh_hash],
 
6
    [AS_HELP_STRING([--enable-hsieh_hash],
 
7
      [build with support for hsieh hashing. @<:@default=off@:>@])],
 
8
    [ac_cv_enable_hsieh_hash=yes],
 
9
    [ac_cv_enable_hsieh_hash=no])
 
10
 
 
11
  AS_IF([test "$ac_cv_enable_hsieh_hash" = "yes"],
 
12
        [AC_DEFINE([HAVE_HSIEH_HASH], [1], [Enables hsieh hashing support])])
 
13
 
 
14
  AM_CONDITIONAL([INCLUDE_HSIEH_SRC], [test "$ac_cv_enable_hsieh_hash" = "yes"])
 
15
])
 
16
dnl ---------------------------------------------------------------------------
 
17
dnl End Macro: ENABLE_HSIEH_HASH
 
18
dnl ---------------------------------------------------------------------------