summaryrefslogtreecommitdiff
authorMichael Niedermayer <michaelni@gmx.at>2013-10-25 14:54:45 (GMT)
committer Michael Niedermayer <michaelni@gmx.at>2013-10-25 14:55:57 (GMT)
commitf5dae4894d1078ac8a56026e9ad55c2f0575ce1e (patch)
tree1eb8b957be63aaedc8fc954ea32ec41e1f4c55b8
parentb4991292aa83f67f7d84c1b165781c01f97e3f2d (diff)
downloadffmpeg-f5dae4894d1078ac8a56026e9ad55c2f0575ce1e.zip
ffmpeg-f5dae4894d1078ac8a56026e9ad55c2f0575ce1e.tar.gz
ffmpeg-f5dae4894d1078ac8a56026e9ad55c2f0575ce1e.tar.bz2
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
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index bc111f4..e382a86 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 \