From patchwork Mon Jun 12 23:47:26 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Reino Wijnsma X-Patchwork-Id: 3959 Delivered-To: ffmpegpatchwork@gmail.com Received: by 10.103.22.4 with SMTP id 4csp95379vsw; Mon, 12 Jun 2017 16:47:23 -0700 (PDT) X-Received: by 10.28.131.213 with SMTP id f204mr9434574wmd.26.1497311243422; Mon, 12 Jun 2017 16:47:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1497311243; cv=none; d=google.com; s=arc-20160816; b=bLckvzBwBH0/IYzh1D9PGBdGBOUAJn+KuQGvLm0QYjVjCOa9E7s2R5V9jXD8yWW3Zy Iatpa9+mgRugbsTMTlvK/dymggDosHiQpapPrxb+urhkRl2Xycpcltt7Plsttu4qzArV dmfO+pxRZXzvLqPEK1M+EwfN7DRQQ5/JHMCDKc2LjL1861J5FD+ug4wACWnDMgDcG4qu rOi4mm4SOerMdwsopc7ZN4MkIz16CgL1rC0NCW0drY/nju25L4roZShY5w3bLjUlbfZa fu/x4PzWfCF4vlIrimCp6PvaU0m46pDVvxK76Wt1QhxAo2T9KBnY+ztUZQ/Zwm1O+HGm Eu+A== 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 :mime-version:user-agent:date:message-id:from:to:delivered-to :arc-authentication-results; bh=abBOHxtAeiml9irILMTlFDdmWTYE84G/Sl/6U5iU7NE=; b=sW6tgFR41JyICiEQy4p5BOT4+S7kV3AC+P+3p/9Daonn3J7q4VmTA5VHFOkyHaM/i9 LethIs2yN2hj314VIKTQkwmUnxCQxG3qbgaYY6EcWXXfc4p+wutiXvL3bMuHP6p6vIyT JQny2bcYMibBIL6gp+1N3vICUHPx0WJ49yzgUkE8PRZKXxoUxyWmk16DP+tHL8ONdjhh SFL1UfN7E+DVLcl8JO4ifIv0WPv0NXJB/oGdhZOy+b5OJdqDWU+GO6y3GLnCsMZPyeRC TP1nOsSi1wAExIs4bN5uV97w+6rrp/GV/TyCl3QaJB+ShYdpWc+1sZX0PH/hXrhZIQZO e7jQ== ARC-Authentication-Results: i=1; mx.google.com; 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 e11si10681161wrc.308.2017.06.12.16.47.23; Mon, 12 Jun 2017 16:47:23 -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; 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 BFA1C68A124; Tue, 13 Jun 2017 02:47:18 +0300 (EEST) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from lb1-smtp-cloud3.xs4all.net (lb1-smtp-cloud3.xs4all.net [194.109.24.22]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 96ABC688338 for ; Tue, 13 Jun 2017 02:47:12 +0300 (EEST) Received: from [IPv6:2001:980:2408:1:9940:6a39:cae5:d2e8] ([IPv6:2001:980:2408:1:9940:6a39:cae5:d2e8]) by smtp-cloud3.xs4all.net with ESMTP id XznD1v0052waueA01znEHA; Tue, 13 Jun 2017 01:47:14 +0200 To: ffmpeg-devel@ffmpeg.org From: Reino Wijnsma Message-ID: <593F280E.6000300@xs4all.nl> Date: Tue, 13 Jun 2017 01:47:26 +0200 User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 X-Content-Filtered-By: Mailman/MimeDel 2.1.20 Subject: [FFmpeg-devel] configure: Add libcaca cppflags in 'configure' to prevent the use of '--extra-cflags' 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 patch adds libcaca cppflags in 'configure' to prevent the use of '--extra-cflags'. This is all that's needed to successfully cross-compile FFmpeg with Libcaca. From ba27f7d90c5c3883bd302caf977837d970d46387 Mon Sep 17 00:00:00 2001 From: Reino17 Date: Tue, 13 Jun 2017 01:19:07 +0200 Subject: [PATCH] Add libcaca cppflags in 'configure' to prevent the use of '--extra-cflags' --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index e3941f9..d96dbf9 100755 --- a/configure +++ b/configure @@ -5795,7 +5795,7 @@ enabled libbs2b && require_pkg_config libbs2b bs2b.h bs2b_open enabled libcelt && require libcelt celt/celt.h celt_decode -lcelt0 && { check_lib libcelt celt/celt.h celt_decoder_create_custom -lcelt0 || die "ERROR: libcelt must be installed and version must be >= 0.11.0."; } -enabled libcaca && require_pkg_config caca caca.h caca_create_canvas +enabled libcaca && require_pkg_config caca caca.h caca_create_canvas -DCACA_STATIC && add_cppflags -DCACA_STATIC enabled libdc1394 && require_pkg_config libdc1394-2 dc1394/dc1394.h dc1394_new enabled libfdk_aac && { use_pkg_config fdk-aac "fdk-aac/aacenc_lib.h" aacEncOpen || { require libfdk_aac fdk-aac/aacenc_lib.h aacEncOpen -lfdk-aac &&