summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorAnssi Hannula <anssi.hannula@iki.fi>2011-02-06 07:58:02 +0200
committerRonald S. Bultje <rsbultje@gmail.com>2011-02-06 11:43:35 -0500
commit48545a8f724247853c5b1d4e0a24e3ea3ee06515 (patch)
treeef1dbcfcc511fe3eefb6e80d1cb9a1edd4091900 /configure
parent84ae8936f642042fe7ad3466ce3a26dec77016f1 (diff)
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@gmail.com>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 46f4e4415f..d67029569e 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