aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorlloyd <[email protected]>2014-12-06 14:52:09 +0000
committerlloyd <[email protected]>2014-12-06 14:52:09 +0000
commit8a166c6a74e8818442fefcc452fdcf7752a0f239 (patch)
tree86129286ee69c493f7be01b6d91e063fdfb7dd8d
parente5a3c2d7177d5fcea980d5862b648b08f58662ef (diff)
Add --with-everything option
-rwxr-xr-xconfigure.py8
1 files changed, 7 insertions, 1 deletions
diff --git a/configure.py b/configure.py
index cc51d2a22..f850b2a51 100755
--- a/configure.py
+++ b/configure.py
@@ -400,6 +400,9 @@ def process_command_line(args):
const=mod,
dest='disabled_modules')
+ mods_group.add_option('--with-everything', help=optparse.SUPPRESS_HELP,
+ action='store_true', default=False)
+
install_group = optparse.OptionGroup(parser, 'Installation options')
install_group.add_option('--program-suffix', metavar='SUFFIX',
@@ -1388,7 +1391,10 @@ def choose_modules_to_use(modules, archinfo, ccinfo, options):
if module.load_on == 'never':
cannot_use_because(modname, 'disabled as buggy')
elif module.load_on == 'request':
- cannot_use_because(modname, 'by request only')
+ if options.with_everything:
+ to_load.append(modname)
+ else:
+ cannot_use_because(modname, 'by request only')
elif module.load_on == 'dep':
maybe_dep.append(modname)