diff --git a/wscript b/wscript index b8a68c674a..4f659a781e 100644 --- a/wscript +++ b/wscript @@ -131,9 +131,9 @@ submodules at specific revisions. default=False, help="Enable checking of math indexes") - g.add_option('--enable-scripting', action='store_true', + g.add_option('--disable-scripting', action='store_true', default=False, - help="Enable onboard scripting engine") + help="Disable onboard scripting engine") g.add_option('--scripting-checks', action='store_true', default=True, @@ -428,10 +428,10 @@ def configure(cfg): cfg.end_msg('disabled', color='YELLOW') cfg.start_msg('Scripting') - if cfg.options.enable_scripting: - cfg.end_msg('enabled') - else: + if cfg.options.disable_scripting: cfg.end_msg('disabled', color='YELLOW') + else: + cfg.end_msg('enabled') cfg.start_msg('Scripting runtime checks') if cfg.options.scripting_checks: