From nobody Thu Apr 25 10:40:08 2024 Delivered-To: importer@patchew.org Received-SPF: pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; envelope-from=qemu-devel-bounces+importer=patchew.org@nongnu.org; helo=lists.gnu.org; Authentication-Results: mx.zohomail.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail(p=none dis=none) header.from=redhat.com ARC-Seal: i=1; a=rsa-sha256; t=1555069133; cv=none; d=zoho.com; s=zohoarc; b=nRT6NnsicSVnzl6zxgEcRGubc/4O8OO+qBILe0FyXSYChvTgaaz5eUQMBw7eCAI62oEi49fMCUZCcoJgy3Owx/nFfxfM5NASbIm9BcgZYAwPrv+Zzx/dugeIde8GwVnAWZ+4RSBaIxpFCzcuMQ6z9v50zxr2ifl533phfcxsUxU= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1555069133; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:List-Subscribe:List-Post:List-Id:List-Archive:List-Help:List-Unsubscribe:MIME-Version:Message-ID:References:Sender:Subject:To:ARC-Authentication-Results; bh=X3dxlqV+igjNR+WGeo49bCs+SQGx9tImk1ExAlZUdeM=; b=eSQrlXQCEk89zrmyo0twTsWov2/Z4f645L7vn0mu21DaABiR91uddlhuNBtkHqdBL/9h0RNkRr7TSd7iR3C1o1bLG0GT03VvCLKc3gVzvmZeX/+TY9TZQS1Ccy9ercPJq9mgwjb4U/yzKrQHt2DZ9zmiXxdMHLp6ME/caxQb4ak= ARC-Authentication-Results: i=1; mx.zoho.com; spf=pass (zoho.com: domain of gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=qemu-devel-bounces+importer=patchew.org@nongnu.org; dmarc=fail header.from= (p=none dis=none) header.from= Return-Path: Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mx.zohomail.com with SMTPS id 1555069133962187.5148299908135; Fri, 12 Apr 2019 04:38:53 -0700 (PDT) Received: from localhost ([127.0.0.1]:34646 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEuW0-0005YJ-Da for importer@patchew.org; Fri, 12 Apr 2019 07:38:40 -0400 Received: from eggs.gnu.org ([209.51.188.92]:57683) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hEuV4-0005GT-8V for qemu-devel@nongnu.org; Fri, 12 Apr 2019 07:37:44 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hEuV3-0003Ln-3a for qemu-devel@nongnu.org; Fri, 12 Apr 2019 07:37:42 -0400 Received: from mx1.redhat.com ([209.132.183.28]:58394) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hEuV2-0003LP-Rn for qemu-devel@nongnu.org; Fri, 12 Apr 2019 07:37:41 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 2B0EE309264C; Fri, 12 Apr 2019 11:37:40 +0000 (UTC) Received: from vader.redhat.com (ovpn-117-148.ams2.redhat.com [10.36.117.148]) by smtp.corp.redhat.com (Postfix) with ESMTP id A4F685D6A9; Fri, 12 Apr 2019 11:37:38 +0000 (UTC) From: Eduardo Otubo To: qemu-devel@nongnu.org Date: Fri, 12 Apr 2019 13:37:30 +0200 Message-Id: <20190412113730.28828-2-otubo@redhat.com> In-Reply-To: <20190412113730.28828-1-otubo@redhat.com> References: <20190412113730.28828-1-otubo@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.43]); Fri, 12 Apr 2019 11:37:40 +0000 (UTC) Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 209.132.183.28 Subject: [Qemu-devel] [PULL 1/1] configure: Relax check for libseccomp X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: peter.maydell@linaro.org, deller@gmx.de, philmd@redhat.com Errors-To: qemu-devel-bounces+importer=patchew.org@nongnu.org Sender: "Qemu-devel" Content-Type: text/plain; charset="utf-8" From: Helge Deller All major distributions do support libseccomp version >=3D 2.3.0, so there is no need to special-case on various architectures any longer. Signed-off-by: Helge Deller Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Acked-by: Eduardo Otubo Acked-by is something that is used to give a different --- configure | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/configure b/configure index 1c563a7027..fcc56aa979 100755 --- a/configure +++ b/configure @@ -2377,36 +2377,16 @@ fi ########################################## # libseccomp check =20 -libseccomp_minver=3D"2.2.0" if test "$seccomp" !=3D "no" ; then - case "$cpu" in - i386|x86_64|mips) - ;; - arm|aarch64) - libseccomp_minver=3D"2.2.3" - ;; - ppc|ppc64|s390x) - libseccomp_minver=3D"2.3.0" - ;; - *) - libseccomp_minver=3D"" - ;; - esac - - if test "$libseccomp_minver" !=3D "" && - $pkg_config --atleast-version=3D$libseccomp_minver libseccomp ; then + libseccomp_minver=3D"2.3.0" + if $pkg_config --atleast-version=3D$libseccomp_minver libseccomp ; then seccomp_cflags=3D"$($pkg_config --cflags libseccomp)" seccomp_libs=3D"$($pkg_config --libs libseccomp)" seccomp=3D"yes" else if test "$seccomp" =3D "yes" ; then - if test "$libseccomp_minver" !=3D "" ; then - feature_not_found "libseccomp" \ - "Install libseccomp devel >=3D $libseccomp_minver" - else - feature_not_found "libseccomp" \ - "libseccomp is not supported for host cpu $cpu" - fi + feature_not_found "libseccomp" \ + "Install libseccomp devel >=3D $libseccomp_minver" fi seccomp=3D"no" fi --=20 2.17.2