]> granicus.if.org Git - python/commitdiff
Temporary debug commit: include gcc version in configure output. If this doesn't...
authorMark Dickinson <dickinsm@gmail.com>
Fri, 9 Jul 2010 22:15:07 +0000 (22:15 +0000)
committerMark Dickinson <dickinsm@gmail.com>
Fri, 9 Jul 2010 22:15:07 +0000 (22:15 +0000)
configure
configure.in

index d7cffff8af8c72dfe9e4802dd067ece4e23b45e8..99d935148e769aaf253c09a8f13c4b3315e6f00e 100755 (executable)
--- a/configure
+++ b/configure
@@ -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
 
index 0520ea4444fabc263d0e79382ba6bc87bb5fad6e..0808c16af252ebeac1652ae9b61ca951ccfad103 100644 (file)
@@ -504,6 +504,13 @@ then
   ])
 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