Commit 31a0dcb2 authored by Måns Rullgård's avatar Måns Rullgård

configure: warn about missing yasm

Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk
parent 7bfc8ae6
......@@ -2465,7 +2465,10 @@ EOF
case "$objformat" in
elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
esac
disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
if ! disabled yasm; then
check_yasm "pabsw xmm0, xmm0" && enable yasm ||
warn "yasm not found, performance will suffer"
fi
case "$cpu" in
athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)
......
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