configure: fix metal detection and respect explicit disable

Signed-off-by: Aman Karmani <aman@tmm1.net>
This commit is contained in:
Aman Karmani 2021-12-18 21:34:10 -08:00
parent bbe9faa01c
commit 11aa9ca153
1 changed files with 2 additions and 1 deletions

3
configure vendored
View File

@ -1758,6 +1758,7 @@ EXTERNAL_AUTODETECT_LIBRARY_LIST="
libxcb_xfixes
lzma
mediafoundation
metal
schannel
sdl2
securetransport
@ -6328,13 +6329,13 @@ enabled appkit && check_apple_framework AppKit
enabled audiotoolbox && check_apple_framework AudioToolbox
enabled avfoundation && check_apple_framework AVFoundation
enabled coreimage && check_apple_framework CoreImage
enabled metal && check_apple_framework Metal
enabled videotoolbox && check_apple_framework VideoToolbox
check_apple_framework CoreFoundation
check_apple_framework CoreMedia
check_apple_framework CoreVideo
check_apple_framework CoreAudio
check_apple_framework Metal
enabled avfoundation && {
disable coregraphics applicationservices