Navigation Menu

Skip to content

Commit

Permalink
Disable DTrace by default
Browse files Browse the repository at this point in the history
It is needed on Mac OS X.
  • Loading branch information
kou committed Feb 18, 2013
1 parent 9db6c3d commit 48db5dd
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure.ac
Expand Up @@ -273,6 +273,15 @@ if test "$enable_fast_mutexes" = "no"; then
[Define to 1 if force fast mutext disabled])
fi

AC_ARG_ENABLE(dtrace,
[AC_HELP_STRING([--enable-dtrace],
[Enable DTrace. [default: no]])],
[enable_dtrace=$enableval],
[enable_dtrace=no])
if test "$enable_dtrace" = "no"; then
AC_DEFINE(DISABLE_DTRACE, [1], [Define to 1 if DTrace is disabled])
fi

# check Cutter with C++ support if available
REQUIRED_MINIMUM_CUTTER_VERSION=1.1.3
m4_ifdef([AC_CHECK_CPPCUTTER], [
Expand Down

0 comments on commit 48db5dd

Please sign in to comment.