configure: allow --with-dtrace on freebsd

pull/24998/head
Fedor Indutny 2014-02-20 21:00:29 +04:00
parent b940e0fd86
commit b7776fb192
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -491,6 +491,8 @@ def configure_node(o):
# SunOS, and we haven't implemented it.)
if flavor in ('solaris', 'mac'):
o['variables']['node_use_dtrace'] = b(not options.without_dtrace)
elif flavor == 'freebsd':
o['variables']['node_use_dtrace'] = b(options.with_dtrace)
elif flavor == 'linux':
o['variables']['node_use_dtrace'] = 'false'
o['variables']['node_use_systemtap'] = b(options.with_dtrace)