~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to config/ac-macros/dtrace.m4

  • Committer: brian
  • Date: 2008-06-25 05:29:13 UTC
  • Revision ID: brian@localhost.localdomain-20080625052913-6upwo0jsrl4lnapl
clean slate

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