[FFmpeg-cvslog] configure: Explicitly disable w32threads if the test for it fails

Diego Biurrun git at videolan.org
Thu Dec 26 00:21:26 CET 2013


ffmpeg | branch: master | Diego Biurrun <diego at biurrun.de> | Mon Dec 23 04:24:52 2013 +0100| [bd0fba87972b1be826361a5acda363586708d38d] | committer: Diego Biurrun

configure: Explicitly disable w32threads if the test for it fails

This avoids false positive enabling of w32threads if explicitly
requested on the command line, but dependencies are missing.

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

 configure |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 69bdefc..8cf25ab 100755
--- a/configure
+++ b/configure
@@ -3850,7 +3850,8 @@ check_header windows.h
 check_header X11/extensions/XvMClib.h
 
 if ! disabled w32threads && ! enabled pthreads; then
-    check_func_headers "windows.h process.h" _beginthreadex && enable w32threads
+    check_func_headers "windows.h process.h" _beginthreadex &&
+        enable w32threads || disable w32threads
 fi
 
 # check for some common methods of building with pthread support



More information about the ffmpeg-cvslog mailing list