From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id B1C1E405F4 for ; Wed, 22 Dec 2021 00:08:04 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 5852F68AF55; Wed, 22 Dec 2021 02:07:45 +0200 (EET) Received: from mail-io1-f42.google.com (mail-io1-f42.google.com [209.85.166.42]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 1AF2368AEFF for ; Wed, 22 Dec 2021 02:07:38 +0200 (EET) Received: by mail-io1-f42.google.com with SMTP id y70so710686iof.2 for ; Tue, 21 Dec 2021 16:07:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rcombs.me; s=google; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=nVfv0ejQ4ZMQrie7ehwkVjZhULL1rPwCsGgDrkEzbj4=; b=HFXur2Z9Yo+1U1JAnoY3x4iPqHFQqSgEp49XZE4a7b6E+GKe84Qm/k/MTdEIT4EHtQ EFdRpPkR4DM4v1qfSBPQjue5MvtmWL2WL6qNyY5kY6/p7HO+bPFlYM/QfNr82V4CcIFt Ukmv0YWnvD5QpeBiXmH6jaWcKWMDjq8Owu6qlLxwFujR9y3LjhEoOvFqxIasISeooaKQ BImLDGlyA8jbbPGOe6R9bix6DO1A8KMVQ5wXhcMnPRHdIp9z5QGwv08RdkpyqN9UiQnF GXPMJjutFzGdHnmSPbnskll2/Ki9QD15iZTg5UlngjfyS2HIvtn4XeIde67E3hJJt163 bK3Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=nVfv0ejQ4ZMQrie7ehwkVjZhULL1rPwCsGgDrkEzbj4=; b=ydwIKtVnsxgqqlJpvWCjq0V+0gavLYclpvUDvzJMA8cV7Bf9YLTnXCkPYap4ieC+v3 IfzK68fMRgqD8FBEG+/TQFmWOpe/BjiBFoerbDvNEpBNrvLfv+rg8vBxmcsvrkxIA27t iPQpSosJxcdx+OW4rsfPhyNJXyhprcp6uuxK0Ve9c+MzgRXKxPiM5/Pk0HyLKlaFDDoK EVq3VUdRjBkTXEIkjv/EcwpEDegXnabU6UpitTaTDtF2HKGBPCZIMzvH7zJ4Ylo9sRg4 FMukwVroX2VVUdDRSQsmOAWOmUjdf6q5JtL9xJ10acd9oTW+2laNmsh02k9QMbaemZzx 15lQ== X-Gm-Message-State: AOAM532lRVGQJ6/scdAH/aNI/qTMUn6LidmizYXjwM744nzvBxKTM1SF diCFWo3HY03Z5bpvjk1uhRAsj8IcgVVo3Go= X-Google-Smtp-Source: ABdhPJxnZAp1Sc5CcxAksXnu3ujapkQRQUXMXB4XG/UFJYN0G0EBuG62wMhOCloYiSyx2FLfm7sn3A== X-Received: by 2002:a05:6638:160d:: with SMTP id x13mr284610jas.120.1640131656283; Tue, 21 Dec 2021 16:07:36 -0800 (PST) Received: from rcombs-mbp.localdomain ([2601:243:2000:5ac:d068:8cb9:95e2:de39]) by smtp.gmail.com with ESMTPSA id a1sm238240ilj.35.2021.12.21.16.07.35 for (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Tue, 21 Dec 2021 16:07:35 -0800 (PST) From: rcombs To: ffmpeg-devel@ffmpeg.org Date: Tue, 21 Dec 2021 18:07:23 -0600 Message-Id: <20211222000725.38266-5-rcombs@rcombs.me> X-Mailer: git-send-email 2.33.1 In-Reply-To: <20211222000725.38266-1-rcombs@rcombs.me> References: <20211222000725.38266-1-rcombs@rcombs.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 5/7] configure: test the metal compiler before use X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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. --- configure | 2 ++ 1 file changed, 2 insertions(+) diff --git a/configure b/configure index 06a4d3f485..cb02c54bf1 100755 --- a/configure +++ b/configure @@ -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 -- 2.33.1 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".