~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/dtrace.m4

  • Committer: Monty Taylor
  • Date: 2008-09-16 00:00:48 UTC
  • mto: This revision was merged to the branch mainline in revision 391.
  • Revision ID: monty@inaugust.com-20080916000048-3rvrv3gv9l0ad3gs
Fixed copyright headers in drizzled/

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([HAVE_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
18
 
dnl ---------------------------------------------------------------------------
19
 
dnl End Macro: DTRACE_TEST
20
 
dnl ---------------------------------------------------------------------------