Merge Monty
[m6w6/libmemcached] / m4 / deprecated.m4
1 dnl ---------------------------------------------------------------------------
2 dnl Macro: deprecated
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"])
10
11 AS_IF([test "$ac_enable_deprecated" = "yes"],
12 [DEPRECATED="#define MEMCACHED_ENABLE_DEPRECATED 1"])
13 AC_SUBST([DEPRECATED])
14 ])
15 dnl ---------------------------------------------------------------------------
16 dnl End Macro: deprecated
17 dnl ---------------------------------------------------------------------------