Skip to content

Commit

Permalink
BUG: make sure autoconf macros are set to 1, not True.
Browse files Browse the repository at this point in the history
  • Loading branch information
cournape committed Aug 28, 2011
1 parent 6b17837 commit 4ed5624
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion numpy/build_utils/waf.py
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,10 @@ def post_check(self, *k, **kw):
if kw['success'] is not None:
is_success = kw['success']
else:
is_success = (kw['success'] == 0)
if kw["success"] == 0:
is_success = 1
else:
is_success = 0

def define_or_stuff():
nm = kw['define_name']
Expand Down

0 comments on commit 4ed5624

Please sign in to comment.