aboutsummaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2012-06-25 08:43:14 +0300
committerMartin Storsjö <martin@martin.st>2012-07-15 14:03:53 +0300
commitb4675d0fbf6606ab737e81c3c0fe6a05c8764334 (patch)
treeddc789bbb18ff738276fd75ebc0e2a05be034b57 /configure
parent082829520e2191625d3c41ed6ad0522e8d27ebe1 (diff)
downloadffmpeg-b4675d0fbf6606ab737e81c3c0fe6a05c8764334.tar.gz
configure: Check for CommandLineToArgvW
The actual result of the check isn't used anywhere (since we use this function unconditionally within #ifdef _WIN32), but it makes sure we explicitly link to shell32 (which is linked in implictly on mingw). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure b/configure
index 2dc87ee765..4973b1bd83 100755
--- a/configure
+++ b/configure
@@ -1063,6 +1063,7 @@ HAVE_LIST="
cbrtf
closesocket
cmov
+ CommandLineToArgvW
cpuid
dcbzl
dev_bktr_ioctl_bt848_h
@@ -2887,6 +2888,7 @@ check_func sysconf
check_func sysctl
check_func usleep
check_func_headers io.h setmode
+check_lib2 "windows.h shellapi.h" CommandLineToArgvW -lshell32
check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes