diff --git a/wscript b/wscript index 75bdf20e6e..18920e3dd9 100644 --- a/wscript +++ b/wscript @@ -533,9 +533,11 @@ def configure(cfg): cfg.start_msg('Scripting') if cfg.options.disable_scripting: cfg.end_msg('disabled', color='YELLOW') - else: + elif cfg.options.enable_scripting: cfg.end_msg('enabled') - cfg.recurse('libraries/AP_Scripting') + else: + cfg.end_msg('maybe') + cfg.recurse('libraries/AP_Scripting') cfg.recurse('libraries/AP_GPS')