summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2014-07-06 17:57:16 +0900
committerDavid Cournapeau <cournape@gmail.com>2014-07-06 17:57:16 +0900
commit6b030998719b22d554181b8f94e85605529305cb (patch)
treef742c70fdeb226f8da3ab2e77c55e1bace35e2dc /numpy/core/setup.py
parent2b1179f65717c8c1b4c54517573c43f4b15cc34b (diff)
downloadnumpy-6b030998719b22d554181b8f94e85605529305cb.tar.gz
ENH: don't use check_func anymore for check_compile_without_warning.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 2c5f999d9..3e1556699 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -180,7 +180,7 @@ def check_math_capabilities(config, moredefs, mathlibs):
moredefs.append((fname2def(fn), 1))
for fn in OPTIONAL_VARIABLE_ATTRIBUTES:
- if config.check_func(fn, decl='int %s a;' % (fn), call=False):
+ if config.check_compile_without_warning('int %s a;' % (fn)):
m = fn.replace("(", "_").replace(")", "_")
moredefs.append((fname2def(m), 1))