diff options
author | John Wiegley <johnw@newartisans.com> | 2010-05-22 21:46:56 -0400 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2010-05-22 21:50:27 -0400 |
commit | 449d62d81269edf674256298a32962c6ee580d60 (patch) | |
tree | 301b46514ce9a4eb92306ae2d0bcc56ec0d41d35 /acprep | |
parent | 37a3f27ef2897a0d2bf129126f45c4ab0b5000bd (diff) | |
download | fork-ledger-449d62d81269edf674256298a32962c6ee580d60.tar.gz fork-ledger-449d62d81269edf674256298a32962c6ee580d60.tar.bz2 fork-ledger-449d62d81269edf674256298a32962c6ee580d60.zip |
acprep --no-python now disables Python support
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -451,6 +451,9 @@ class PrepareBuild(CommandLineApp): op.add_option('', '--no-git', action='store_true', dest='no_git', default=False, help='Do not call out to Git; useful for offline builds') + op.add_option('', '--no-python', action='store_true', dest='no_python', + default=False, + help='Do not enable Python support by default') op.add_option('', '--output', metavar='DIR', action="callback", callback=self.option_output, help='Build in the specified directory') @@ -474,6 +477,9 @@ class PrepareBuild(CommandLineApp): help='Enable full warning flags') def main(self, *args): + if self.options.no_python: + self.configure_args.remove('--enable-python') + if args and args[0] in ['default', 'debug', 'opt', 'gcov', 'gprof']: self.current_flavor = args[0] args = args[1:] |