summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-03-02 02:00:19 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-03-02 02:00:19 -0600
commita47653d24ca02ca41fbcf4d256cd94fcc2064547 (patch)
treefbdfbdad9c6a8580a68b2b60e305017c2820e9ad /acprep
parentf4feabaea1c0a9a3546476a9ed7f6fee502061a8 (diff)
downloadfork-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-xacprep9
1 files changed, 4 insertions, 5 deletions
diff --git a/acprep b/acprep
index ee44b38e..939ef7ed 100755
--- a/acprep
+++ b/acprep
@@ -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')