summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMåns Rullgård <mans@mansr.com>2009-02-05 02:47:26 +0000
committerMåns Rullgård <mans@mansr.com>2009-02-05 02:47:26 +0000
commit7595a5e491c69443ffae4b2508fe0d523acd002a (patch)
tree09c038747201df209c53b90b8a8b70199215c9ab /configure
parentc0f5b7f1072872f5dba8ea9015cfb8f391755867 (diff)
configure: add command flag to disable yasm use
Originally committed as revision 16998 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 1c225a0201..35a4d77886 100755
--- a/configure
+++ b/configure
@@ -207,6 +207,7 @@ show_help(){
echo " --disable-mmi disable MMI optimizations"
echo " --disable-neon disable neon optimizations"
echo " --disable-vis disable VIS optimizations"
+ echo " --disable-yasm disable use of yasm assembler"
echo
echo "Developer options (useful when working on FFmpeg itself):"
echo " --disable-debug disable debugging symbols"
@@ -918,6 +919,7 @@ CMDLINE_SELECT="
logging
optimizations
stripping
+ yasm
"
PATHS_LIST='
@@ -1787,7 +1789,7 @@ EOF
macho64) append YASMFLAGS "-DPIC -DPREFIX" ;;
*) append YASMFLAGS "-DPREFIX" ;;
esac
- check_yasm "pabsw xmm0, xmm0" && enable yasm
+ disabled yasm || { check_yasm "pabsw xmm0, xmm0" && enable yasm; }
fi
# check for assembler specific support