configure: Fix sem_timedwait probe

It requires pthreads.
This commit is contained in:
Luca Barbato 2017-04-23 14:10:20 +00:00
parent 44aafa3325
commit 41262498ff
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -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