[FFmpeg-cvslog] configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel

Hendrik Leppkes git at videolan.org
Wed Mar 16 15:31:37 CET 2016


ffmpeg | branch: master | Hendrik Leppkes <h.leppkes at gmail.com> | Wed Mar 16 15:23:28 2016 +0100| [7d9e064cc13cb1b9db854c60bfff3ed3dc60ab7b] | committer: Hendrik Leppkes

configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel

Fixes build on mingw32, which lacks this constant.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=7d9e064cc13cb1b9db854c60bfff3ed3dc60ab7b
---

 configure |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure b/configure
index 6b4ae87..e5de306 100755
--- a/configure
+++ b/configure
@@ -5695,7 +5695,7 @@ disabled securetransport || { check_func SecIdentityCreate "-Wl,-framework,CoreF
     enable securetransport; }
 
 disabled schannel || { check_func_headers "windows.h security.h" InitializeSecurityContext -DSECURITY_WIN32 -lsecur32 &&
-                       enable schannel && add_extralibs -lsecur32; }
+                       check_cpp_condition winerror.h "defined(SEC_I_CONTEXT_EXPIRED)" && enable schannel && add_extralibs -lsecur32; }
 
 makeinfo --version > /dev/null 2>&1 && enable makeinfo  || disable makeinfo
 enabled makeinfo \



More information about the ffmpeg-cvslog mailing list