diff options
author | David Cournapeau <cournape@gmail.com> | 2011-08-21 18:54:09 +0200 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2011-08-29 00:32:27 +0200 |
commit | 5e1cdb6f63dd1fafd3ecc1942d59f3491d61fb84 (patch) | |
tree | 3b9455e98eae5d14a9dac1e9a6ed90a87bee11b4 | |
parent | f92e0f45c77b53764340e36c52bbcecc2d524d2c (diff) | |
download | numpy-5e1cdb6f63dd1fafd3ecc1942d59f3491d61fb84.tar.gz |
BUG: complex.h is not mandatory.
-rw-r--r-- | numpy/core/bscript | 2 |
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: |