diff options
author | David Cournapeau <cournape@gmail.com> | 2009-04-05 09:11:11 +0000 |
---|---|---|
committer | David Cournapeau <cournape@gmail.com> | 2009-04-05 09:11:11 +0000 |
commit | 42fa00eca53817fc744cc659f3bc921c079fa65d (patch) | |
tree | e360a2905ef135d4cd6051f7332a58bce8233232 | |
parent | b924a621e952570c359892bc335d4ef34a5e6a14 (diff) | |
download | numpy-42fa00eca53817fc744cc659f3bc921c079fa65d.tar.gz |
Replace try_run by try_link test for mathlib - does not test for IEEE denormal anymore, but nobody was able to give a rational for it anyway.
-rw-r--r-- | numpy/core/setup.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/core/setup.py b/numpy/core/setup.py index 3c453788a..e910d0a9c 100644 --- a/numpy/core/setup.py +++ b/numpy/core/setup.py @@ -246,7 +246,7 @@ def check_mathlib(config_cmd): if mathlib: mathlibs_choices.insert(0,mathlib.split(',')) for libs in mathlibs_choices: - if config_cmd.try_run(tc,libraries=libs): + if config_cmd.try_link(tc,libraries=libs): mathlibs = libs break else: @@ -560,7 +560,7 @@ def testcode_mathlib(): #include <math.h> int main(int argc, char *argv[]) { - return exp(-720.) > 1.0; /* typically an IEEE denormal */ + return exp(-1.) > 1.0; } """ |