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

.. and now does not touch any existing part of configure, just
adds the new option ..

 configure |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index ca11a85..b678e31 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 all components and programs
 
 Program options:
   --disable-programs       do not build command line programs
@@ -1956,6 +1957,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 network
+    ;;
     --enable-random|--disable-random)
     action=${opt%%-random}
     do_random ${action#--} $COMPONENT_LIST
-- 
1.7.1

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to