~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to m4/dtrace.m4

  • Committer: mordred
  • Date: 2008-11-01 08:40:42 UTC
  • mto: (575.1.1 devel)
  • mto: This revision was merged to the branch mainline in revision 573.
  • Revision ID: mordred@opensolaris-20081101084042-wu2211vwfr8tmvzg
A set of Solaris fixes.

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_DEFINE([_DTRACE_VERSION], [1], [DTRACE Version to Use])
10
 
      AC_CHECK_PROGS(DTRACE, dtrace)
11
 
      ENABLE_DTRACE="yes" 
12
 
      AC_SUBST(DTRACEFLAGS)
13
 
      AC_SUBST(HAVE_DTRACE)
14
 
    ],
15
 
    [
16
 
      ENABLE_DTRACE="no" 
17
 
      AC_DEFINE([_DTRACE_VERSION], [0])
18
 
    ]
19
 
    )
 
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
20
17
AM_CONDITIONAL([HAVE_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
21
18
dnl ---------------------------------------------------------------------------
22
19
dnl End Macro: DTRACE_TEST