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 1D15440DDA for ; Tue, 8 Feb 2022 11:03:31 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 2183D68B2AB; Tue, 8 Feb 2022 13:03:02 +0200 (EET) Received: from mail-ua1-f44.google.com (mail-ua1-f44.google.com [209.85.222.44]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id C4AB968B28F for ; Tue, 8 Feb 2022 13:02:55 +0200 (EET) Received: by mail-ua1-f44.google.com with SMTP id d22so6544442uaw.2 for ; Tue, 08 Feb 2022 03:02:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=1xp2Fza12i5jI3hENUFBzZjJytb2Fn8irXXdloVja74=; b=Q1VFI//qrWF2GrxkNnDAohteS6KwhunfMIwaicpkfR8BzCklc1LQUyS/jKQKt2VO9C PmF4X9n1c8IMyFGRynTxHhC8QrVHFieZJJAM7RcVwDDllTUAbxC62rOXjCRFxLmQ9eoU OL+fHU0+5MvvhrNLYKDBNhFx2Ij7sfv+CiyJsxUk6PedAttH6e5N5N05doSSy2crNdQ3 cBDdip+4vtuQY4OkiesyC0NEO6plVjpIZcZnAeDM3P6EK50QKwQqy3H6Ls4am9mMBzeH w5ALAEPgWg/kd71vWCM6KcrZlqlk8hemFT0VujXMIrNK86ebWTpjyPrKeIPPyLGJl3YT +qJQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=1xp2Fza12i5jI3hENUFBzZjJytb2Fn8irXXdloVja74=; b=G576cu9N2/d76YojBw93ToB7vW17oDl9ubhgs7VmXGniPuMrn6p0gqf0h7WI1n4y1x c8FU/GFpzqRwolb+gJ0Dtpoy6wLK7/3U9Ew8XN5/DPrbEtaKX0V3jRv4wg9zCIPoQhnX 2qO7rqxIAM0R9SUPcpVdfM5b+/lTlSxDjjy/hRmNu5VqMpUpboDR8C0eThaDx/tZxOha Kb/eLMJjP8CsQ/Nxg3xRd29ZS/iM8cbvXk5PCHiz/l0bGta1doUK+p3CtdrVgfnFT3lz kmdKt1pZaWY+mVL+0DNXnMQ0CPGmD4462KWnpU7FwM1F4szUfriZKY+W0NOzso5IuhVH PVcg== X-Gm-Message-State: AOAM5324XPy5gZU/6Vdk9R3qFKa+IpXaMsJ9kV589GxbT3IMYBaV3T5T XSSts1Fsdrng08PViM9PCFQPd9xlnSM= X-Google-Smtp-Source: ABdhPJzLdsN1XN/8SxtmuFuJ/GFjxKp3JcP1vzqT0+7/zE/i9wV/vXD0AnEIzgxYxIbqfSAUZy3QGg== X-Received: by 2002:ab0:604e:: with SMTP id o14mr1405293ual.71.1644318174480; Tue, 08 Feb 2022 03:02:54 -0800 (PST) Received: from cappuccino.. ([75.115.109.114]) by smtp.gmail.com with ESMTPSA id u9sm121675vsn.1.2022.02.08.03.02.54 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 08 Feb 2022 03:02:54 -0800 (PST) From: Stephen Hutchinson To: ffmpeg-devel@ffmpeg.org Date: Tue, 8 Feb 2022 06:02:40 -0500 Message-Id: <20220208110240.4179-4-qyot27@gmail.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20220208110240.4179-1-qyot27@gmail.com> References: <20220208110240.4179-1-qyot27@gmail.com> MIME-Version: 1.0 Subject: [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 Cc: Stephen Hutchinson Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: 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 && -- 2.32.0 _______________________________________________ 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".