[Python-checkins] r82756 - in python/branches/release31-maint: configure configure.in

mark.dickinson python-checkins at python.org
Sat Jul 10 00:15:07 CEST 2010


Author: mark.dickinson
Date: Sat Jul 10 00:15:07 2010
New Revision: 82756

Log:
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.

Modified:
   python/branches/release31-maint/configure
   python/branches/release31-maint/configure.in

Modified: python/branches/release31-maint/configure
==============================================================================
--- python/branches/release31-maint/configure	(original)
+++ python/branches/release31-maint/configure	Sat Jul 10 00:15:07 2010
@@ -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 @@
        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 @@
   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 @@
   " >&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
 

Modified: python/branches/release31-maint/configure.in
==============================================================================
--- python/branches/release31-maint/configure.in	(original)
+++ python/branches/release31-maint/configure.in	Sat Jul 10 00:15:07 2010
@@ -504,6 +504,13 @@
   ])
 fi
 
+# If using GCC, give result of 'gcc -v' in configure output.
+if test "$GCC" = yes; then
+AC_MSG_CHECKING(gcc version)
+gcc_version=`$CC -v`
+AC_MSG_RESULT($gcc_version)
+fi
+
 
 # checks for UNIX variants that set C preprocessor variables
 AC_AIX


More information about the Python-checkins mailing list