diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-02 02:00:19 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-02 02:00:19 -0600 |
commit | a47653d24ca02ca41fbcf4d256cd94fcc2064547 (patch) | |
tree | fbdfbdad9c6a8580a68b2b60e305017c2820e9ad /acprep | |
parent | f4feabaea1c0a9a3546476a9ed7f6fee502061a8 (diff) | |
download | fork-ledger-a47653d24ca02ca41fbcf4d256cd94fcc2064547.tar.gz fork-ledger-a47653d24ca02ca41fbcf4d256cd94fcc2064547.tar.bz2 fork-ledger-a47653d24ca02ca41fbcf4d256cd94fcc2064547.zip |
Make sure Python works during proof builds
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 9 |
1 files changed, 4 insertions, 5 deletions
@@ -555,11 +555,6 @@ class PrepareBuild(CommandLineApp): help='Enable full warning flags') def main(self, *args): - if self.options.python: - self.configure_args.append('--enable-python') - 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:] @@ -1126,6 +1121,10 @@ class PrepareBuild(CommandLineApp): self.configure_args.append('--enable-doxygen') if self.options.enable_cache: self.configure_args.append('--enable-cache') + if self.options.python: + self.configure_args.append('--enable-python') + if self.options.no_python: + self.configure_args.remove('--enable-python') if self.options.cpp0x: self.CXXFLAGS.append('-std=c++0x') |