From a47653d24ca02ca41fbcf4d256cd94fcc2064547 Mon Sep 17 00:00:00 2001 From: John Wiegley Date: Fri, 2 Mar 2012 02:00:19 -0600 Subject: Make sure Python works during proof builds --- acprep | 9 ++++----- 1 file 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') -- cgit v1.2.3