Skip to content

Commit 3c518b7

Browse files
committed
* 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26240 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent 67a3c59 commit 3c518b7

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

ChangeLog

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
1+
Tue Jan 5 02:03:34 2010 NARUSE, Yui <[email protected]>
2+
3+
* configure.in (DTRACE): clear this when `dtrace -l` fails.
4+
Note that current FreeBSD needs privilege to call it;
5+
so to use DTrace on FreeBSD, you should run configure as root.
6+
17
Mon Jan 4 21:24:18 2010 Yuki Sonoda (Yugui) <[email protected]>
28

39
* gc.c: added UNLIKELY to probes for optimization.

configure.in

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -401,6 +401,7 @@ EOF
401401
])
402402

403403
AC_CHECK_TOOL(DTRACE, dtrace)
404+
$DTRACE -l 1>/dev/null 2>/dev/null || DTRACE=""
404405

405406
AC_CHECK_TOOL(DOT, dot)
406407
AC_CHECK_TOOL(DOXYGEN, doxygen)

0 commit comments

Comments
 (0)