From patchwork Thu Apr 18 23:04:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Carl Eugen Hoyos X-Patchwork-Id: 12802 Return-Path: X-Original-To: patchwork@ffaux-bg.ffmpeg.org Delivered-To: patchwork@ffaux-bg.ffmpeg.org Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by ffaux.localdomain (Postfix) with ESMTP id 24E79448C1E for ; Fri, 19 Apr 2019 02:04:46 +0300 (EEST) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id F382A6897D6; Fri, 19 Apr 2019 02:04:45 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail-it1-f180.google.com (mail-it1-f180.google.com [209.85.166.180]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id B09FA680ACD for ; Fri, 19 Apr 2019 02:04:38 +0300 (EEST) Received: by mail-it1-f180.google.com with SMTP id y10so5877413itc.1 for ; Thu, 18 Apr 2019 16:04:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:from:date:message-id:subject:to; bh=UDQHhLnxFrdBDH/PGj/Jsf4MITEVwsAYeP5Iu6PtjjU=; b=iJlCcrxPqe3kymViC9yAPVz9dIw1W/JsJw/49Cwbb0+G3Td6aLvqGQdpXv/3hKCoyD qxqI0mX3SkBH3SlwWwW8QkJ/boGiT9Zp9grk/SB4X+KtKtLN54L8CJMhKO3st3eYpx7b jQ4fqgV9VZCeGov0GEdajjU+uoTecZHLUDUrPKv3nPbjGUrQFDFeuo7ChS2zxsmF/+cW MMrgXWxImF60wg3VxswkSCtTFo/ZIWcy/U/lq3vEEMSAszzITehDijR1JOSrnOh7Y1Hw SvJXAbBdZiskODItTVPEhcLP9DCSe8cS+UoPUQxkOw6ausyy3IcGiDBHQBfLcXTj4WiT o/Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=UDQHhLnxFrdBDH/PGj/Jsf4MITEVwsAYeP5Iu6PtjjU=; b=Ft0iIdfcH4BetCRh+LRRffE5yNWXqV2cg549emw6PHscDGjXquUfAP5NVOFLqVaV4K mpWH4G3tT4j4jl9LQ0mhfddvqclcHDg7Ma1CmIPA+l+buND+YpjJb5/nDBLpuYu8sDKy sJAO5wyNvC45fgN2Z6GPFpJa8HS5WjEkIPAGgkp+8v/+bnb3AyxLI/OW/9hwqRyLCmrE A47kiqcsQuAw1RtNT4+x+5K9OMXFcoehu6IT5pCFveQzF33ZRwGYxOpPqg7Ij7VYMz8n aaveIA+vZChYYWfr4XSz0q4zOmaxBDsREnlNrIt6FHPL+YkV92oHvUcDpL8SBniO5JfX ktTA== X-Gm-Message-State: APjAAAXSyCTwu5Nx/8zPz8OdFdJm4pk2BhcVMtoTpC8TNIr4OV0wBJ+L Qs1h9iEWOxL64MzXpOiZ2E7rS/h/XIMjLwxpf6yaOg== X-Google-Smtp-Source: APXvYqzlCHL/D4PaiI2oWUn8WLMlMQVCRcsU+vOhv8dgycw7G4Gtz1HKlb8V24owfVn1jBA7JB4K9fTMZ0HRVNyUDRI= X-Received: by 2002:a02:bb81:: with SMTP id g1mr291067jan.49.1555628676298; Thu, 18 Apr 2019 16:04:36 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:5503:0:0:0:0:0 with HTTP; Thu, 18 Apr 2019 16:04:35 -0700 (PDT) From: Carl Eugen Hoyos Date: Fri, 19 Apr 2019 01:04:35 +0200 Message-ID: To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] [PATCH]configure: Fix libmfx detection 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" Hi! I needed attached patch to use libmfx. Please comment, Carl Eugen From 46bde1c4c314a5aad30632a18ae81a5dd8174722 Mon Sep 17 00:00:00 2001 From: Carl Eugen Hoyos Date: Fri, 19 Apr 2019 01:03:22 +0200 Subject: [PATCH] configure: Fix libmfx detection. --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e10e2c2..cacefb1 100755 --- a/configure +++ b/configure @@ -6160,7 +6160,7 @@ enabled liblensfun && require_pkg_config liblensfun lensfun lensfun.h lf_ # pkg-config support. Instead, users should make sure that the build # can find the libraries and headers through other means. enabled libmfx && { check_pkg_config libmfx libmfx "mfx/mfxvideo.h" MFXInit || - { require libmfx "mfx/mfxvideo.h" MFXInit "-llibmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } } + { require libmfx "mfx/mfxvideo.h" MFXInit "-lmfx $advapi32_extralibs" && warn "using libmfx without pkg-config"; } } enabled libmodplug && require_pkg_config libmodplug libmodplug libmodplug/modplug.h ModPlug_Load enabled libmp3lame && require "libmp3lame >= 3.98.3" lame/lame.h lame_set_VBR_quality -lmp3lame $libm_extralibs enabled libmysofa && { check_pkg_config libmysofa libmysofa mysofa.h mysofa_load || -- 1.7.10.4