[FFmpeg-cvslog] configure: check for pthread_cancel.

Nicolas George git at videolan.org
Mon May 14 19:51:14 CEST 2012


ffmpeg | branch: master | Nicolas George <nicolas.george at normalesup.org> | Tue May  8 19:02:33 2012 +0200| [83f954e85939527ed86e6343bfe1b8453d838abe] | committer: Nicolas George

configure: check for pthread_cancel.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=83f954e85939527ed86e6343bfe1b8453d838abe
---

 configure |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)

diff --git a/configure b/configure
index 783c9e0..e070c0b 100755
--- a/configure
+++ b/configure
@@ -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



More information about the ffmpeg-cvslog mailing list