Permalink
Browse files

build: add --systemtap-includes configure switch

  • Loading branch information...
1 parent 06810b2 commit 2f5fa089e9cf8eb6a077ea5f96c48f4685413d70 @bnoordhuis bnoordhuis committed Nov 1, 2012
Showing with 9 additions and 0 deletions.
  1. +9 −0 configure
View
9 configure
@@ -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.')

0 comments on commit 2f5fa08

Please sign in to comment.