Skip to content
Snippets Groups Projects
Commit 844c6852 authored by Diego Biurrun's avatar Diego Biurrun
Browse files

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.
parent 1f4ea4e0
No related branches found
No related tags found
No related merge requests found
...@@ -100,6 +100,7 @@ Configuration options: ...@@ -100,6 +100,7 @@ Configuration options:
--enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary) --enable-runtime-cpudetect detect cpu capabilities at runtime (bigger binary)
--enable-gray enable full grayscale support (slower color) --enable-gray enable full grayscale support (slower color)
--disable-swscale-alpha disable alpha channel support in swscale --disable-swscale-alpha disable alpha channel support in swscale
--disable-all disable building components, libraries and programs
Program options: Program options:
--disable-programs do not build command line programs --disable-programs do not build command line programs
...@@ -1990,6 +1991,10 @@ for opt do ...@@ -1990,6 +1991,10 @@ for opt do
--disable-everything) --disable-everything)
map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST 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) --enable-random|--disable-random)
action=${opt%%-random} action=${opt%%-random}
do_random ${action#--} $COMPONENT_LIST do_random ${action#--} $COMPONENT_LIST
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment