[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 7/8] configure: Relax check for libseccomp
From: |
Thomas Huth |
Subject: |
[Qemu-devel] [PULL 7/8] configure: Relax check for libseccomp |
Date: |
Thu, 2 May 2019 18:13:09 +0200 |
From: Helge Deller <address@hidden>
All major distributions do support libseccomp version >= 2.3.0, so there
is no need to special-case on various architectures any longer.
Signed-off-by: Helge Deller <address@hidden>
Message-Id: <address@hidden>
Reviewed-by: Thomas Huth <address@hidden>
Acked-by: Eduardo Otubo <address@hidden>
Reviewed-by: Daniel P. Berrangé <address@hidden>
Reviewed-by: Philippe Mathieu-Daudé <address@hidden>
Signed-off-by: Thomas Huth <address@hidden>
---
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
-libseccomp_minver="2.2.0"
if test "$seccomp" != "no" ; then
- case "$cpu" in
- i386|x86_64|mips)
- ;;
- arm|aarch64)
- libseccomp_minver="2.2.3"
- ;;
- ppc|ppc64|s390x)
- libseccomp_minver="2.3.0"
- ;;
- *)
- libseccomp_minver=""
- ;;
- esac
-
- if test "$libseccomp_minver" != "" &&
- $pkg_config --atleast-version=$libseccomp_minver libseccomp ; then
+ libseccomp_minver="2.3.0"
+ if $pkg_config --atleast-version=$libseccomp_minver libseccomp ; then
seccomp_cflags="$($pkg_config --cflags libseccomp)"
seccomp_libs="$($pkg_config --libs libseccomp)"
seccomp="yes"
else
if test "$seccomp" = "yes" ; then
- if test "$libseccomp_minver" != "" ; then
- feature_not_found "libseccomp" \
- "Install libseccomp devel >= $libseccomp_minver"
- else
- feature_not_found "libseccomp" \
- "libseccomp is not supported for host cpu $cpu"
- fi
+ feature_not_found "libseccomp" \
+ "Install libseccomp devel >= $libseccomp_minver"
fi
seccomp="no"
fi
--
2.21.0
- [Qemu-devel] [PULL 0/8] qtest and misc patches, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 1/8] gitlab-ci.yml: Test the TCG interpreter in a CI pipeline, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 2/8] qtest: Move accel code to accel/qtest.c, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 3/8] qtest: Don't compile qtest accel on non-POSIX systems, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 4/8] accel: Remove unused AccelClass::available field, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 5/8] configure: Add -Wno-typedef-redefinition to CFLAGS (for Clang), Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 6/8] configure: Remove old *-config-devices.mak.d files when running configure, Thomas Huth, 2019/05/02
- [Qemu-devel] [PULL 7/8] configure: Relax check for libseccomp,
Thomas Huth <=
- [Qemu-devel] [PULL 8/8] hw/pci-host: Use object_initialize_child for correct reference counting, Thomas Huth, 2019/05/02
- Re: [Qemu-devel] [PULL 0/8] qtest and misc patches, Peter Maydell, 2019/05/03