summaryrefslogtreecommitdiff
path: root/scipy/base/setup.py
diff options
context:
space:
mode:
Diffstat (limited to 'scipy/base/setup.py')
-rw-r--r--scipy/base/setup.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/scipy/base/setup.py b/scipy/base/setup.py
index b147d2e6c..48a8fa425 100644
--- a/scipy/base/setup.py
+++ b/scipy/base/setup.py
@@ -66,6 +66,8 @@ def configuration(parent_package='',top_path=None):
moredefs.append('HAVE_INVERSE_HYPERBOLIC_LONGDOUBLE')
if config_cmd.check_func('isnan', **kws_args):
moredefs.append('HAVE_ISNAN')
+ if config_cmd.check_func('isinf', **kws_args):
+ moredefs.append('HAVE_ISINF')
if moredefs:
target_f = open(target,'a')