From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id F1E53410BF for ; Sun, 13 Feb 2022 23:35:00 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 041C568B2F0; Mon, 14 Feb 2022 01:34:59 +0200 (EET) Received: from mail-vk1-f177.google.com (mail-vk1-f177.google.com [209.85.221.177]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 25C7A68B2E2 for ; Mon, 14 Feb 2022 01:34:53 +0200 (EET) Received: by mail-vk1-f177.google.com with SMTP id l14so8074592vko.12 for ; Sun, 13 Feb 2022 15:34:53 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :references:from:in-reply-to:content-transfer-encoding; bh=1ynZB19Go2Jtif7x+t8mGZzotbxEdJUa84iI4sFydPo=; b=C0b0kXQxXk6mt/TfEyPfPMgT4UnfFziwhFqVXm3lADTXvS+TiO5Qhkrvpmg3XLG014 0hk5oQ+b93xGXCY8DIQmbS3wlWu2+IbeWvfEvmfLr60ptaVnmsg/XAHV0gggn0yeY0ZE mTyGCtN7xpt5AFrN4pEMYEnwaN/o3x+nBkcH0IPrpyWnpvsEaox3jMlYqS8DM533Cizd Lf75khUG1yj50ykSTWKSXoe1bOFF2DuYbe6skPa7FuF1giCS1d+oj+Lt/9ku/pFl2kF6 NGkuxH0mACwzzohJXo6ew2f02qPP9fLT4KXC9KjArhyl8AO8DvBLeaXNXNWyapQzuk8+ DJ1w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:references:from:in-reply-to :content-transfer-encoding; bh=1ynZB19Go2Jtif7x+t8mGZzotbxEdJUa84iI4sFydPo=; b=5kY4ffBQsKBAtxkmuso76ntirPydUhGRsi+Rx7/K3bqBttsQs85sogJL/ijrkbUmAd TxMXKEvmLMfGaMQT6NtH3sdVrqYgE75Qzn+U+JcTIsJJ4MISCuzITwdWkTqFVh+Vk4Sa NHNadwT1DbOT5Lhnn8CF3rktazIQW5GOJyd/08F379v2+nxCwyI9fUIi8u5MZqjeHYHg qjYz1wZ9KBgNKU2WvX1xRb/J/UMckMBH4HU32NUsEc0zhfdPG2mZMDGYG2vMzCT5O73a Wbq/SFQiC3VJr6mwR5yRTxwoS2r4EksH1m1MzFlFX4hOd08aY1BiavhdikGY/+qao7Ap VbWg== X-Gm-Message-State: AOAM531fyYI0F6tou02I9AEIUj1q/gZ0EXejWDxBB+92KDVH/vVhBKiM e5F+bHuA8g05OqjvRljfhllc1x/fS5g= X-Google-Smtp-Source: ABdhPJyKiJ1q6F/LFIVaXZHvUkdAkTOdL6tpqZKq0TjqRCquB+7e656iJwR/kpYUuKBIVjVbVEP8uw== X-Received: by 2002:a05:6122:787:: with SMTP id k7mr3186265vkr.30.1644795291596; Sun, 13 Feb 2022 15:34:51 -0800 (PST) Received: from [192.168.1.5] ([75.115.109.114]) by smtp.gmail.com with ESMTPSA id r14sm3508194vke.20.2022.02.13.15.34.51 for (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Sun, 13 Feb 2022 15:34:51 -0800 (PST) Message-ID: <76461c22-519c-9636-a957-5afe06b1281e@gmail.com> Date: Sun, 13 Feb 2022 18:34:50 -0500 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0 Content-Language: en-US To: FFmpeg development discussions and patches References: <20220208110240.4179-1-qyot27@gmail.com> <20220208110240.4179-4-qyot27@gmail.com> From: Stephen Hutchinson In-Reply-To: <20220208110240.4179-4-qyot27@gmail.com> Subject: Re: [FFmpeg-devel] [PATCH 3/3] configure: check avisynth header version X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 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 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: On 2/8/22 6:02 AM, Stephen Hutchinson wrote: > The headers from version 3.7.1 are needed in order to support > parsing of frame properties. avs/version.h has been generated > as part of the AviSynth+ build process for a long time, but was > never installed with the includes until version 3.7.1a. Checking > for the presence of avs/version.h might have been sufficient, > but a version check mechanism might be useful in the future. > > This does not change the version compatibility with the library > itself; previous 3.x versions of AviSynth+ as well as AviSynth 2.6 > can still be used with the demuxer. > > Signed-off-by: Stephen Hutchinson > --- > configure | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/configure b/configure > index 493493b4c5..544d341b49 100755 > --- a/configure > +++ b/configure > @@ -6508,7 +6508,9 @@ for func in $COMPLEX_FUNCS; do > done > > # these are off by default, so fail if requested and not available > -enabled avisynth && require_headers "avisynth/avisynth_c.h" > +enabled avisynth && { require_headers "avisynth/avisynth_c.h avisynth/avs/version.h" && > + { test_cpp_condition avisynth/avs/version.h "AVS_MAJOR_VER >= 3 && AVS_MINOR_VER >= 7 && AVS_BUGFIX_VER >= 1 || AVS_MAJOR_VER >= 3 && AVS_MINOR_VER > 7 || AVS_MAJOR_VER > 3" || > + die "ERROR: AviSynth+ header version must be >= 3.7.1"; } } > enabled cuda_nvcc && { check_nvcc cuda_nvcc || die "ERROR: failed checking for nvcc."; } > enabled chromaprint && require chromaprint chromaprint.h chromaprint_get_version -lchromaprint > enabled decklink && { require_headers DeckLinkAPI.h && Pushed. _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".