shithub: libvpx

Download patch

ref: 3162b4f23c7c14d7436ebf11d00a69d83dcaa025
parent: 1dffce7f969ff299244ddb5a707b6d63a0f1bb91
author: James Zern <jzern@google.com>
date: Thu Dec 20 09:05:19 EST 2012

configure: test for -msse4

not present in < GCC 4.2

Change-Id: I7b1a3078fd782644b1c432ce682d2160ffc2263a

--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1001,7 +1001,11 @@
         soft_enable sse2
         soft_enable sse3
         soft_enable ssse3
-        soft_enable sse4_1
+        if enabled gcc && ! disabled sse4_1 && ! check_cflags -msse4; then
+            RTCD_OPTIONS="${RTCD_OPTIONS}--disable-sse4_1 "
+        else
+            soft_enable sse4_1
+        fi
 
         case  ${tgt_os} in
             win*)