From 41262498ff89ef48e5ce4823b2fc2dc514a3eb0c Mon Sep 17 00:00:00 2001 From: Luca Barbato Date: Sun, 23 Apr 2017 14:10:20 +0000 Subject: [PATCH] configure: Fix sem_timedwait probe It requires pthreads. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 967d7d9a10..c7d0363618 100755 --- a/configure +++ b/configure @@ -4693,7 +4693,7 @@ if ! disabled pthreads && ! enabled w32threads; then fi enabled pthreads && - check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)" + check_builtin sem_timedwait semaphore.h "sem_t *s; sem_init(s,0,0); sem_timedwait(s,0); sem_destroy(s)" $pthreads_extralibs disabled zlib || check_lib zlib zlib.h zlibVersion -lz disabled bzlib || check_lib bzlib bzlib.h BZ2_bzlibVersion -lbz2