configure: warn about missing yasm
authorMåns Rullgård <mans@mansr.com>
Thu, 24 Jun 2010 20:49:37 +0000 (20:49 +0000)
committerMåns Rullgård <mans@mansr.com>
Thu, 24 Jun 2010 20:49:37 +0000 (20:49 +0000)
Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 8590064..20a0452 100755 (executable)
--- a/configure
+++ b/configure
@@ -2465,7 +2465,10 @@ EOF
     case "$objformat" in
         elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
     esac
-    disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
+    if ! disabled yasm; then
+        check_yasm "pabsw xmm0, xmm0" && enable yasm ||
+            warn "yasm not found, performance will suffer"
+    fi
 
     case "$cpu" in
         athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)