diff --git a/waflib/Tools/c_config.py b/waflib/Tools/c_config.py index ea410c85..88f4a7e0 100755 --- a/waflib/Tools/c_config.py +++ b/waflib/Tools/c_config.py @@ -386,6 +386,8 @@ def check_cfg(self, *k, **kw): else: self.fatal('The configuration failed') else: + if not ret: + ret = True kw['success'] = ret if 'okmsg' in kw: self.end_msg(self.ret_msg(kw['okmsg'], kw))