[SCM] libav/experimental: configure: warn about missing yasm

siretart at users.alioth.debian.org siretart at users.alioth.debian.org
Sun Jun 30 17:09:12 UTC 2013


The following commit has been merged in the experimental branch:
commit 31a0dcb232f62d91609a0feac9cf8e9c608df57a
Author: Måns Rullgård <mans at mansr.com>
Date:   Thu Jun 24 20:49:37 2010 +0000

    configure: warn about missing yasm
    
    Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index 8590064..20a0452 100755
--- 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)

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list