summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMartin Storsjö <martin@martin.st>2019-12-11 22:53:28 +0200
committerMartin Storsjö <martin@martin.st>2019-12-13 10:53:05 +0200
commit06ec9c4746ebc1d3b613c1847e434bbd0b4407b4 (patch)
treeb960ab6b56a4779fb7d55387e39979861f7aa811 /configure
parentf58bda642d6d95ffafd6297ca909c7dcc4e0b0e5 (diff)
configure: Check for the SetDllDirectory and GetModuleHandle functions
These functions aren't available when building for the restricted UWP/WinRT/WinStore API subsets. Normally when building in this mode, one is probably only building the libraries, but being able to build ffmpeg.exe still is useful (and a ffmpeg.exe targeting these API subsets still can be run e.g. in wine, for testing). Signed-off-by: Martin Storsjö <martin@martin.st>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 42e7df3941..10c494e2a0 100755
--- a/configure
+++ b/configure
@@ -2194,6 +2194,7 @@ SYSTEM_FUNCS="
getaddrinfo
gethrtime
getopt
+ GetModuleHandle
GetProcessAffinityMask
GetProcessMemoryInfo
GetProcessTimes
@@ -2223,6 +2224,7 @@ SYSTEM_FUNCS="
SecItemImport
SetConsoleTextAttribute
SetConsoleCtrlHandler
+ SetDllDirectory
setmode
setrlimit
Sleep
@@ -6032,6 +6034,7 @@ check_func_headers mach/mach_time.h mach_absolute_time
check_func_headers stdlib.h getenv
check_func_headers sys/stat.h lstat
+check_func_headers windows.h GetModuleHandle
check_func_headers windows.h GetProcessAffinityMask
check_func_headers windows.h GetProcessTimes
check_func_headers windows.h GetSystemTimeAsFileTime
@@ -6040,6 +6043,7 @@ check_func_headers windows.h MapViewOfFile
check_func_headers windows.h PeekNamedPipe
check_func_headers windows.h SetConsoleTextAttribute
check_func_headers windows.h SetConsoleCtrlHandler
+check_func_headers windows.h SetDllDirectory
check_func_headers windows.h Sleep
check_func_headers windows.h VirtualAlloc
check_func_headers glob.h glob