~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/dtrace.m4

  • Committer: Brian Aker
  • Date: 2009-02-21 00:18:15 UTC
  • Revision ID: brian@tangent.org-20090221001815-x20e8h71e984lvs1
Completion (?) of uint conversion.

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
dnl ---------------------------------------------------------------------------
 
2
dnl Macro: DTRACE_TEST
 
3
dnl ---------------------------------------------------------------------------
 
4
AC_ARG_ENABLE([dtrace],
 
5
    [AS_HELP_STRING([--enable-dtrace],
 
6
            [Build with support for the DTRACE. @<:@default=off@:>@])],
 
7
    [ENABLE_DTRACE="yes"],
 
8
    [ENABLE_DTRACE="no"])
 
9
 
 
10
if test "$ENABLE_DTRACE" = "yes"
 
11
then
 
12
  AC_DEFINE([HAVE_DTRACE], [1], [Enables DTRACE Support])
 
13
  AC_CHECK_PROGS(DTRACE, dtrace)
 
14
  AC_SUBST(DTRACEFLAGS)
 
15
  AC_SUBST(HAVE_DTRACE)
 
16
fi
 
17
AM_CONDITIONAL([BUILD_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
 
18
dnl ---------------------------------------------------------------------------
 
19
dnl End Macro: DTRACE_TEST
 
20
dnl ---------------------------------------------------------------------------