[FFmpeg-devel] [PATCH] configure: check yasm/nasm for working pextrd opcode
Diego Biurrun
diego
Sun Feb 6 08:50:05 CET 2011
On Sun, Feb 06, 2011 at 07:58:02AM +0200, Anssi Hannula wrote:
> 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.
>
> --- a/configure
> +++ b/configure
> @@ -2671,7 +2671,7 @@ EOF
>
> - 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"
OK
Diego
More information about the ffmpeg-devel
mailing list