File: hsieh.m4

package info (click to toggle)
libmemcached 1.0.8-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 7,912 kB
  • sloc: cpp: 39,309; ansic: 18,449; sh: 11,864; python: 603; yacc: 437; lex: 195; makefile: 116
file content (18 lines) | stat: -rw-r--r-- 839 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
dnl ---------------------------------------------------------------------------
dnl Macro: ENABLE_HSIEH_HASH
dnl ---------------------------------------------------------------------------
AC_DEFUN([ENABLE_HSIEH_HASH],
  [AC_ARG_ENABLE([hsieh_hash],
    [AS_HELP_STRING([--enable-hsieh_hash],
      [build with support for hsieh hashing. @<:@default=off@:>@])],
    [ac_cv_enable_hsieh_hash=yes],
    [ac_cv_enable_hsieh_hash=no])

  AS_IF([test "$ac_cv_enable_hsieh_hash" = "yes"],
        [AC_DEFINE([HAVE_HSIEH_HASH], [1], [Enables hsieh hashing support])])

  AM_CONDITIONAL([INCLUDE_HSIEH_SRC], [test "$ac_cv_enable_hsieh_hash" = "yes"])
])
dnl ---------------------------------------------------------------------------
dnl End Macro: ENABLE_HSIEH_HASH
dnl ---------------------------------------------------------------------------