Browse code

configure: add --disable-asm option

Originally committed as revision 21303 to svn://svn.ffmpeg.org/ffmpeg/trunk

Måns Rullgård authored on 2010/01/19 08:12:55
Showing 1 changed files
... ...
@@ -208,6 +208,7 @@ Advanced options (experts only):
208 208
                            instruction selection, may crash on older CPUs)
209 209
   --enable-powerpc-perf    enable performance report on PPC
210 210
                            (requires enabling PMC)
211
+  --disable-asm            disable all assembler optimizations
211 212
   --disable-altivec        disable AltiVec optimizations
212 213
   --disable-amd3dnow       disable 3DNow! optimizations
213 214
   --disable-amd3dnowext    disable 3DNow! extended optimizations
... ...
@@ -1046,6 +1047,7 @@ CMDLINE_SELECT="
1046 1046
     $ARCH_EXT_LIST
1047 1047
     $CONFIG_LIST
1048 1048
     $THREADS_LIST
1049
+    asm
1049 1050
     cross_compile
1050 1051
     debug
1051 1052
     extra_warnings
... ...
@@ -1368,6 +1370,7 @@ target_os=$(tolower $(uname -s))
1368 1368
 host_os=$target_os
1369 1369
 
1370 1370
 # configurable options
1371
+enable asm
1371 1372
 enable debug
1372 1373
 enable doc
1373 1374
 enable fastdiv
... ...
@@ -2663,6 +2666,8 @@ check_deps $CONFIG_LIST       \
2663 2663
            $OUTDEV_LIST       \
2664 2664
            $PROTOCOL_LIST     \
2665 2665
 
2666
+enabled asm || disable $ARCH_LIST $ARCH_EXT_LIST
2667
+
2666 2668
 echo "install prefix            $prefix"
2667 2669
 echo "source path               $source_path"
2668 2670
 echo "C compiler                $cc"