aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorClément Bœsch <cboesch@gopro.com>2017-07-28 12:18:59 +0200
committerClément Bœsch <u@pkh.me>2017-09-02 16:14:15 +0200
commite70e2a7abdd45f550e785d705afe442e9c427581 (patch)
tree190cebc68cf4ccc38de6dff20d7b55fa56946dcf /configure
parent4e6638abb4fc176739be021d5e5b3b1bc8de099c (diff)
downloadffmpeg-e70e2a7abdd45f550e785d705afe442e9c427581.tar.gz
build: group z libs with other autodetected libraries
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 6 insertions, 3 deletions
diff --git a/configure b/configure
index 4f1c172333..8dc05711b9 100755
--- a/configure
+++ b/configure
@@ -3602,6 +3602,9 @@ enable_weak xlib
enable_weak cuda cuvid nvenc vda_framework videotoolbox videotoolbox_encoder
+# Enable compression/decompression libraries by default
+enable_weak zlib bzlib lzma
+
disabled logging && logfile=/dev/null
die_license_disabled() {
@@ -5800,9 +5803,9 @@ fi
enabled pthreads &&
check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)"
-disabled zlib || check_lib zlib zlib.h zlibVersion -lz
-disabled bzlib || check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
-disabled lzma || check_lib lzma lzma.h lzma_version_number -llzma
+enabled zlib && check_lib zlib zlib.h zlibVersion -lz
+enabled bzlib && check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2
+enabled lzma && check_lib lzma lzma.h lzma_version_number -llzma
check_lib libm math.h sin -lm && LIBM="-lm"
disabled crystalhd || check_lib crystalhd "stdint.h libcrystalhd/libcrystalhd_if.h" DtsCrystalHDVersion -lcrystalhd