[SCM] libav/experimental: configure: check yasm/nasm for working pextrd opcode
siretart at users.alioth.debian.org
siretart at users.alioth.debian.org
Sun Jun 30 17:23:16 UTC 2013
The following commit has been merged in the experimental branch:
commit 48545a8f724247853c5b1d4e0a24e3ea3ee06515
Author: Anssi Hannula <anssi.hannula at iki.fi>
Date: Sun Feb 6 07:58:02 2011 +0200
configure: check yasm/nasm for working pextrd opcode
NASM versions older than 2.08 fail to build ffmpeg with several
"error: operation size not specified" errors but this is not caught in
configure.
Fix that by checking if "pextrd [eax], xmm0, 1" works in configure.
Signed-off-by: Ronald S. Bultje <rsbultje at gmail.com>
diff --git a/configure b/configure
index 46f4e44..d670295 100755
--- a/configure
+++ b/configure
@@ -2671,7 +2671,7 @@ EOF
elf*) enabled debug && append YASMFLAGS $yasm_debug ;;
esac
- check_yasm "pabsw xmm0, xmm0" && enable yasm ||
+ check_yasm "pextrd [eax], xmm0, 1" && enable yasm ||
die "yasm not found, use --disable-yasm for a crippled build"
fi
--
Libav/FFmpeg packaging
More information about the pkg-multimedia-commits
mailing list