diff options
| author | Mark Dickinson <dickinsm@gmail.com> | 2009-01-04 13:57:26 +0000 |
|---|---|---|
| committer | Mark Dickinson <dickinsm@gmail.com> | 2009-01-04 13:57:26 +0000 |
| commit | d181e3a246b52284e3aeb412ef9678dc444eb82a (patch) | |
| tree | 18b68f9c0180603629605f62153b61c2fffab0a3 /configure.in | |
| parent | 04b272336d8f4842d752449427ebef608dfcaca3 (diff) | |
| download | cpython-git-d181e3a246b52284e3aeb412ef9678dc444eb82a.tar.gz | |
isinf and isnan are macros, not functions; fix configure script
to use AC_CHECK_DECLS instead of AC_CHECK_FUNCS for these.
(See discussion in issue #4506)
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/configure.in b/configure.in index ea8727c4bd..e1854a219e 100644 --- a/configure.in +++ b/configure.in @@ -3209,7 +3209,8 @@ fi AC_REPLACE_FUNCS(hypot) -AC_CHECK_FUNCS(acosh asinh atanh copysign expm1 finite isinf isnan log1p) +AC_CHECK_FUNCS([acosh asinh atanh copysign expm1 finite log1p]) +AC_CHECK_DECLS([isinf, isnan, isfinite], [], [], [[#include <math.h>]]) LIBS=$LIBS_SAVE |
