[FFmpeg-cvslog] build: add --disable-autodetect switch

Clément Bœsch git at videolan.org
Sat Sep 2 17:15:58 EEST 2017


ffmpeg | branch: master | Clément Bœsch <cboesch at gopro.com> | Fri Jul 28 13:44:07 2017 +0200| [e3c1219c7c7457f4b157cfb299e4387c1ebdabe7] | committer: Clément Bœsch

build: add --disable-autodetect switch

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e3c1219c7c7457f4b157cfb299e4387c1ebdabe7
---

 Changelog | 1 +
 configure | 6 ++++++
 2 files changed, 7 insertions(+)

diff --git a/Changelog b/Changelog
index 830941757e..ccbcdf6328 100644
--- a/Changelog
+++ b/Changelog
@@ -40,6 +40,7 @@ version <next>:
   They must always be used by name.
 - FITS demuxer and decoder
 - FITS muxer and encoder
+- add --disable-autodetect build switch
 
 version 3.3:
 - CrystalHD decoder moved to new decode API
diff --git a/configure b/configure
index fea9f956b8..f29fe1145c 100755
--- a/configure
+++ b/configure
@@ -109,6 +109,7 @@ Configuration options:
   --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
+  --disable-autodetect     disable automatically detected external libraries [no]
 
 Program options:
   --disable-programs       do not build command line programs
@@ -1685,6 +1686,7 @@ CONFIG_LIST="
     $LIBRARY_LIST
     $PROGRAM_LIST
     $SUBSYSTEM_LIST
+    autodetect
     fontconfig
     memory_poisoning
     neon_clobber_test
@@ -3589,6 +3591,10 @@ for e in $env; do
     eval "export $e"
 done
 
+if disabled autodetect; then
+    disable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST
+    disable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST
+fi
 # Mark specifically enabled, but normally autodetected libraries as requested.
 for lib in $AUTODETECT_LIBS; do
     enabled $lib && request $lib



More information about the ffmpeg-cvslog mailing list