[FFmpeg-cvslog] configure: abort if threading without atomics is used

Michael Niedermayer git at videolan.org
Fri Oct 25 17:02:02 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Fri Oct 25 16:54:45 2013 +0200| [f5dae4894d1078ac8a56026e9ad55c2f0575ce1e] | committer: Michael Niedermayer

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 at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=f5dae4894d1078ac8a56026e9ad55c2f0575ce1e
---

 configure |    2 ++
 1 file changed, 2 insertions(+)

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       \



More information about the ffmpeg-cvslog mailing list