aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHendrik Leppkes <h.leppkes@gmail.com>2016-03-16 15:23:28 +0100
committerHendrik Leppkes <h.leppkes@gmail.com>2016-03-16 15:32:50 +0100
commitee7c347935c02507b9a447f0e3d0869927f4c7de (patch)
treecd57a460238b26ea41af47abfaa7e8593bdb2a48
parent9da31a03738f1456020ac164f8982b4367d18536 (diff)
downloadffmpeg-ee7c347935c02507b9a447f0e3d0869927f4c7de.tar.gz
configure: check for SEC_I_CONTEXT_EXPIRED before enabling SChannel
Fixes build on mingw32, which lacks this constant.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 2148f11044..475c087a84 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 \