summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2013-12-23 04:24:52 +0100
committerDiego Biurrun <diego@biurrun.de>2013-12-25 13:00:49 +0100
commitbd0fba87972b1be826361a5acda363586708d38d (patch)
treee3c55887e2a8ec4b9c6e0e71e43d6a865825f6d8 /configure
parentd06ca2040c0f30345b4aa8e83d824297535953c5 (diff)
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.
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 69bdefce1e..8cf25ab258 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