summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2008-04-22 00:54:27 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2008-04-22 00:54:27 (GMT)
commit7a3d8641a97fb852198c445ff18b6ee29fd01a51 (patch)
tree4935f9e1912499887902dd86838b6aa7959b65ac /configure
parent60ffcbe88bf7552667a6f8693f4bc3e38ed625f8 (diff)
downloadcpython-7a3d8641a97fb852198c445ff18b6ee29fd01a51.zip
cpython-7a3d8641a97fb852198c445ff18b6ee29fd01a51.tar.gz
cpython-7a3d8641a97fb852198c445ff18b6ee29fd01a51.tar.bz2
Make configure test for tanh(-0.) == -0. committed in r62447 actually
work. (The test wasn't properly linked with libm. Sigh.)
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 5 insertions, 3 deletions
diff --git a/configure b/configure
index 16102d9..325d410 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 62145 .
+# From configure.in Revision: 62447 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.6.
#
@@ -20852,6 +20852,9 @@ fi
# * Check for mathematical functions *
# ************************************
+LIBS_SAVE=$LIBS
+LIBS="$LIBS $LIBM"
+
# On FreeBSD 6.2, it appears that tanh(-0.) returns 0. instead of
# -0. on some architectures.
{ echo "$as_me:$LINENO: checking whether tanh preserves the sign of zero" >&5
@@ -20871,6 +20874,7 @@ cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
#include <math.h>
+#include <stdlib.h>
int main() {
/* return 0 if either negative zeros don't exist
on this platform or if negative zeros exist
@@ -20927,8 +20931,6 @@ _ACEOF
fi
-LIBS_SAVE=$LIBS
-LIBS="$LIBS $LIBM"
for ac_func in hypot
do