-AC_ARG_ENABLE(hsieh_hash,
- [ --enable-hsieh_hash build with support for hsieh hashing.],
- [
- if test "x$enableval" != "xno"; then
- ENABLE_HSIEH="true"
- AC_DEFINE([HAVE_HSIEH_HASH], [1], [Enables hsieh hashing support])
- else
- ENABLE_HSIEH="false"
- fi
- ],
- [
- ENABLE_HSIEH="false"
- ]
-)
+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])