~drizzle-trunk/drizzle/development

1 by brian
clean slate
1
dnl ---------------------------------------------------------------------------
2
dnl Macro: DTRACE_TEST
3
dnl ---------------------------------------------------------------------------
28.1.39 by Monty Taylor
Made everything use AS_HELP_STRING (except for charsets, which are dying anyway)
4
AC_ARG_ENABLE([dtrace],
5
    [AS_HELP_STRING([--enable-dtrace],
6
            [Build with support for the DTRACE. @<:@default=off@:>@])],
520.4.43 by mordred
A set of Solaris fixes.
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
632.1.25 by Monty Taylor
Removed AM_CONDITIONAL from SEARCH_FOR_LIB. Aligned naming of AM_CONDITIONALS.
17
AM_CONDITIONAL([BUILD_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
1 by brian
clean slate
18
dnl ---------------------------------------------------------------------------
19
dnl End Macro: DTRACE_TEST
20
dnl ---------------------------------------------------------------------------