summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2009-07-21 09:49:34 +0000
committerDavid Cournapeau <cournape@gmail.com>2009-07-21 09:49:34 +0000
commit3ab762705a35ad7ba9a726a4a80abeb741e4f8a3 (patch)
treef5d30692128f6196e497dbc0cf6859e46dd792ca /numpy/core/setup_common.py
parentdbbf1bffae472d3e3c574a45546f892c6ef30b98 (diff)
downloadnumpy-3ab762705a35ad7ba9a726a4a80abeb741e4f8a3.tar.gz
Look for already declared configure checks macros in python 2.5.
Python 2.5 already declared HAVE_HYPOT and other similar math funcs, so look for those declaration to avoid redeclaring those macros ourselves. Should fix some build warnings.
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index 337436c8a..f560d09aa 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -90,7 +90,7 @@ OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh", "atanh",
"rint", "trunc", "exp2", "log2", "copysign", "hypot", "atan2", "pow"]
# Subset of OPTIONAL_STDFUNCS which may alreay have HAVE_* defined by Python.h
-OPTIONAL_STDFUNCS_MAYBE = ["expm1", "log1p", "acosh", "atanh", "asinh"]
+OPTIONAL_STDFUNCS_MAYBE = ["expm1", "log1p", "acosh", "atanh", "asinh", "hypot"]
# C99 functions: float and long double versions
C99_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor",