diff mbox

[FFmpeg-devel,10/16] build: simplify weak-enabling of autodetected libraries

Message ID 20170830120915.13050-11-u@pkh.me
State New
Headers show

Commit Message

Clément Bœsch Aug. 30, 2017, 12:09 p.m. UTC
From: Clément Bœsch <cboesch@gopro.com>

 configure | 18 +++---------------
 1 file changed, 3 insertions(+), 15 deletions(-)
diff mbox


diff --git a/configure b/configure
index 7e80074686..e376e9562b 100755
--- a/configure
+++ b/configure
@@ -3593,21 +3593,9 @@  done
 for lib in $AUTODETECT_LIBS; do
     enabled $lib && request $lib
-# Enable platform codecs by default.
-enable_weak audiotoolbox
-# Enable hwaccels by default.
-enable_weak crystalhd d3d11va dxva2 vaapi vda vdpau videotoolbox_hwaccel xvmc
-enable_weak xlib libxcb libxcb_shm libxcb_shape libxcb_xfixes
-enable_weak cuda cuvid nvenc videotoolbox videotoolbox_encoder
-# Enable compression/decompression libraries by default
-enable_weak zlib bzlib lzma
-enable_weak iconv
-enable_weak securetransport schannel
+#TODO: switch to $AUTODETECT_LIBS when $THREADS_LIST is supported the same way
 disabled logging && logfile=/dev/null