configure: Use lowercase includes/library names for schannel check.
authorİsmail Dönmez <ismail@i10z.com>
Tue, 8 Mar 2016 12:45:16 +0000 (14:45 +0200)
committerCarl Eugen Hoyos <cehoyos@ag.or.at>
Wed, 16 Mar 2016 08:20:39 +0000 (09:20 +0100)
Fixes cross-build on Linux with mingw-w64.

Reviewed-by: Reimar Döffinger
Reviewed-by: Hendrik Leppkes
configure

index 1b18932..6b4ae87 100755 (executable)
--- a/configure
+++ b/configure
@@ -5694,8 +5694,8 @@ disabled securetransport || { check_func SecIdentityCreate "-Wl,-framework,CoreF
     check_lib2 "Security/SecureTransport.h Security/Security.h" "SSLCreateContext SecItemImport" "-Wl,-framework,CoreFoundation -Wl,-framework,Security" &&
     enable securetransport; }
 
-disabled schannel || { check_func_headers "windows.h Security.h" InitializeSecurityContext -DSECURITY_WIN32 -lSecur32 &&
-                       enable schannel && add_extralibs -lSecur32; }
+disabled schannel || { check_func_headers "windows.h security.h" InitializeSecurityContext -DSECURITY_WIN32 -lsecur32 &&
+                       enable schannel && add_extralibs -lsecur32; }
 
 makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo
 enabled makeinfo \