Skip to content

Commit

Permalink
build: add --systemtap-includes configure switch
Browse files Browse the repository at this point in the history
  • Loading branch information
bnoordhuis committed Nov 1, 2012
1 parent 06810b2 commit 2f5fa08
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions configure
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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.')
Expand Down

0 comments on commit 2f5fa08

Please sign in to comment.