~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/dtrace.m4

  • Committer: Brian Aker
  • Date: 2008-11-04 15:39:09 UTC
  • mfrom: (575.1.2 devel)
  • Revision ID: brian@tangent.org-20081104153909-c72hn65udxs1ccal
Merge of Monty's work

Show diffs side-by-side

added added

removed removed

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