~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@:>@])],
1 by brian
clean slate
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
    )
18
AM_CONDITIONAL([HAVE_DTRACE], [ test "$ENABLE_DTRACE" = "yes" ])
19
dnl ---------------------------------------------------------------------------
20
dnl End Macro: DTRACE_TEST
21
dnl ---------------------------------------------------------------------------