Revision 148f5e65
configure | ||
---|---|---|
134 | 134 |
parser.add_option("--with-dtrace", |
135 | 135 |
action="store_true", |
136 | 136 |
dest="with_dtrace", |
137 |
help="Build with DTrace (default is true on supported systems)")
|
|
137 |
help="Build with DTrace (default is true on sunos)")
|
|
138 | 138 |
|
139 | 139 |
parser.add_option("--without-dtrace", |
140 | 140 |
action="store_true", |
... | ... | |
386 | 386 |
o['variables']['node_use_dtrace'] = b(not options.without_dtrace) |
387 | 387 |
elif sys.platform.startswith('linux'): |
388 | 388 |
o['variables']['node_use_dtrace'] = 'false' |
389 |
o['variables']['node_use_systemtap'] = b(not options.without_dtrace)
|
|
389 |
o['variables']['node_use_systemtap'] = b(options.with_dtrace)
|
|
390 | 390 |
if options.systemtap_includes: |
391 | 391 |
o['include_dirs'] += [options.systemtap_includes] |
392 | 392 |
elif b(options.with_dtrace) == 'true': |
... | ... | |
394 | 394 |
'DTrace is currently only supported on SunOS or Linux systems.') |
395 | 395 |
else: |
396 | 396 |
o['variables']['node_use_dtrace'] = 'false' |
397 |
o['variables']['node_use_systemtap'] = 'false' |
|
397 | 398 |
|
398 | 399 |
if options.no_ifaddrs: |
399 | 400 |
o['defines'] += ['SUNOS_NO_IFADDRS'] |
Also available in: Unified diff