From patchwork Tue Sep 5 16:09:43 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?b?Q2zDqW1lbnQgQsWTc2No?= X-Patchwork-Id: 4995 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.15.201 with SMTP id 70csp4279016jao; Tue, 5 Sep 2017 09:10:03 -0700 (PDT) X-Google-Smtp-Source: ADKCNb4DRrN9CGA5TgXb3L1QYbXybgqjfYfWlN3t+I72Wu0EnuqK+2MWWm87d/KwvOcbhUJ+TRqF X-Received: by 10.223.171.15 with SMTP id q15mr3160406wrc.23.1504627803145; Tue, 05 Sep 2017 09:10:03 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504627803; cv=none; d=google.com; s=arc-20160816; b=BEHNq/90UBF/0Y/BC+fYIxP/8YL2VgxYcjRIA5gqN4dS95mWMimJT9n7URYZ+3Ivri 5y8wTm4jW0jaE9JiuoS5X3Sqgli6k2hNjAiMhesNIy1z7ksNpIhDsocdcdbA236mmCqT 9RkHerT14R0V4xe/RRoo23zRWPuwaMYevW5emSJMQ7MWvhtKuTqGcJXPTS2rUXBdQOaL 61PxaUBj5BhWkDh6ckzrC7cDxvSu80PhefkmiJIBkETUJF9B7FSBk+E+RRg1ZTUDYpO5 aTwdAoZ/u5SXnVdrnBQgebiVrTHY3Ory7OxB+UA9QwvchWhmGXx+DpoGNb8JmF+rpBFr 7kOQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:cc:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:mime-version:message-id:date:to:from :domainkey-signature:dkim-signature:delivered-to :arc-authentication-results; bh=bHRJeDHCzRO8ZrkooIdZfG8ZOrMvXbpaJdmg5ThokIY=; b=ghetLeQWyC+mCYYzt/F/Wtx6uZR8u0D6Vb+mLUEjiOgX5LRwTPXti2MRK6NTiaMkPi JQGCY0R0SNOutkChnmIwdThRs6lQwi3vZ9bI3z1bOP8zQ0KvgN0eF1SHsEDVkhMw/fkW yL5Ydqeuh4yO21WYlrL36WlNfcHnNy2kKIMQ5ckOBLgTyqH1ytscjWN6Hv7Lh9BmAv54 p1Ypu1ELbfqV0E7lSyozqvRnI/EjCVkB1XmQ8Ko4+OT7bVzl8rB1K3lbkBJ23EIe7sTj lIurK/ETW8Ca6sleMw1V6VziKgpUzf5tACDeI2CVOZn9ywBDMzptafmNQ9+O2a+/vPCx 3y8g== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=KsWwBDiQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id 41si650923wrv.154.2017.09.05.09.09.54; Tue, 05 Sep 2017 09:10:03 -0700 (PDT) Received-SPF: pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) client-ip=79.124.17.100; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=KsWwBDiQ; spf=pass (google.com: domain of ffmpeg-devel-bounces@ffmpeg.org designates 79.124.17.100 as permitted sender) smtp.mailfrom=ffmpeg-devel-bounces@ffmpeg.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id BC83C689D89; Tue, 5 Sep 2017 19:09:50 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from golem.pkh.me (LStLambert-657-1-117-164.w92-154.abo.wanadoo.fr [92.154.28.164]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BEF1D68065E for ; Tue, 5 Sep 2017 19:09:44 +0300 (EEST) Received: from golem.pkh.me (localhost.localdomain [127.0.0.1]) by golem.pkh.me (OpenSMTPD) with ESMTP id bd6402db; Tue, 5 Sep 2017 16:09:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pkh.me; h=from:to:cc :subject:date:message-id:mime-version:content-type :content-transfer-encoding; s=selector1; bh=T63m7PfngPYh/MVXrwKD E1A36hg=; b=KsWwBDiQWKgh8vxuudmfT6R2vamUgGVOhTKuJfuPLFkB0sHuyd0m agz1Bvzp35KjSY4B7o6xq426pInKdLz9udXgOSRd5jIpApIS0LNmsvvijxLFyoid D51h4H848yGRgjUP4wHWkpfHFtpgqKhtZW+NSm0se2t6RsLRYwCslTz23DZpThoB RwpQqj08rzJx1yv0BITllL55ZmgiJo1c667zdkYsvB1Bwp/8CDyLZMfkk1AsKU8P HkEWM+XbQ/PLoVtJN3ch/Xb61PhpDWCuEgzXIsK7GjxTcc4HaxLUD4raAmDFJ1W1 XmYPQNywL8X68JKlOePNILkvMBv5NBI3yQ== DomainKey-Signature: a=rsa-sha1; c=nofws; d=pkh.me; h=from:to:cc:subject :date:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=selector1; b=BjNiDAhMR6HEHK qZuhqhdc9XBGrkZgFC11IeW9d0Ts9UwR2A26Ahrt1jxWgipNnY2D+vyO1BT+QK1M 3sbOOsprKjlaa0IA2s0YZ6PIlT7GqKWWNx/3JR2Cj2SXRG2L4tEBf54ZmJKg4Icz nd7niDIUQe9Ne8j0snSx+mXe4juRqrOr8+X0r1Gu1VRHO+rNm/yFMaaoihjL9rYN 16aYDkbsmn4TeUQJ1XX6KfdaUZ9phxld09GNRjzz0cMybRh+ebYaUhCTnWDi/umE rZ8xy33uLYvqS8/5YxKb2GVPyB94NDkBx3BtBqMN2pdhQLhGy7Aa0Xn8E6STm0PR 5ga91S1w== Received: from localhost (golem.pkh.me [local]) by golem.pkh.me (OpenSMTPD) with ESMTPA id 0e186f5d; Tue, 5 Sep 2017 16:09:47 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= To: ffmpeg-devel@ffmpeg.org Date: Tue, 5 Sep 2017 18:09:43 +0200 Message-Id: <20170905160944.1429-1-u@pkh.me> X-Mailer: git-send-email 2.14.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/2] build: fix objcc header check X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.20 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 Cc: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" From: Clément Bœsch Currently, when checking for AVFoundation/AVFoundation.h, the actual enabled header is math.h. Similarly, when testing for QuartzCore/CoreImage.h, the actual enabled header is CoreGraphics/CoreGraphics.h. This is completely broken and may be the reason why these checks are made in random places. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 2f3fa2ba3d..54fe846fea 100755 --- a/configure +++ b/configure @@ -1117,7 +1117,7 @@ check_header_objcc(){ { echo "#include <$header>" echo "int main(void) { return 0; }" - } | check_objcc && check_stat "$TMPO" && enable_safe $headers + } | check_objcc && check_stat "$TMPO" && enable_safe $header } check_func(){