From patchwork Wed Nov 29 20:39:40 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Stephen Hutchinson X-Patchwork-Id: 6457 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.2.161.94 with SMTP id m30csp4961894jah; Wed, 29 Nov 2017 12:46:15 -0800 (PST) X-Google-Smtp-Source: AGs4zMYNPblXvq8a6Lr6o2alQD8WBbJ2nbBfma/A2e27LbY8DkMoJwefq1PqpQRVv4I6bs+12k/5 X-Received: by 10.223.173.67 with SMTP id p61mr112128wrc.226.1511988375580; Wed, 29 Nov 2017 12:46:15 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1511988375; cv=none; d=google.com; s=arc-20160816; b=0/wCW5oKpbQHAMz8EAMZOlFw4uK29ydiQikk9wRg/+Gv/YmcjucAQpELkKfgHoIVdN LSbW33RoEhbcpnCoTgfXNfjCuG+K9sGxSxJngJ3+WVQj8NBNxngcQ7gv+rS9ooiFikRi JJUtYClFvgTWZqaK+SLu+ETBwKaR1Rk6cwMRErokxg+hXY81xB2MRqOqUS2D/kkRLeZI zUjC/K1/RSKKHO+y6TxjCMJqWimO3j1M9uPxHMCimBSj/RbpbCs1dvUQ4tpr7W+WbUwV 89SvQMzphZxEN4icrn0Lk+GSSK5+K8uoAhPyqqIoi3Y7gVlzYChh52CXou1vyz0e8mCK g6Cw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:mime-version:reply-to :list-subscribe:list-help:list-post:list-archive:list-unsubscribe :list-id:precedence:subject:references:in-reply-to:message-id:date :to:from:dkim-signature:delivered-to:arc-authentication-results; bh=ULiZn5o/18jY6/E8JfTPdogqsZReF6tL/V52tsuxh68=; b=OvYtIZtsR/CiuuurvcsmBX7XSVTgqo//H5wTI9O5tlI6NhaDRmMWVqZCDfyT8B0zjv DJkMbuD2pA9rWTpF6ZgEP0byhOUj9Qh5eksQx9pAlnFcTqrHCO/fodcSKJ4G6Hm2GlN5 Nj4zgFM6GOVDt8yqusFy85372/Pd2MNgsOIT5qGwjzHaFceCCRDOZZBQFNsUesEyeSjE gdFi/kYAYuBzWtZkJ7qHgvcwJN8TRbjQan12/4YfqCOYJ2RAMutoKy3whEXrxBMJt/Ry eUM2K2UopNA8+7L1n7/VBXFDY+ufI+nLGsj4RC3btDQNmxLfJMgO9+8/6+0eKfBQAF5j PMPQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@gmail.com header.s=20161025 header.b=lh8Ch8np; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org. [79.124.17.100]) by mx.google.com with ESMTP id y102si1918659wmh.198.2017.11.29.12.46.15; Wed, 29 Nov 2017 12:46:15 -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=@gmail.com header.s=20161025 header.b=lh8Ch8np; 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=NONE sp=NONE dis=NONE) header.from=gmail.com Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 21F9B68A560; Wed, 29 Nov 2017 22:46:11 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-oi0-f67.google.com (mail-oi0-f67.google.com [209.85.218.67]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id BA1E768A551 for ; Wed, 29 Nov 2017 22:46:03 +0200 (EET) Received: by mail-oi0-f67.google.com with SMTP id w125so3337514oie.7 for ; Wed, 29 Nov 2017 12:46:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:in-reply-to:references; bh=hVVV9BZ4m9OMWEd0p47ypYkUQ//1qqhpAUWoKYebQ4c=; b=lh8Ch8nptvkgQGIvzk/GHeLm7YHX1rdNzlSXonSkhvHG8rtAyumrPxWEsbw5MX26h8 CZ/UhMBDJ4J77It1aEE9/Z9JmOWCekfHv9PZbVuz3HWoLkgaaBWeVizzdihaTQiE9RDt cK74x6XGTc13z97I7DG2w7WpJpZtSTlE/PkyIqaBmHIEXfmo/y0qr/6XpcsZ4RVqeuKF 4ObuWdpV2x61jumrXt8jAuJM0t0VL65SmHrP077IBRw1R9Zw/J1LMH3zz4ax/EZg7FbF V/Ye2YaZbWInrNHQ+oUeNlIrraufy+JeGdKc+idMY6+IkgrA6oW5/OhFl8WNMCT1uz/F zSpA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references; bh=hVVV9BZ4m9OMWEd0p47ypYkUQ//1qqhpAUWoKYebQ4c=; b=Mj66voJgwgDhWniZ1z1/vUpBSYHEDqHRqrrjATyN38sNic/IbEJX65hx4ZPTzLCPXy w5VWmbN1DihwNsp3PlKV+93hYI3ATti8akTifvC4VlKhvr91uvMpI8qg4TU5RpCxoq0f OlL9JHWkfFVBcLs5MVBtY9Cz9Pc7ph3Crkfb2wKQwiqIugreRQVWSAvGabivjCVcLvhd NK6q/Mgpyy3ogUdMQINW+GiW732TUY+PkIugkfVvitVZqIt7cXg5QJMwQlVELcEroz/I UiPI8F5jqizoZAXRv2jpBT9Rjkm4N8PkMIXwOWcnYqWsJJjrH1NZl1oEn+zwqAt7dGnw YtbA== X-Gm-Message-State: AJaThX7DhU5urtPDQJJuChUfYv+t9HOheqXAjhgU3+BSw/NboR5aOtvr DVuEEiI0/eeCt2zOpUBe+YhwyA== X-Received: by 10.202.104.143 with SMTP id o15mr2879620oik.16.1511988011790; Wed, 29 Nov 2017 12:40:11 -0800 (PST) Received: from localhost.localdomain ([97.96.108.192]) by smtp.gmail.com with ESMTPSA id j9sm1102850oth.31.2017.11.29.12.40.10 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 29 Nov 2017 12:40:11 -0800 (PST) From: Stephen Hutchinson To: ffmpeg-devel@ffmpeg.org Date: Wed, 29 Nov 2017 15:39:40 -0500 Message-Id: <20171129203941.10598-2-qyot27@gmail.com> X-Mailer: git-send-email 2.14.1 In-Reply-To: <20171129203941.10598-1-qyot27@gmail.com> References: <20171129203941.10598-1-qyot27@gmail.com> Subject: [FFmpeg-devel] [PATCH 1/2] configure: add pkg-config detection for twolame 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 MIME-Version: 1.0 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 4e7254eaeb..3c08125da3 100755 --- a/configure +++ b/configure @@ -5888,7 +5888,9 @@ enabled libssh && require_pkg_config libssh libssh libssh/sftp.h sftp enabled libspeex && require_pkg_config libspeex speex speex/speex.h speex_decoder_init enabled libtesseract && require_pkg_config libtesseract tesseract tesseract/capi.h TessBaseAPICreate enabled libtheora && require libtheora theora/theoraenc.h th_info_init -ltheoraenc -ltheoradec -logg -enabled libtwolame && require libtwolame twolame.h twolame_init -ltwolame && +enabled libtwolame && { check_pkg_config libtwolame "twolame >= 0.3.10" twolame.h twolame_init || + require libtwolame twolame.h twolame_init -ltwolame && + warn "using libtwolame without pkg-config"; } && { check_lib libtwolame twolame.h twolame_encode_buffer_float32_interleaved -ltwolame || die "ERROR: libtwolame must be installed and version must be >= 0.3.10"; } enabled libv4l2 && require_pkg_config libv4l2 libv4l2 libv4l2.h v4l2_ioctl