[FFmpeg-cvslog] configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel
Hendrik Leppkes
git at videolan.org
Wed Mar 16 15:33:14 CET 2016
ffmpeg | branch: release/3.0 | Hendrik Leppkes <h.leppkes at gmail.com> | Wed Mar 16 15:23:28 2016 +0100| [ee7c347935c02507b9a447f0e3d0869927f4c7de] | 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=ee7c347935c02507b9a447f0e3d0869927f4c7de
---
configure | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/configure b/configure
index 2148f11..475c087 100755
--- a/configure
+++ b/configure
@@ -5659,7 +5659,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