]> git.sesse.net Git - ffmpeg/commitdiff
configure: check for pthread_cancel.
authorNicolas George <nicolas.george@normalesup.org>
Tue, 8 May 2012 17:02:33 +0000 (19:02 +0200)
committerNicolas George <nicolas.george@normalesup.org>
Mon, 14 May 2012 17:32:43 +0000 (19:32 +0200)
configure

index 783c9e07755ce43237298eea7830c16d0d23f7c5..e070c0b2e660d25e7e911e43c071757cbe31dad5 100755 (executable)
--- 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