[SCM] libav/experimental: Fix previously broken x86_64 check, simplifying it in the process.

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


The following commit has been merged in the experimental branch:
commit 6fce759141bca41a4074d34659e370d874c3124e
Author: Diego Biurrun <diego at biurrun.de>
Date:   Mon Mar 17 09:43:32 2008 +0000

    Fix previously broken x86_64 check, simplifying it in the process.
    
    Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk

diff --git a/configure b/configure
index fccb1b0..8c241cf 100755
--- a/configure
+++ b/configure
@@ -1085,7 +1085,7 @@ case "$arch" in
         enable fast_unaligned
         canon_arch="`$cc -dumpmachine | sed -e 's,\([^-]*\)-.*,\1,'`"
         if [ x"$canon_arch" = x"x86_64" -o x"$canon_arch" = x"amd64" ]; then
-            if [ -z "`echo $CFLAGS | grep -q -- -m32`"  ]; then
+            if ! echo $CFLAGS | grep -q -- -m32; then
                 arch="x86_64"
                 enable fast_64bit
             fi

-- 
Libav/FFmpeg packaging



More information about the pkg-multimedia-commits mailing list