summaryrefslogtreecommitdiff
path: root/numpy/core/setup_common.py
diff options
context:
space:
mode:
authorJulian Taylor <jtaylor.debian@googlemail.com>2014-01-14 21:50:40 +0100
committerJulian Taylor <jtaylor.debian@googlemail.com>2014-01-14 21:54:37 +0100
commita4d1e26c56d29fa24cae8570cdedd9d6064679c4 (patch)
treee33b2814d44d37229d0b669f541b7223e4bef090 /numpy/core/setup_common.py
parentda3ad01d20c283adf5222e8ad7cc95731e0fc900 (diff)
downloadnumpy-a4d1e26c56d29fa24cae8570cdedd9d6064679c4.tar.gz
MAINT: add a configure check for ftello and fseeko
Works on Ubuntu/Debian, might require lfs macros on some platforms to succeed, but its also defined by Python.h so it should mostly work.
Diffstat (limited to 'numpy/core/setup_common.py')
-rw-r--r--numpy/core/setup_common.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup_common.py b/numpy/core/setup_common.py
index bad3607fa..2db4b4331 100644
--- a/numpy/core/setup_common.py
+++ b/numpy/core/setup_common.py
@@ -98,7 +98,7 @@ MANDATORY_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs",
# replacement implementation. Note that some of these are C99 functions.
OPTIONAL_STDFUNCS = ["expm1", "log1p", "acosh", "asinh", "atanh",
"rint", "trunc", "exp2", "log2", "hypot", "atan2", "pow",
- "copysign", "nextafter"]
+ "copysign", "nextafter", "ftello", "fseeko"]
OPTIONAL_HEADERS = [
@@ -129,7 +129,7 @@ OPTIONAL_GCC_ATTRIBUTES = [('__attribute__((optimize("unroll-loops")))',
# Subset of OPTIONAL_STDFUNCS which may alreay have HAVE_* defined by Python.h
OPTIONAL_STDFUNCS_MAYBE = ["expm1", "log1p", "acosh", "atanh", "asinh", "hypot",
- "copysign"]
+ "copysign", "ftello", "fseeko"]
# C99 functions: float and long double versions
C99_FUNCS = ["sin", "cos", "tan", "sinh", "cosh", "tanh", "fabs", "floor",