New version update
[m6w6/libmemcached] / config / dtrace.m4
1 dnl ---------------------------------------------------------------------------
2 dnl Macro: DTRACE_TEST
3 dnl ---------------------------------------------------------------------------
4 AC_ARG_ENABLE(dtrace,
5 [ --enable-dtrace Build with support for the DTRACE.],
6 [
7 AC_DEFINE([HAVE_DTRACE], [1], [Enables DTRACE Support])
8 AC_CHECK_PROGS(DTRACE, dtrace)
9 ENABLE_DTRACE="yes"
10 AC_SUBST(DTRACEFLAGS)
11 AC_SUBST(HAVE_DTRACE)
12 ],
13 [
14 ENABLE_DTRACE="no"
15 ]
16 )
17 AM_CONDITIONAL([HAVE_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
18 dnl ---------------------------------------------------------------------------
19 dnl End Macro: DTRACE_TEST
20 dnl ---------------------------------------------------------------------------