Fix previously broken x86_64 check, simplifying it in the process.
authorDiego Biurrun <diego@biurrun.de>
Mon, 17 Mar 2008 09:43:32 +0000 (09:43 +0000)
committerDiego Biurrun <diego@biurrun.de>
Mon, 17 Mar 2008 09:43:32 +0000 (09:43 +0000)
Originally committed as revision 12475 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index fccb1b0..8c241cf 100755 (executable)
--- 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