summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2010-06-24 20:49:37 +0000
committerMåns Rullgård <mans@mansr.com>2010-06-24 20:49:37 +0000
commit31a0dcb232f62d91609a0feac9cf8e9c608df57a (patch)
tree771f74fba15e7879a3743175b155a3b0f22cf424 /configure
parent7bfc8ae69f1a9ff58a238c0839813a54a563d4f1 (diff)
configure: warn about missing yasm
Originally committed as revision 23761 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 4 insertions, 1 deletions
diff --git a/configure b/configure
index 8590064df3..20a0452ed0 100755
--- a/configure
+++ b/configure
@@ -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)