summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Cournapeau <cournape@gmail.com>2011-08-21 18:54:09 +0200
committerDavid Cournapeau <cournape@gmail.com>2011-08-29 00:32:27 +0200
commit5e1cdb6f63dd1fafd3ecc1942d59f3491d61fb84 (patch)
tree3b9455e98eae5d14a9dac1e9a6ed90a87bee11b4
parentf92e0f45c77b53764340e36c52bbcecc2d524d2c (diff)
downloadnumpy-5e1cdb6f63dd1fafd3ecc1942d59f3491d61fb84.tar.gz
BUG: complex.h is not mandatory.
-rw-r--r--numpy/core/bscript2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/core/bscript b/numpy/core/bscript
index 5537c2e93..8f2a45dce 100644
--- a/numpy/core/bscript
+++ b/numpy/core/bscript
@@ -233,7 +233,7 @@ def check_math_runtime(conf):
NUMPYCONFIG_SYM.append(('DEFINE_NPY_HAVE_DECL_%s' % f.upper(), ''))
def check_complex(conf):
- if conf.check_header("complex.h"):
+ if conf.check_header("complex.h", mandatory=False):
NUMPYCONFIG_SYM.append(('DEFINE_NPY_USE_C99_COMPLEX',
'#define NPY_USE_C99_COMPLEX 1'))
for t in C99_COMPLEX_TYPES: