1 dnl ---------------------------------------------------------------------------
3 dnl ---------------------------------------------------------------------------
4 AC_DEFUN([ENABLE_DEPRECATED],[
5 AC_ARG_ENABLE([deprecated],
6 [AS_HELP_STRING([--enable-deprecated],
7 [Enable deprecated interface @<:@default=off@:>@])],
8 [ac_enable_deprecated="$enableval"],
9 [ac_enable_deprecated="no"])
11 AS_IF([test "$ac_enable_deprecated" = "yes"],
12 [DEPRECATED="#define MEMCACHED_ENABLE_DEPRECATED 1"])
13 AC_SUBST([DEPRECATED])
15 dnl ---------------------------------------------------------------------------
16 dnl End Macro: deprecated
17 dnl ---------------------------------------------------------------------------