summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-12-26 00:12:43 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-12-26 00:12:49 +0100
commitf371a4a57d481e1957038fdf81b6f9d3171e7824 (patch)
treee7ec287f42d991214e2f4f0c1d13d9c00e3a71a8 /configure
parent26ce266e3df8d50b0e6b3b402f2436903424c30c (diff)
parentbd0fba87972b1be826361a5acda363586708d38d (diff)
Merge remote-tracking branch 'qatar/master'
* qatar/master: configure: Explicitly disable w32threads if the test for it fails Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure3
1 files changed, 2 insertions, 1 deletions
diff --git a/configure b/configure
index 13302099b0..9c210e9e55 100755
--- a/configure
+++ b/configure
@@ -4337,7 +4337,8 @@ check_header X11/extensions/XvMClib.h
check_header asm/types.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