build: simplify weak-enabling of autodetected libraries

pull/269/head
Clément Bœsch 8 years ago committed by Clément Bœsch
parent 7e98c3cbb3
commit 9ef5a2f5f3
  1. 18
      configure

18
configure vendored

@ -3593,21 +3593,9 @@ done
for lib in $AUTODETECT_LIBS; do for lib in $AUTODETECT_LIBS; do
enabled $lib && request $lib enabled $lib && request $lib
done done
#TODO: switch to $AUTODETECT_LIBS when $THREADS_LIST is supported the same way
# Enable platform codecs by default. enable_weak $EXTERNAL_AUTODETECT_LIBRARY_LIST
enable_weak audiotoolbox enable_weak $HWACCEL_AUTODETECT_LIBRARY_LIST
# 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
disabled logging && logfile=/dev/null disabled logging && logfile=/dev/null

Loading…
Cancel
Save