configure: warn about missing yasm
Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
parent
7bfc8ae69f
commit
31a0dcb232
5
configure
vendored
5
configure
vendored
@ -2465,7 +2465,10 @@ EOF
|
|||||||
case "$objformat" in
|
case "$objformat" in
|
||||||
elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
|
elf) enabled debug && append YASMFLAGS "-g dwarf2" ;;
|
||||||
esac
|
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
|
case "$cpu" in
|
||||||
athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)
|
athlon*|opteron*|k8*|pentium|pentium-mmx|prescott|nocona|atom|geode)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user