aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLoren Merritt <lorenm@u.washington.edu>2007-05-12 03:20:41 +0000
committerLoren Merritt <lorenm@u.washington.edu>2007-05-12 03:20:41 +0000
commit8e380710039e054bc617ab95a019e87c5258d809 (patch)
tree953d885e04dfca18b0b3cfa422acd9de5b955e63
parent1edbfe19948e3852922660fe01252ff7d37ead72 (diff)
downloadffmpeg-8e380710039e054bc617ab95a019e87c5258d809.tar.gz
configure check for whether we can compile ssse3
Originally committed as revision 9002 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rwxr-xr-xconfigure8
1 files changed, 8 insertions, 0 deletions
diff --git a/configure b/configure
index 2e433c04f1..b72951bd63 100755
--- a/configure
+++ b/configure
@@ -646,6 +646,7 @@ HAVE_LIST="
sdl
sdl_video_size
soundcard_h
+ ssse3
sys_poll_h
sys_soundcard_h
threads
@@ -1448,6 +1449,13 @@ int main(){
asm volatile ("":::"%ebx");
}
EOF
+
+ # check whether binutils is new enough to compile SSSE3
+ check_cc <<EOF && enable ssse3
+int main(){
+ asm volatile ("pabsw %xmm0, %xmm0");
+}
+EOF
fi
# check for assembler specific support