summaryrefslogtreecommitdiffstats
path: root/configure.in
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-04 20:19:41 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-04 20:19:41 (GMT)
commit1de33270158b7641bd7260fc6f0c5c4b536438b9 (patch)
tree71b7cd659b9bc922242a4c851f93fb4c922649f7 /configure.in
parent1bf6401ab27f902dde94848e5868a8482bef35f0 (diff)
downloadcpython-1de33270158b7641bd7260fc6f0c5c4b536438b9.zip
cpython-1de33270158b7641bd7260fc6f0c5c4b536438b9.tar.gz
cpython-1de33270158b7641bd7260fc6f0c5c4b536438b9.tar.bz2
It's wrong to use AC_REPLACE_FUNCS for hypot, since there's no longer any
Python/hypot.c replacement file. Use AC_CHECK_FUNCS instead. This change should be backported to 2.6 and 3.0.
Diffstat (limited to 'configure.in')
-rw-r--r--configure.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/configure.in b/configure.in
index e1854a2..2390633 100644
--- a/configure.in
+++ b/configure.in
@@ -3207,9 +3207,7 @@ then
[Define if tanh(-0.) is -0., or if platform doesn't have signed zeros])
fi
-AC_REPLACE_FUNCS(hypot)
-
-AC_CHECK_FUNCS([acosh asinh atanh copysign expm1 finite log1p])
+AC_CHECK_FUNCS([acosh asinh atanh copysign expm1 finite hypot log1p])
AC_CHECK_DECLS([isinf, isnan, isfinite], [], [], [[#include <math.h>]])
LIBS=$LIBS_SAVE