For consistency, cast HAVE_X to integer values

This commit is contained in:
Thomas Nagy 2016-03-28 09:59:24 +02:00
parent c917e1af63
commit b585594d4d
No known key found for this signature in database
GPG Key ID: 67A565EDFDF90E64
1 changed files with 1 additions and 1 deletions

View File

@ -653,7 +653,7 @@ def post_check(self, *k, **kw):
# consistency with check_cfg
if kw.get('global_define', None):
self.env[kw['define_name']] = is_success
self.env[kw['define_name']] = int(is_success)
if 'header_name' in kw:
if kw.get('auto_add_header_name', False):