Commit 9cca1e40 authored by Alex Converse's avatar Alex Converse

x86: Require yasm OR --disable-asm OR --disable-mmx OR --disable-yasm to build.

Originally committed as revision 24950 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent e90aa6ed
...@@ -2569,9 +2569,10 @@ EOF ...@@ -2569,9 +2569,10 @@ EOF
case "$objformat" in case "$objformat" in
elf) enabled debug && append YASMFLAGS "-g dwarf2" ;; elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
esac esac
if ! disabled yasm; then if ! disabled_any asm mmx yasm; then
check_yasm "pabsw xmm0, xmm0" && enable yasm || check_yasm "pabsw xmm0, xmm0" && enable yasm ||
warn "yasm not found, performance will suffer" die "yasm not found, performance will suffer. " \
"If you really want to compile without yasm, configure with --disable-yasm."
fi fi
case "$cpu" in case "$cpu" in
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment