diff options
author | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-16 15:23:28 +0100 |
---|---|---|
committer | Hendrik Leppkes <h.leppkes@gmail.com> | 2016-03-16 15:32:50 +0100 |
commit | ee7c347935c02507b9a447f0e3d0869927f4c7de (patch) | |
tree | cd57a460238b26ea41af47abfaa7e8593bdb2a48 | |
parent | 9da31a03738f1456020ac164f8982b4367d18536 (diff) | |
download | ffmpeg-ee7c347935c02507b9a447f0e3d0869927f4c7de.tar.gz |
configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel
Fixes build on mingw32, which lacks this constant.
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 \ |