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