[FFmpeg-devel] [PATCH]Remove --disable-avutil and sanitize --disable-all

Carl Eugen Hoyos cehoyos at ag.or.at
Thu Sep 24 04:01:12 CEST 2015


Hi!

The configure option --disable-avutil has no effect, --disable-all does not 
disable avutil (it never has), but it currently disables all dependencies 
of libavutil in an unexpected way: A library that was never disabled has to 
be enabled (with --enable-avutil) to enable dependent options.
Attached patch fixes this behaviour, to be split.

Carl Eugen
-------------- next part --------------
diff --git a/configure b/configure
index f6bc622..f9c035b 100755
--- a/configure
+++ b/configure
@@ -128,7 +128,6 @@ Component options:
   --disable-avdevice       disable libavdevice build
   --disable-avcodec        disable libavcodec build
   --disable-avformat       disable libavformat build
-  --disable-avutil         disable libavutil build
   --disable-swresample     disable libswresample build
   --disable-swscale        disable libswscale build
   --disable-postproc       disable libpostproc build
@@ -3110,6 +3109,7 @@ for opt do
         --disable-all)
             map 'eval unset \${$(toupper ${v%s})_LIST}' $COMPONENT_LIST
             disable $LIBRARY_LIST $PROGRAM_LIST doc
+            enable avutil
         ;;
         --enable-random|--disable-random)
             action=${opt%%-random}


More information about the ffmpeg-devel mailing list