diff options
author | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-01 01:36:41 +0100 |
---|---|---|
committer | Ben Noordhuis <info@bnoordhuis.nl> | 2012-11-01 01:36:46 +0100 |
commit | 2f5fa089e9cf8eb6a077ea5f96c48f4685413d70 (patch) | |
tree | 492ac340006801084b46533e6d8e69370e6f2536 /configure | |
parent | 06810b29fae7c549c3a016f2faa3cf6b444a1149 (diff) | |
download | node-2f5fa089e9cf8eb6a077ea5f96c48f4685413d70.tar.gz |
build: add --systemtap-includes configure switch
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -99,6 +99,13 @@ parser.add_option("--openssl-libpath", dest="shared_openssl_libpath", 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", action="store_true", dest="no_ssl2", @@ -380,6 +387,8 @@ def configure_node(o): elif sys.platform.startswith('linux'): o['variables']['node_use_dtrace'] = 'false' 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': raise Exception( 'DTrace is currently only supported on SunOS or Linux systems.') |