diff options
author | Mark Dickinson <dickinsm@gmail.com> | 2010-07-09 22:15:07 (GMT) |
---|---|---|
committer | Mark Dickinson <dickinsm@gmail.com> | 2010-07-09 22:15:07 (GMT) |
commit | ee3396901c0045632a36df676efc2d85e95d5f06 (patch) | |
tree | 100b791a2c4d1d4580ef305d45a854518bf2da95 /configure | |
parent | f719733b7dcd3650ed846aca6ef6f34aeb16c88c (diff) | |
download | cpython-ee3396901c0045632a36df676efc2d85e95d5f06.zip cpython-ee3396901c0045632a36df676efc2d85e95d5f06.tar.gz cpython-ee3396901c0045632a36df676efc2d85e95d5f06.tar.bz2 |
Temporary debug commit: include gcc version in configure output. If this doesn't help with reproducing test_float failures then I'll create a separate branch to work on this issue.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 19 |
1 files changed, 14 insertions, 5 deletions
@@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 80702 . +# From configure.in Revision: 82141 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.65 for python 3.1. # @@ -1923,11 +1923,11 @@ else cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default + enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; - 0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; +static int test_array [1 - 2 * !(0 < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1))]; test_array [0] = 0 ; @@ -1938,11 +1938,11 @@ if ac_fn_c_try_compile "$LINENO"; then : cat confdefs.h - <<_ACEOF >conftest.$ac_ext /* end confdefs.h. */ $ac_includes_default + enum { N = $2 / 2 - 1 }; int main () { -static int test_array [1 - 2 * !(enum { N = $2 / 2 - 1 }; - ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) +static int test_array [1 - 2 * !(($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 1) < ($ac_type) ((((($ac_type) 1 << N) << N) - 1) * 2 + 2))]; test_array [0] = 0 @@ -4126,6 +4126,15 @@ $as_echo "$as_me: WARNING: " >&2;} fi +# If using GCC, give result of 'gcc -v' in configure output. +if test "$GCC" = yes; then +{ $as_echo "$as_me:${as_lineno-$LINENO}: checking gcc version" >&5 +$as_echo_n "checking gcc version... " >&6; } +gcc_version=`$CC -v` +{ $as_echo "$as_me:${as_lineno-$LINENO}: result: $gcc_version" >&5 +$as_echo "$gcc_version" >&6; } +fi + # checks for UNIX variants that set C preprocessor variables |