aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-12-01 13:10:48 +0100
committerMichael Niedermayer <michaelni@gmx.at>2012-12-01 13:10:48 +0100
commit5473f6258c63d21494cbd8f176b8840713150b82 (patch)
tree1206206ea4e612b3f3cffa03bc376c70278baad4 /configure
parent12cd992d67d996f7283f6fb61fdbbaf759f3570a (diff)
parent3bbe63d1a45853c6b760f1ea9551668568bff7ee (diff)
downloadffmpeg-5473f6258c63d21494cbd8f176b8840713150b82.tar.gz
Merge remote-tracking branch 'qatar/master'
* qatar/master: configure: Use headers in the check for _beginthreadex for w32threads avutil: Use a configure check to enable windows console functions avutil: Include io.h with a separate condition from windows console functions Conflicts: libavutil/log.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure b/configure
index 91bf67323d..059bde6b07 100755
--- a/configure
+++ b/configure
@@ -1393,6 +1393,7 @@ HAVE_LIST="
sched_getaffinity
sdl
sdl_video_size
+ SetConsoleTextAttribute
setmode
setrlimit
Sleep
@@ -3648,6 +3649,7 @@ check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes
check_func_headers windows.h GetSystemTimeAsFileTime
check_func_headers windows.h MapViewOfFile
+check_func_headers windows.h SetConsoleTextAttribute
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc
check_func_headers glob.h glob
@@ -3685,7 +3687,7 @@ if ! disabled vda && ! enabled ppc; then
fi
if ! disabled w32threads && ! enabled pthreads; then
- check_func _beginthreadex && enable w32threads
+ check_func_headers "windows.h process.h" _beginthreadex && enable w32threads
fi
# check for some common methods of building with pthread support