Commit 47ece046a6 for ffmpeg

commit 47ece046a6da727737b10b2342cec7d3dd6469a3
Author: Zhao Zhili <quinkblack@foxmail.com>
Date:   Sat Oct 17 14:14:00 2026 +0800

    configure: stop probing for pthread_cancel

    HAVE_PTHREAD_CANCEL has no consumers left: udp no longer cancels its
    receive thread, and the dnn guards were already removed.

    Android bionic and Windows w32threads do not provide pthread_cancel(),
    and on Darwin a cancel request made while cancellation is disabled may
    never acted on (see PR #24886). Probing for pthread_cancel may invite
    new code to depend on it.

    Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>

diff --git a/configure b/configure
index a0a9ce3ffc..192a82f5b3 100755
--- a/configure
+++ b/configure
@@ -2536,7 +2536,6 @@ SYSTEM_FUNCS="
     PeekNamedPipe
     posix_memalign
     prctl
-    pthread_cancel
     pthread_set_name_np
     pthread_setaffinity_np
     pthread_setname_np
@@ -7162,7 +7161,6 @@ if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then

     if enabled pthreads; then
         check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)" $pthreads_extralibs
-        check_func pthread_cancel $pthreads_extralibs
         hdrs=pthread.h
         if enabled pthread_np_h; then
             hdrs="$hdrs pthread_np.h"