From patchwork Tue Dec 12 09:55:54 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Felix Matouschek X-Patchwork-Id: 6700 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.94 with SMTP id m30csp3861216jah; Tue, 12 Dec 2017 01:56:04 -0800 (PST) X-Google-Smtp-Source: ACJfBosxCpMHdik3JmRnP3gmZiJCCiVInHtc+Cwc8foAcHs5sOw0AZvI5/ehGV0lKM0LJCEMrRsj X-Received: by 10.223.129.247 with SMTP id 110mr3038218wra.208.1513072564166; Tue, 12 Dec 2017 01:56:04 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1513072564; cv=none; d=google.com; s=arc-20160816; b=I8p7tMmFwCEElxuJL13zHPycKKDdt6SpgVXv0Fw/XBkb4ZNeyqfkc8kmk7lmAPCbcP X2qHHb9ligEPw8WrjhgVgZR0gmBPWFXZQioAQvCVb5dHZ8UKwmLKRJzYuhva58D+En46 4Ykz7w2OpnmG6DVs7LRlvdIBtvqbGKFvlfwJ4X1aa7Z7xWN3ep/FUPDgb7YKjk6PwWIJ JPqG5Yo2WNKoT3ZNpEgD/pW/RE6G7AerfyQ2MGII/m3hzs2fCv7jzgnABFkFvTlbegEX GzWcy4P2kxQ7HLyNUFdA6vn+ysqjJaRExWuteOC60Y0fGvosKbvu62nKbva2TGKTUWE4 f1Lg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:reply-to:list-subscribe:list-help:list-post :list-archive:list-unsubscribe:list-id:precedence:subject:message-id :to:from:date:mime-version:dkim-signature:delivered-to :arc-authentication-results; bh=5Spy+hA5p+qBC1G7D1m/dABderHtJxtHxzDD2Q7KsbY=; b=BE6kq4IrBMbXPPxAc9aZW2pfKdcGkArvqAnr+W7tO0mGwd6DrMhzXOZEaaU9kniEMv sTueN1Lb9imQPs7XgMjbfZ7RrAvSsfJ/DK3yYZ3L9pX+nlniCAvtv5uRE0szCCSubtBH 18rKLkdPQRtLizM1wACNn20aywmhVT4y6fN15ArF6zWFVezlizpCcgeOuMygRkfgP/rj 7p6pEyl7CUmhGpsngSfKN5yB8tJOUi5jNYVk5uh1f/bC5++drYHr43sEdto+RfP25WXs F9g3Dw40tcEPaHJnmRmJS89ExNB0S5zgA35zad11M3uoftSbsFtzonNydSsZoe6yZW9V mf0w== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@matouschek.org header.s=mail header.b=kIxTJbcT; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=matouschek.org Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id r136si6768264wmf.262.2017.12.12.01.56.03; Tue, 12 Dec 2017 01:56:04 -0800 (PST) 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=@matouschek.org header.s=mail header.b=kIxTJbcT; 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; dmarc=fail (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=matouschek.org Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 3F96468A327; Tue, 12 Dec 2017 11:55:54 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail.fmat.eu (mail.fmat.eu [37.120.191.63]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 681A0689F59 for ; Tue, 12 Dec 2017 11:55:47 +0200 (EET) Received: from authenticated-user (mail.fmat.eu [37.120.191.63]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.fmat.eu (Postfix) with ESMTPSA id A0B591A028B for ; Tue, 12 Dec 2017 10:55:54 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=matouschek.org; s=mail; t=1513072554; bh=tB9g8GP7WC8RswEUZPl5G8MvCe3LYTUjviKRiTkawTc=; h=Date:From:To:Subject:From; b=kIxTJbcToi1dc8DVBnijy1hcGipDEexkk78YrrPL71C8vCfYMgafkF+pOBtqqME/a LFDeGK4Bh6vGYb0vhBrCl+8FQhQFwE0FuANxJNkODqoW0MzYFLCFMeJBrP/6w5+D8a xD9QFaC3Iwr4hxJMl/PbsjDL56BVdS6stNsrpFtGQKJtY9HSaKt31DdY7oxRd9iWAp nWrnHBdSzWzi6aUWwI5imCCAy2FWv5IoK0m2798+jJnGoBbV+HLuUkR5QLGUuuS9Lj gtpBPjqEE7BecZDhsDJKAtpY2S+XpER/WbUOhqUo0ds8h9n28mq86kkIAvTwGmoxI5 /Q7Lxb9YxyIag== MIME-Version: 1.0 Date: Tue, 12 Dec 2017 10:55:54 +0100 From: Felix Matouschek To: ffmpeg-devel@ffmpeg.org Message-ID: <376c61a3f8d786b2ed63983bbb1591e0@matouschek.org> X-Sender: felix@matouschek.org Subject: [FFmpeg-devel] [PATCH] configure: Fix detection of vp9 decoder/encoder 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" This fixes the detection of the vp9 decoder/encoder. The vp9 decoder/encoder needs libm to successfully link, -lm was missing in the check_lib calls for vp9 in configure. From 0b5bbd7c30f3a76b2e0ab6ceae2bfaebe944b279 Mon Sep 17 00:00:00 2001 From: Felix Matouschek Date: Tue, 12 Dec 2017 10:42:40 +0100 Subject: [PATCH] configure: Fix detection of vp9 decoder/encoder To: ffmpeg-devel@ffmpeg.org The vp9 decoder/encoder needs libm to successfully link, -lm was missing in the check_lib calls for vp9 Signed-off-by: Felix Matouschek --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 8cf48ae1cf..4581850fe5 100755 --- a/configure +++ b/configure @@ -5918,11 +5918,11 @@ enabled libvpx && { } enabled libvpx_vp9_decoder && { check_pkg_config libvpx_vp9_decoder "vpx >= 1.4.0" "vpx/vpx_decoder.h vpx/vp8dx.h" vpx_codec_vp9_dx || - check_lib libvpx_vp9_decoder "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx VPX_IMG_FMT_HIGHBITDEPTH" -lvpx + check_lib libvpx_vp9_decoder "vpx/vpx_decoder.h vpx/vp8dx.h" "vpx_codec_vp9_dx VPX_IMG_FMT_HIGHBITDEPTH" -lvpx -lm } enabled libvpx_vp9_encoder && { check_pkg_config libvpx_vp9_encoder "vpx >= 1.4.0" "vpx/vpx_encoder.h vpx/vp8cx.h" vpx_codec_vp9_cx || - check_lib libvpx_vp9_encoder "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VPX_IMG_FMT_HIGHBITDEPTH" -lvpx + check_lib libvpx_vp9_encoder "vpx/vpx_encoder.h vpx/vp8cx.h" "vpx_codec_vp9_cx VPX_IMG_FMT_HIGHBITDEPTH" -lvpx -lm } if disabled_all libvpx_vp8_decoder libvpx_vp9_decoder libvpx_vp8_encoder libvpx_vp9_encoder; then die "libvpx enabled but no supported decoders found" -- 2.14.1.windows.1