summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2012-11-10 14:47:52 +0100
committerDiego Biurrun <diego@biurrun.de>2012-12-28 19:17:02 +0100
commit844c68520eec3d25fe2d6e29def8123758bacc2e (patch)
treeba89c81e249edf62b4a3bd03389320e9894e10f2 /configure
parent1f4ea4e068f1131bff6c246308f52acbf1347cc2 (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 7805e46655..153e16833a 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