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])
11
AS_IF([test "$ac_cv_enable_hsieh_hash" = "yes"],
12
[AC_DEFINE([HAVE_HSIEH_HASH], [1], [Enables hsieh hashing support])])
14
AM_CONDITIONAL([INCLUDE_HSIEH_SRC], [test "$ac_cv_enable_hsieh_hash" = "yes"])
16
dnl ---------------------------------------------------------------------------
17
dnl End Macro: ENABLE_HSIEH_HASH
18
dnl ---------------------------------------------------------------------------