diff --git a/ChangeLog b/ChangeLog index 182177c57c..6b2eb6d7e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +Tue Jan 5 02:03:34 2010 NARUSE, Yui + + * configure.in (DTRACE): clear this when `dtrace -l` fails. + Note that current FreeBSD needs privilege to call it; + so to use DTrace on FreeBSD, you should run configure as root. + Mon Jan 4 21:24:18 2010 Yuki Sonoda (Yugui) * gc.c: added UNLIKELY to probes for optimization. diff --git a/configure.in b/configure.in index a092717b6f..c18f95da5d 100644 --- a/configure.in +++ b/configure.in @@ -401,6 +401,7 @@ EOF ]) AC_CHECK_TOOL(DTRACE, dtrace) +$DTRACE -l 1>/dev/null 2>/dev/null || DTRACE="" AC_CHECK_TOOL(DOT, dot) AC_CHECK_TOOL(DOXYGEN, doxygen)