X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=configure;h=bc010d5629b5147ccb8e26702ec212f45f436c01;hb=c925e960e83dffdfdbb9598bb1a6ba475cb4520d;hp=2604ae7bb43a4621ddd64cbe3f1c1485a4a78125;hpb=ff8def21313ad91cdbe5cbdb687cdd7645025fd5;p=ffmpeg diff --git a/configure b/configure index 2604ae7bb43..bc010d5629b 100755 --- a/configure +++ b/configure @@ -4359,6 +4359,7 @@ if ! disabled pthreads && ! enabled w32threads && ! enabled os2threads; then elif ! check_func pthread_join && ! check_func pthread_create; then disable pthreads fi + check_code cc "pthread.h" "static pthread_mutex_t atomic_lock = PTHREAD_MUTEX_INITIALIZER" || disable pthreads fi for thread in $THREADS_LIST; do @@ -5057,7 +5058,7 @@ cat > $TMPH <