~drizzle-trunk/drizzle/development

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
dnl ---------------------------------------------------------------------------
dnl Macro: DTRACE_TEST
dnl ---------------------------------------------------------------------------
AC_ARG_ENABLE([dtrace],
    [AS_HELP_STRING([--enable-dtrace],
            [Build with support for the DTRACE. @<:@default=off@:>@])],
    [ENABLE_DTRACE="yes"],
    [ENABLE_DTRACE="no"])

if test "$ENABLE_DTRACE" = "yes"
then
  AC_DEFINE([HAVE_DTRACE], [1], [Enables DTRACE Support])
  AC_CHECK_PROGS(DTRACE, dtrace)
  AC_SUBST(DTRACEFLAGS)
  AC_SUBST(HAVE_DTRACE)
fi
AM_CONDITIONAL([BUILD_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
dnl ---------------------------------------------------------------------------
dnl End Macro: DTRACE_TEST
dnl ---------------------------------------------------------------------------