configure: allow --with-dtrace on freebsd
authorFedor Indutny <fedor.indutny@gmail.com>
Thu, 20 Feb 2014 17:00:29 +0000 (21:00 +0400)
committerFedor Indutny <fedor.indutny@gmail.com>
Thu, 20 Feb 2014 20:46:26 +0000 (00:46 +0400)
configure

index 72c3c5f..a55d8c9 100755 (executable)
--- a/configure
+++ b/configure
@@ -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)