Skip to content
Snippets Groups Projects
Commit f5dae489 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

configure: abort if threading without atomics is used


also provide a list of workarounds to the user

Fixes Ticket2363

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent b4991292
No related branches found
No related tags found
No related merge requests found
...@@ -4580,6 +4580,8 @@ enable frame_thread_encoder ...@@ -4580,6 +4580,8 @@ enable frame_thread_encoder
enabled_any $THREADS_LIST && enable threads enabled_any $THREADS_LIST && enable threads
enabled_any $ATOMICS_LIST && enable atomics_native 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; } enabled asm || { arch=c; disable $ARCH_LIST $ARCH_EXT_LIST; }
check_deps $CONFIG_LIST \ check_deps $CONFIG_LIST \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment