diff options
author | Travis Oliphant <oliphant@enthought.com> | 2006-02-24 02:17:39 +0000 |
---|---|---|
committer | Travis Oliphant <oliphant@enthought.com> | 2006-02-24 02:17:39 +0000 |
commit | 872a836d920c0c45321c862d73f2aa9ec9c77f51 (patch) | |
tree | 27349dc9e62ba5fb60d30f6922b6a91d3c8f513d /numpy/core/setup.py | |
parent | f909e9889cf1b686b689c671a53d5f18b9505021 (diff) | |
download | numpy-872a836d920c0c45321c862d73f2aa9ec9c77f51.tar.gz |
Add check for rint and a default implementation if not present. Make UserArray a new-style class.
Diffstat (limited to 'numpy/core/setup.py')
-rw-r--r-- | numpy/core/setup.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index dce7477d1..75e21551a 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -73,6 +73,8 @@ def configuration(parent_package='',top_path=None): moredefs.append('HAVE_ISNAN') if config_cmd.check_func('isinf', **kws_args): moredefs.append('HAVE_ISINF') + if config_cmd.check_func('rint', **kws_args): + moredefs.append('HAVE_RINT') if sys.version[:3] < '2.4': kws_args['headers'].append('stdlib.h') |