aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2012-05-08 19:02:33 +0200
committerNicolas George <nicolas.george@normalesup.org>2012-05-14 19:32:43 +0200
commit83f954e85939527ed86e6343bfe1b8453d838abe (patch)
tree1bb5d0355e10efc1baed3f4ea03a652e592a4e9f
parentb545b947dd124e733cbfa130e989234b0fe392d7 (diff)
downloadffmpeg-83f954e85939527ed86e6343bfe1b8453d838abe.tar.gz
configure: check for pthread_cancel.
-rwxr-xr-xconfigure5
1 files changed, 5 insertions, 0 deletions
diff --git a/configure b/configure
index 783c9e0775..e070c0b2e6 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