diff mbox series

[FFmpeg-devel] configure: fix metal detection and respect explicit disable

Message ID 20211219053521.77779-1-ffmpeg@tmm1.net
State Accepted
Commit 11aa9ca153d4446887ff3ebd26e5a3c243a19d80
Headers show
Series [FFmpeg-devel] configure: fix metal detection and respect explicit disable | expand

Checks

Context Check Description
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished
andriy/make_ppc success Make finished
andriy/make_fate_ppc success Make fate finished

Commit Message

Aman Karmani Dec. 19, 2021, 5:35 a.m. UTC
From: Aman Karmani <aman@tmm1.net>

Signed-off-by: Aman Karmani <aman@tmm1.net>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

Comments

Aman Karmani Dec. 19, 2021, 4:36 p.m. UTC | #1
On Sat, Dec 18, 2021 at 9:35 PM Aman Karmani <ffmpeg@tmm1.net> wrote:

> From: Aman Karmani <aman@tmm1.net>
>
> Signed-off-by: Aman Karmani <aman@tmm1.net>
> ---
>  configure | 3 ++-
>  1 file changed, 2 insertions(+), 1 deletion(-)
>
> diff --git a/configure b/configure
> index d8b07c8e00..d9d41b2273 100755
> --- a/configure
> +++ b/configure
> @@ -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
> --
> 2.33.0


Applied


>
>
diff mbox series

Patch

diff --git a/configure b/configure
index d8b07c8e00..d9d41b2273 100755
--- a/configure
+++ b/configure
@@ -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