This one really disables all parts and components of Libav.
--disable-everything is deprecated and replaced by --disable-components,
which better describes what the option actually does.
---
Now keeps --disable-everything, but deprecates it, to be removed at some
future point in time. Maybe --d-components should be --d-subcomponents
instead ...
configure | 14 +++++++++++++-
1 files changed, 13 insertions(+), 1 deletions(-)
diff --git a/configure b/configure
index 3d740bf..b5eb767 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
@@ -134,7 +135,8 @@ Component options:
--enable-vdpau enable VDPAU code
Individual component options:
- --disable-everything disable all components listed below
+ --disable-components disable all components listed below
+ --disable-everything disable all components listed below (deprecated)
--disable-encoder=NAME disable encoder NAME
--enable-encoder=NAME enable encoder NAME
--disable-encoders disable all encoders
@@ -1953,8 +1955,18 @@ for opt do
--disable-programs)
disable $PROGRAM_LIST
;;
+ --disable-components)
+ map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
+ ;;
--disable-everything)
+ echo "The --disable-everything option has been deprecated and will be"
+ echo "removed in the future. Use --disable-components instead."
+ map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
+ exit
+ ;;
+ --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}
--
1.7.1
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel