[FFmpeg-cvslog] configure: Add --disable-all command line option

Diego Biurrun git at videolan.org
Sat Dec 29 13:24:25 CET 2012


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Sat Nov 10 14:47:52 2012 +0100| [844c68520eec3d25fe2d6e29def8123758bacc2e] | committer: Diego Biurrun

configure: Add --disable-all command line option

This option disables all programs, libraries and other parts of Libav
that get built as part of the compilation process.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=844c68520eec3d25fe2d6e29def8123758bacc2e
---

 configure |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/configure b/configure
index 7805e46..153e168 100755
--- a/configure
+++ b/configure
@@ -100,6 +100,7 @@ Configuration options:
   --enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary)
   --enable-gray            enable full grayscale support (slower color)
   --disable-swscale-alpha  disable alpha channel support in swscale
+  --disable-all            disable building components, libraries and programs
 
 Program options:
   --disable-programs       do not build command line programs
@@ -1990,6 +1991,10 @@ for opt do
         --disable-everything)
             map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
         ;;
+        --disable-all)
+            map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
+            disable $LIBRARY_LIST $PROGRAM_LIST doc
+        ;;
         --enable-random|--disable-random)
             action=${opt%%-random}
             do_random ${action#--} $COMPONENT_LIST



More information about the ffmpeg-cvslog mailing list