Adding miissing file
authorBrian Aker <brian@tangent.org>
Fri, 28 Sep 2007 23:46:08 +0000 (16:46 -0700)
committerBrian Aker <brian@tangent.org>
Fri, 28 Sep 2007 23:46:08 +0000 (16:46 -0700)
config/dtrace.m4 [new file with mode: 0644]

diff --git a/config/dtrace.m4 b/config/dtrace.m4
new file mode 100644 (file)
index 0000000..af27ed4
--- /dev/null
@@ -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 ---------------------------------------------------------------------------