From patchwork Thu Nov 17 10:09:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anton Khirnov X-Patchwork-Id: 39303 Delivered-To: ffmpegpatchwork2@gmail.com Received: by 2002:a05:6a21:999a:b0:a4:2148:650a with SMTP id ve26csp993857pzb; Thu, 17 Nov 2022 02:10:09 -0800 (PST) X-Google-Smtp-Source: AA0mqf5ux+OzSdX3S6Lu+N0vz7aRHkKxvXu0YzE1c9ObS5j6TpK1RM2XlMSVUqTlL6WwLxQfvw2Z X-Received: by 2002:a05:6402:294d:b0:467:6b55:3cf5 with SMTP id ed13-20020a056402294d00b004676b553cf5mr1580291edb.22.1668679809224; Thu, 17 Nov 2022 02:10:09 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668679809; cv=none; d=google.com; s=arc-20160816; b=L81JIYgQgC6+Q27QkKN7+hnW7PlXFktqQE3K9IRvpwWMO4WNWBN2cSAtAB63fmCjhF lYu5Tl1q6Vx/Fk7QFX4vo6HcwODvXYZMKONWtjVbpoQotnbbgqCGorjEGpj6g/MV0nlX dYgkta/kkG1h4Au25QN5F3oXatlrzrwZBWiza5NVFMjbs7/iLmJAPVKHfczcUcInHC8M lkRO/rmOpUzna6bAtPDska2t2rgyZ5acj4sua2Nm1bliYgBSjR5XffDs6qFgcACBcVYF O/CRnd+KlhpNhUnUdP10H7eRBVQoGhpqHN3XZGM9+N0NB17ODWn/1tvi7aIJFO7tqOEL VVew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:content-transfer-encoding:reply-to:list-subscribe :list-help:list-post:list-archive:list-unsubscribe:list-id :precedence:subject:mime-version:message-id:date:to:from :delivered-to; bh=0VZy9Jvk6lk7NGFYo0vJyx7eQAsqdE3uNrafKynKCx8=; b=khPt6K9BMs/61B9LxueRHy7JG5jNiHPmnFDR86BMEJFx/Wm2NKA5qhNPOMHJid53vw v4mkKnu2dFP/ZBdO0bM5iPKPMVYrOcmfm29UL2RVCKDr/UWMzfZYg5jymfSts0JVhg2K 3i92oG1nPKTRUeY/dwHv26Ch204v9WF3ehEvi4Ai+nE8YVU7jMZrg+kWVwqdqHK2cQCe Xu8MlQJZxEmYbG+HN0sCvMVVSY1JTIKet1qNmC8cVJ+nSYg1aE9IIsHR6jm5u0YWvf97 xZtPG2wFMgIg3x1WchXh/kfy3yJpg2xSYfbMIeMMrRyTNZjrLCigHakF5g2+zXW32V6z sL/g== 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 n2-20020aa7c782000000b00443088b40b7si501204eds.123.2022.11.17.02.10.08; Thu, 17 Nov 2022 02:10:09 -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; 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 BFB4C68BBBF; Thu, 17 Nov 2022 12:10:04 +0200 (EET) X-Original-To: ffmpeg-devel@ffmpeg.org Delivered-To: ffmpeg-devel@ffmpeg.org Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 8730068BA90 for ; Thu, 17 Nov 2022 12:09:57 +0200 (EET) Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 1027B2406C7 for ; Thu, 17 Nov 2022 11:09:57 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavisd-new, port 10024) with ESMTP id TaCfvz4Ohnoj for ; Thu, 17 Nov 2022 11:09:56 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:2a00:c500:561:201::7]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "libav.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 789B62400F5 for ; Thu, 17 Nov 2022 11:09:56 +0100 (CET) Received: from libav.khirnov.net (libav.khirnov.net [IPv6:::1]) by libav.khirnov.net (Postfix) with ESMTP id 06E6B3A01E5 for ; Thu, 17 Nov 2022 11:09:50 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org Date: Thu, 17 Nov 2022 11:09:36 +0100 Message-Id: <20221117100942.6217-1-anton@khirnov.net> X-Mailer: git-send-email 2.35.1 MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 1/7] configure: drop support for complex functions 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 Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" X-TUID: 30aAzJJv8rol They are not used since 520a5d33f0ea9f8838dbc7282470db700d248065. --- configure | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/configure b/configure index e6470dc03b..868d11567b 100755 --- a/configure +++ b/configure @@ -1317,21 +1317,6 @@ int main(void){ $func(); } EOF } -check_complexfunc(){ - log check_complexfunc "$@" - func=$1 - narg=$2 - shift 2 - test $narg = 2 && args="f, g" || args="f * I" - disable $func - test_ld "cc" "$@" < -#include -float foo(complex float f, complex float g) { return $func($args); } -int main(void){ return (int) foo; } -EOF -} - check_mathfunc(){ log check_mathfunc "$@" func=$1 @@ -2224,11 +2209,6 @@ INTRINSICS_LIST=" intrinsics_neon " -COMPLEX_FUNCS=" - cabs - cexp -" - MATH_FUNCS=" atanf atan2f @@ -2403,7 +2383,6 @@ HAVE_LIST=" $(add_suffix _inline $ARCH_EXT_LIST) $ARCH_FEATURES $BUILTIN_LIST - $COMPLEX_FUNCS $HAVE_LIST_CMDLINE $HAVE_LIST_PUB $HEADERS_LIST @@ -6541,10 +6520,6 @@ for func in $MATH_FUNCS; do eval check_mathfunc $func \${${func}_args:-1} $libm_extralibs done -for func in $COMPLEX_FUNCS; do - eval check_complexfunc $func \${${func}_args:-1} -done - # these are off by default, so fail if requested and not available 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" ||