summaryrefslogtreecommitdiff
path: root/numpy/core/setup.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-09-01 06:09:52 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-09-01 06:09:52 +0000
commitf4c25ba96601a2b22db959462fbed0e4f7206a97 (patch)
tree3386ee69766d3d15e9f6f9e7b1c0ac598b7da169 /numpy/core/setup.py
parent8a53914ded66488c093c48d20a29d475c1a3f79d (diff)
downloadnumpy-f4c25ba96601a2b22db959462fbed0e4f7206a97.tar.gz
Fix default type of empty array. Fix test for strtod on Python 2.3
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r--numpy/core/setup.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py
index 146534c4a..7953ba576 100644
--- a/numpy/core/setup.py
+++ b/numpy/core/setup.py
@@ -102,7 +102,8 @@ def configuration(parent_package='',top_path=None):
moredefs.append('NPY_NO_SIGNAL')
if sys.version[:3] < '2.4':
- if check_func('strtod'):
+ if config_cmd.check_func('strtod', decl=False,
+ headers=['stdlib.h']):
moredefs.append(('PyOS_ascii_strtod', 'strtod'))
target_f = open(target,'a')