[Python-checkins] cpython (merge default -> default): Merge.

stefan.krah python-checkins at python.org
Thu Dec 8 22:31:27 CET 2011


http://hg.python.org/cpython/rev/090574ed8db1
changeset:   73893:090574ed8db1
parent:      73889:489ea02ed351
parent:      73891:e48df59af394
user:        Stefan Krah <skrah at bytereef.org>
date:        Thu Dec 08 22:30:18 2011 +0100
summary:
  Merge.

files:
  configure    |  7 ++++---
  configure.in |  7 ++++---
  2 files changed, 8 insertions(+), 6 deletions(-)


diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -5450,9 +5450,10 @@
         fi
 
         # Clang also needs -fwrapv
-        if test "$CC" = "clang" ; then
-            WRAP="-fwrapv"
-        fi
+        case $CC in
+            *clang*) WRAP="-fwrapv"
+            ;;
+        esac
 
 	case $ac_cv_prog_cc_g in
 	yes)
diff --git a/configure.in b/configure.in
--- a/configure.in
+++ b/configure.in
@@ -907,9 +907,10 @@
         fi
 
         # Clang also needs -fwrapv
-        if test "$CC" = "clang" ; then
-            WRAP="-fwrapv"
-        fi
+        case $CC in
+            *clang*) WRAP="-fwrapv"
+            ;;
+        esac
 
 	case $ac_cv_prog_cc_g in
 	yes)

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list