diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-09-01 06:09:52 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-09-01 06:09:52 +0000 |
commit | f4c25ba96601a2b22db959462fbed0e4f7206a97 (patch) | |
tree | 3386ee69766d3d15e9f6f9e7b1c0ac598b7da169 /numpy/core/setup.py | |
parent | 8a53914ded66488c093c48d20a29d475c1a3f79d (diff) | |
download | numpy-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.py | 3 |
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') |