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.
diff --git a/configure.in b/configure.in
index e1854a2..2390633 100644
--- a/configure.in
+++ b/configure.in
@@ -3207,9 +3207,7 @@
[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