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>
This commit is contained in:
Ronald S. Bultje 2012-06-25 08:43:14 +03:00 committed by Martin Storsjö
parent 082829520e
commit b4675d0fbf
1 changed files with 2 additions and 0 deletions

2
configure vendored
View File

@ -1063,6 +1063,7 @@ HAVE_LIST="
cbrtf cbrtf
closesocket closesocket
cmov cmov
CommandLineToArgvW
cpuid cpuid
dcbzl dcbzl
dev_bktr_ioctl_bt848_h dev_bktr_ioctl_bt848_h
@ -2887,6 +2888,7 @@ check_func sysconf
check_func sysctl check_func sysctl
check_func usleep check_func usleep
check_func_headers io.h setmode check_func_headers io.h setmode
check_lib2 "windows.h shellapi.h" CommandLineToArgvW -lshell32
check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi check_lib2 "windows.h psapi.h" GetProcessMemoryInfo -lpsapi
check_func_headers windows.h GetProcessAffinityMask check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes check_func_headers windows.h GetProcessTimes