]> git.proxmox.com Git - mirror_qemu.git/commitdiff
seccomp: update libseccomp version and remove arch restriction
authorEduardo Otubo <eduardo.otubo@profitbricks.com>
Tue, 17 Mar 2015 11:03:30 +0000 (12:03 +0100)
committerEduardo Otubo <eduardo.otubo@profitbricks.com>
Wed, 25 Mar 2015 10:03:27 +0000 (11:03 +0100)
Libseccomp version updated to 2.2.0 and arch restriction to x86/x86_64
is now removed. It's supposed to work on armv7l as well.

Related bug: https://bugs.launchpad.net/qemu/+bug/1363641

Signed-off-by: Eduardo Otubo <eduardo.otubo@profitbricks.com>
configure

index 589798e49dfb2c48765a305d58ff272dfc109628..cbe6495d52811491f3cc75d5a943df2614ea379a 100755 (executable)
--- a/configure
+++ b/configure
@@ -1848,14 +1848,13 @@ fi
 # libseccomp check
 
 if test "$seccomp" != "no" ; then
-    if test "$cpu" = "i386" || test "$cpu" = "x86_64" &&
-        $pkg_config --atleast-version=2.1.1 libseccomp; then
+    if $pkg_config --atleast-version=2.2.0 libseccomp; then
         libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`"
         QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`"
        seccomp="yes"
     else
        if test "$seccomp" = "yes"; then
-            feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1"
+            feature_not_found "libseccomp" "Install libseccomp devel >= 2.2.0"
        fi
        seccomp="no"
     fi