From patchwork Wed Aug 30 12:09:02 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: 4893 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.15.201 with SMTP id 70csp448075jao; Wed, 30 Aug 2017 05:09:57 -0700 (PDT) X-Google-Smtp-Source: ADKCNb6j95MZZh0HzJ2VXfGsKkpb9z18mwJxea/bnNXcFKK6IBvMGkS42sz428r9yZpBf/rKHcy7 X-Received: by 10.28.17.10 with SMTP id 10mr1086376wmr.74.1504094997624; Wed, 30 Aug 2017 05:09:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1504094997; cv=none; d=google.com; s=arc-20160816; b=RbaZSQ/CLZePNGeQFJIlUpd3SEHousdxvSS2aQyxrl/Ni2TD0fI1jerpbHj1gU8o1w JRfle/fLVutztNuImJaGVh7xOhGIUij8vCwC8/8Z1tR3wVOHSTIz5gF+LmOAEnywzyn2 zX8g3pCh/0fxFEM7JbLz02td9vgjNp1G6HsLuXLU+AfF1WmOyxiaq3sa+MLf/xvGGzR0 dhMpujny76mmm+OVmCdC02f4l9B7YG6peuaJpTeDxoMRmiP4Jsm+VUegAZl8Kcy37xgK 6LkMcRd8Hp6ob1jnaWj64am5rrIGQX/Zmrz3YzaeshdIvW1bpK9DN0ZytaTlpReknO46 Fj1w== 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:references:in-reply-to :message-id:date:to:from:domainkey-signature:dkim-signature :delivered-to:arc-authentication-results; bh=85RbIg6GvLXO2aRAiI1oqHIsXRGHecz/20fRdUjHX/o=; b=tWxKb9dEs+9BWTSK9ujI5p/UqA3Qt9v53P22DuQwK7R03DZGk3l+sAyEV/6Mg5yrYl c2SLA+c4s7QH0ptdpEvHk3GzIIwV1OpGipdupdE3lnQGXVkrjkZp10c5YGOy1BEQRNP/ lrhr0iNZPxqyV4dvOk7cH6Cmva+ZO28dFE7H98kjB4DzWJK63Drs58riuVF0LPvUa13X bqaloNBS5DTqPIq1xW2TPhAjNyNBjyW0Tf70llimwIgnAJucoIUzjiGKzeutdwKJw8wN T2eGa8keiC4hvFH7qJskMbyoqgNHE5Iez/ixmGQAAJVWXaYEntITvieXIOh+CKAXPs0+ QaZg== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@pkh.me header.s=selector1 header.b=pIPqHVli; 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 74si4202786wrm.66.2017.08.30.05.09.57; Wed, 30 Aug 2017 05:09:57 -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=pIPqHVli; 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 0D40268A2EE; Wed, 30 Aug 2017 15:09:34 +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 5DEC868A2C0 for ; Wed, 30 Aug 2017 15:09:27 +0300 (EEST) Received: from golem.pkh.me (localhost.localdomain [127.0.0.1]) by golem.pkh.me (OpenSMTPD) with ESMTP id 5ffba681; Wed, 30 Aug 2017 12:09:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pkh.me; h=from:to:cc :subject:date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; s=selector1; bh=W9LJqUo 4/Myu2uAKa+A2Vc40/VQ=; b=pIPqHVliuKDFZQS7ffZ2AJVJo1JnW5SxhsoeyBn xUgvR3phJ3FCCSt9Z9HB43IlfDKyCimnBS9hZ2yjpIxfSl8McYF0URWE6QVxoVYY MiLapevHrMnrcJNuiFTWT5sWCBN8vDDu6bXnmRdZkAVsZ/cOlT84xKVEHQsW/JvX JXEiDLXMKJJqYbWQsBeBHbQOjXK2s0iX+kl7yv1E9C7/VWXW8EuZq/sa2+tgZEzR iJWfKHLLuGQX3N4pQaUCX9XsIdPnN8xH3qjRKIqStQELDBtroVgw3GkVoajl6TNh sELiaMN+SlNVE1ALNQpgh1P58ul25taiyW2bEgy3Y/co8dA== DomainKey-Signature: a=rsa-sha1; c=nofws; d=pkh.me; h=from:to:cc:subject :date:message-id:in-reply-to:references:mime-version :content-type:content-transfer-encoding; q=dns; s=selector1; b=G 1KRc39EKse0L8pna1sszQMtOp+0R3IIKd0WJwCVvE3ys8cXiaL+aGl7Tk3ys9X7S 5y4aNVfvSW6uUeS3wwhTcOPNKJlYqlsmrIi7jIEaP6SSj1wAyJk2KGZHVQRxYDLZ MD0LJu6SRNzoz1CgzPXRmv0vxtfyttGapHgBYMog7Xxu/BoOLth3aMbl0sZ7uJwi tvXyYWSj0rKppcXoxkERggG717Eoiojc7BAXd/0TgyB3lEM2zG/nZ6uTesjG95BQ AbHeNE++koc3H3dbMonr9GnLUZEotng/ZDlEYaLoH6cug3METpxpqkJDYOu13jam YLd4wxMGjfQ4QbKFsVdtA== Received: from localhost (golem.pkh.me [local]) by golem.pkh.me (OpenSMTPD) with ESMTPA id c05bc1ec; Wed, 30 Aug 2017 12:09:17 +0000 (UTC) From: =?UTF-8?q?Cl=C3=A9ment=20B=C5=93sch?= To: ffmpeg-devel@ffmpeg.org Date: Wed, 30 Aug 2017 14:09:02 +0200 Message-Id: <20170830120915.13050-4-u@pkh.me> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20170830120915.13050-1-u@pkh.me> References: <20170830120915.13050-1-u@pkh.me> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 03/16] build: treat iconv like other autodetected libraries 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 --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index a9932aeba6..b4b1288722 100755 --- a/configure +++ b/configure @@ -3605,6 +3605,8 @@ enable_weak cuda cuvid nvenc vda_framework videotoolbox videotoolbox_encoder # Enable compression/decompression libraries by default enable_weak zlib bzlib lzma +enable_weak iconv + disabled logging && logfile=/dev/null die_license_disabled() { @@ -6202,7 +6204,7 @@ int main(void) { return 0; } EOF # Funny iconv installations are not unusual, so check it after all flags have been set -disabled iconv || check_func_headers iconv.h iconv || check_lib iconv iconv.h iconv -liconv +enabled iconv && check_func_headers iconv.h iconv || check_lib iconv iconv.h iconv -liconv enabled debug && add_cflags -g"$debuglevel" && add_asflags -g"$debuglevel"