~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/dtrace.m4

  • Committer: devananda
  • Date: 2009-07-03 15:14:47 UTC
  • mto: (1086.3.1 ascii-plugin)
  • mto: This revision was merged to the branch mainline in revision 1095.
  • Revision ID: devananda.vdv@gmail.com-20090703151447-7ryu38ua4a33h0xf
refactored functin/ascii into plugin/ascii

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 ---------------------------------------------------------------------------