From: Brian Aker Date: Fri, 28 Sep 2007 23:46:08 +0000 (-0700) Subject: Adding miissing file X-Git-Tag: 0.3~15 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=eaf02380bad52c3c5dacdfd81b73e95a44ad68b1;p=m6w6%2Flibmemcached Adding miissing file --- diff --git a/config/dtrace.m4 b/config/dtrace.m4 new file mode 100644 index 00000000..af27ed49 --- /dev/null +++ b/config/dtrace.m4 @@ -0,0 +1,20 @@ +dnl --------------------------------------------------------------------------- +dnl Macro: DTRACE_TEST +dnl --------------------------------------------------------------------------- +AC_ARG_ENABLE(dtrace, + [ --enable-dtrace Build with support for the DTRACE.], + [ + AC_DEFINE([HAVE_DTRACE], [1], [Enables DTRACE Support]) + AC_CHECK_PROGS(DTRACE, dtrace) + ENABLE_DTRACE="yes" + AC_SUBST(DTRACEFLAGS) + AC_SUBST(HAVE_DTRACE) + ], + [ + ENABLE_DTRACE="no" + ] + ) +AM_CONDITIONAL([HAVE_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ]) +dnl --------------------------------------------------------------------------- +dnl End Macro: DTRACE_TEST +dnl ---------------------------------------------------------------------------