From nobody Sun Feb 8 22:58:04 2026 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=1556813731; cv=none; d=zoho.com; s=zohoarc; b=G2nzmnXfd8jkOxl/BLBYpY8M8V0kHy5hN3wz1bRAJ4+g3yPZ3X+mz3u04G4lIF23R8UUBLeaSIbEsWcDKc239fM79fVU7Yf6iASz71SbYf7ODvrqsHHDTeDdsDsu0cButHxvtLjkhuWXL/K4QnrssMY39W/zJiFec/a07boVYs4= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zoho.com; s=zohoarc; t=1556813731; 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=OmsdsOg0+ptiUQ7Ylsv9raUvBLQMAyhfjZoMq5TtMaA=; b=Xr8cVRkXf0tpcjy/nzNtqSn5RdEVadIr0Qfk1BarFYD4h2/B8kx56DRzYUIvxtDtgrtRwpdwYghpng/vcAXNushqS6oChotvquLtsXLa2uk3kunnJEESeQdudWk5N42aDTq8qgxkE0UDYkSNe2Ur8PZqRMg9bD7qqyUikn8Pkc0= 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 1556813731493163.13572230821057; Thu, 2 May 2019 09:15:31 -0700 (PDT) Received: from localhost ([127.0.0.1]:54006 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMEMq-0005Zs-BN for importer@patchew.org; Thu, 02 May 2019 12:15:28 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43317) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hMEL5-0004H6-Cg for qemu-devel@nongnu.org; Thu, 02 May 2019 12:13:40 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hMEL4-0002MP-Cm for qemu-devel@nongnu.org; Thu, 02 May 2019 12:13:39 -0400 Received: from mx1.redhat.com ([209.132.183.28]:33760) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hMEL4-0002MD-6v for qemu-devel@nongnu.org; Thu, 02 May 2019 12:13:38 -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 80EF73086237; Thu, 2 May 2019 16:13:37 +0000 (UTC) Received: from thuth.com (ovpn-116-131.ams2.redhat.com [10.36.116.131]) by smtp.corp.redhat.com (Postfix) with ESMTP id 149BA1837B; Thu, 2 May 2019 16:13:35 +0000 (UTC) From: Thomas Huth To: Peter Maydell , qemu-devel@nongnu.org Date: Thu, 2 May 2019 18:13:09 +0200 Message-Id: <20190502161310.15624-8-thuth@redhat.com> In-Reply-To: <20190502161310.15624-1-thuth@redhat.com> References: <20190502161310.15624-1-thuth@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.42]); Thu, 02 May 2019 16:13:37 +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 7/8] 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: Eduardo Otubo , Helge Deller , Eduardo Habkost 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 Message-Id: <20190404183923.GA22347@ls3530.dellerweb.de> Reviewed-by: Thomas Huth Acked-by: Eduardo Otubo Reviewed-by: Daniel P. Berrang=C3=A9 Reviewed-by: Philippe Mathieu-Daud=C3=A9 Signed-off-by: Thomas Huth --- configure | 28 ++++------------------------ 1 file changed, 4 insertions(+), 24 deletions(-) diff --git a/configure b/configure index f14b25c49c..3a9bee2621 100755 --- a/configure +++ b/configure @@ -2374,36 +2374,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.21.0