aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-10-25 16:54:45 +0200
committerMichael Niedermayer <michaelni@gmx.at>2013-10-25 16:55:57 +0200
commitf5dae4894d1078ac8a56026e9ad55c2f0575ce1e (patch)
tree1eb8b957be63aaedc8fc954ea32ec41e1f4c55b8 /configure
parentb4991292aa83f67f7d84c1b165781c01f97e3f2d (diff)
downloadffmpeg-f5dae4894d1078ac8a56026e9ad55c2f0575ce1e.tar.gz
configure: abort if threading without atomics is used
also provide a list of workarounds to the user Fixes Ticket2363 Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
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 \