[FFmpeg-devel] [PATCH 1/2] configure: check for pthread_cancel.
Nicolas George
nicolas.george at normalesup.org
Tue May 8 19:37:24 CEST 2012
Signed-off-by: Nicolas George <nicolas.george at normalesup.org>
---
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index facf1d8..ab66bf6 100755
--- a/configure
+++ b/configure
@@ -1220,6 +1220,7 @@ HAVE_LIST="
PeekNamedPipe
poll_h
posix_memalign
+ pthread_cancel
round
roundf
sched_getaffinity
@@ -3170,6 +3171,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
--
1.7.10
More information about the ffmpeg-devel
mailing list