Browse Source

build: add --systemtap-includes configure switch

v0.9.4-release
Ben Noordhuis 12 years ago
parent
commit
2f5fa089e9
  1. 9
      configure

9
configure

@ -99,6 +99,13 @@ parser.add_option("--openssl-libpath",
dest="shared_openssl_libpath", dest="shared_openssl_libpath",
help=optparse.SUPPRESS_HELP) help=optparse.SUPPRESS_HELP)
# TODO document when we've decided on what the tracing API and its options will
# look like
parser.add_option("--systemtap-includes",
action="store",
dest="systemtap_includes",
help=optparse.SUPPRESS_HELP)
parser.add_option("--no-ssl2", parser.add_option("--no-ssl2",
action="store_true", action="store_true",
dest="no_ssl2", dest="no_ssl2",
@ -380,6 +387,8 @@ def configure_node(o):
elif sys.platform.startswith('linux'): elif sys.platform.startswith('linux'):
o['variables']['node_use_dtrace'] = 'false' o['variables']['node_use_dtrace'] = 'false'
o['variables']['node_use_systemtap'] = b(not options.without_dtrace) o['variables']['node_use_systemtap'] = b(not options.without_dtrace)
if options.systemtap_includes:
o['include_dirs'] += [options.systemtap_includes]
elif b(options.with_dtrace) == 'true': elif b(options.with_dtrace) == 'true':
raise Exception( raise Exception(
'DTrace is currently only supported on SunOS or Linux systems.') 'DTrace is currently only supported on SunOS or Linux systems.')

Loading…
Cancel
Save