2
0
mirror of https://gitlab.com/ita1024/waf.git synced 2025-01-07 08:55:31 +01:00

Added Configure.autoconfig = 'clobber' to force previous configuration options

This commit is contained in:
Thomas Nagy 2014-07-20 05:13:22 +02:00
parent 76731c8155
commit 1491e620ad
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64

View File

@ -584,6 +584,8 @@ def autoconfigure(execute_method):
if do_config:
Options.commands.insert(0, self.cmd)
Options.commands.insert(0, 'configure')
if Configure.autoconfig == 'clobber':
Options.options.__dict__ = env.options
return
return execute_method(self)