diff options
author | Fedor Indutny <fedor.indutny@gmail.com> | 2011-12-17 12:09:14 +0400 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2011-12-17 12:39:04 +0400 |
commit | a9f2c4aa307c3dc838d9ecb0fb4e241a42f4f2a1 (patch) | |
tree | c9f4326c33e5b83eb9121dd69f6642e45c30fa6c /configure | |
parent | e61de70c96bf3f45a836c2b5b280513f71f165f7 (diff) |
--without-npm option
Fixes #2353.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/configure b/configure index 48b5b9b18e9..1104c75d226 100755 --- a/configure +++ b/configure @@ -23,6 +23,11 @@ parser.add_option("--prefix", dest="prefix", help="Select the install prefix (defaults to /usr/local)") +parser.add_option("--without-npm", + action="store_true", + dest="without_npm", + help="Don\'t install the bundled npm package manager") + parser.add_option("--without-ssl", action="store_true", dest="without_ssl", @@ -162,6 +167,7 @@ def configure_node(o): o['variables']['node_debug'] = b(options.debug) o['variables']['node_prefix'] = options.prefix if options.prefix else '' o['variables']['node_use_dtrace'] = b(options.with_dtrace) + o['variables']['node_install_npm'] = b(not options.without_npm) o['variables']['host_arch'] = host_arch() o['variables']['target_arch'] = target_arch() |