mirror of
https://gitee.com/openharmony/third_party_ffmpeg
synced 2024-11-27 21:20:41 +00:00
configure: check for pthread_cancel.
This commit is contained in:
parent
b545b947dd
commit
83f954e859
5
configure
vendored
5
configure
vendored
@ -1221,6 +1221,7 @@ HAVE_LIST="
|
||||
PeekNamedPipe
|
||||
poll_h
|
||||
posix_memalign
|
||||
pthread_cancel
|
||||
round
|
||||
roundf
|
||||
sched_getaffinity
|
||||
@ -3175,6 +3176,10 @@ for thread in $THREADS_LIST; do
|
||||
fi
|
||||
done
|
||||
|
||||
if enabled pthreads; then
|
||||
check_func pthread_cancel
|
||||
fi
|
||||
|
||||
check_lib math.h sin -lm && LIBM="-lm"
|
||||
disabled crystalhd || check_lib libcrystalhd/libcrystalhd_if.h DtsCrystalHDVersion -lcrystalhd || disable crystalhd
|
||||
enabled vaapi && require vaapi va/va.h vaInitialize -lva
|
||||
|
Loading…
Reference in New Issue
Block a user