mirror of
https://github.com/xenia-project/FFmpeg.git
synced 2024-11-24 03:59:43 +00:00
configure: Move the bz2 and zlib checks below phtreads
There are alternate implementations of those libraries that use pthreads.
This commit is contained in:
parent
70a7b24d56
commit
7cbe1ea9df
6
configure
vendored
6
configure
vendored
@ -3834,9 +3834,6 @@ check_header VideoDecodeAcceleration/VDADecoder.h
|
||||
check_header windows.h
|
||||
check_header X11/extensions/XvMClib.h
|
||||
|
||||
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
|
||||
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
|
||||
|
||||
if ! disabled w32threads && ! enabled pthreads; then
|
||||
check_func_headers "windows.h process.h" _beginthreadex && enable w32threads
|
||||
fi
|
||||
@ -3868,6 +3865,9 @@ for thread in $THREADS_LIST; do
|
||||
fi
|
||||
done
|
||||
|
||||
disabled zlib || check_lib zlib.h zlibVersion -lz || disable zlib
|
||||
disabled bzlib || check_lib2 bzlib.h BZ2_bzlibVersion -lbz2 || disable bzlib
|
||||
|
||||
enabled sync_val_compare_and_swap && enable atomics_gcc
|
||||
enabled_all atomic_cas_ptr machine_rw_barrier && enable atomics_suncc
|
||||
enabled MemoryBarrier && enable atomics_win32
|
||||
|
Loading…
Reference in New Issue
Block a user