summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-10-24 13:44:16 +0000
committerMark Dickinson <dickinsm@gmail.com>2009-10-24 13:44:16 +0000
commit111abc740b6b61afd3dc39253c2848c2578896be (patch)
tree123f652e59abdf4e0a0666830134ba00b72db4b3 /configure
parent5a41a75f7858a88ed17698f1efe808e99854985d (diff)
downloadcpython-111abc740b6b61afd3dc39253c2848c2578896be.tar.gz
Configure check for double rounding should take BASECFLAGS into account
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure12
1 files changed, 5 insertions, 7 deletions
diff --git a/configure b/configure
index e774d5e4bb..c4f2e70bd9 100755
--- a/configure
+++ b/configure
@@ -1,5 +1,5 @@
#! /bin/sh
-# From configure.in Revision: 75131 .
+# From configure.in Revision: 75658 .
# Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.61 for python 2.7.
#
@@ -23533,10 +23533,9 @@ fi
# 0 otherwise. See http://bugs.python.org/issue2937 for more info.
{ echo "$as_me:$LINENO: checking for x87-style double rounding" >&5
echo $ECHO_N "checking for x87-style double rounding... $ECHO_C" >&6; }
-if test "${ac_cv_x87_double_rounding+set}" = set; then
- echo $ECHO_N "(cached) $ECHO_C" >&6
-else
-
+# $BASECFLAGS may affect the result
+ac_save_cc="$CC"
+CC="$CC $BASECFLAGS"
if test "$cross_compiling" = yes; then
ac_cv_x87_double_rounding=no
else
@@ -23600,8 +23599,7 @@ rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$a
fi
-fi
-
+CC="$ac_save_cc"
{ echo "$as_me:$LINENO: result: $ac_cv_x87_double_rounding" >&5
echo "${ECHO_T}$ac_cv_x87_double_rounding" >&6; }
if test "$ac_cv_x87_double_rounding" = yes