From f5dae4894d1078ac8a56026e9ad55c2f0575ce1e Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Fri, 25 Oct 2013 16:54:45 +0200 Subject: [PATCH] configure: abort if threading without atomics is used also provide a list of workarounds to the user Fixes Ticket2363 Signed-off-by: Michael Niedermayer --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index bc111f4613..e382a866dc 100755 --- a/configure +++ b/configure @@ -4580,6 +4580,8 @@ enable frame_thread_encoder enabled_any $THREADS_LIST && enable threads enabled_any $ATOMICS_LIST && enable atomics_native +enabled threads && ! enabled pthreads && ! enabled atomics_native && die "non pthread threading without atomics not supported, try adding --enable-pthreads or --cpu=i486 or higher if you are on x86" + enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; } check_deps $CONFIG_LIST \