diff options
author | rcombs <rcombs@rcombs.me> | 2021-12-21 02:35:40 -0600 |
---|---|---|
committer | rcombs <rcombs@rcombs.me> | 2021-12-22 18:43:34 -0600 |
commit | 62ad427823a22e2afa5069f9611ce07d6a87da78 (patch) | |
tree | e9295909f7defd52bcd971f2da5aa3fec8e16a24 /configure | |
parent | 376790086046f57283491854544ea85cfd73e4ce (diff) | |
download | ffmpeg-62ad427823a22e2afa5069f9611ce07d6a87da78.tar.gz |
configure: test the metal compiler before use
Apparently Metal.framework is included with the command line tools
(and thus may be present without Xcode), but the Metal compiler is only
included as part of Xcode.
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -6365,6 +6365,8 @@ enabled videotoolbox && { check_func_headers CoreVideo/CVImageBuffer.h kCVImageBufferTransferFunction_SMPTE_ST_428_1 "-framework CoreVideo" } +enabled metal && test_cmd $metalcc -v || disable metal + check_struct "sys/time.h sys/resource.h" "struct rusage" ru_maxrss check_type "windows.h dxva.h" "DXVA_PicParams_AV1" -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -D_CRT_BUILD_DESKTOP_APP=0 |