summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorEduardo Otubo <eduardo.otubo@profitbricks.com>2015-03-17 12:03:30 +0100
committerEduardo Otubo <eduardo.otubo@profitbricks.com>2015-03-25 11:03:27 +0100
commit8e27fc200457e3f2473d0069263774d4ba17bd85 (patch)
tree16984b231da6978ea24bf617af5fa7c2c784857c /configure
parent054903a832b865eb5432d79b5c9d1e1ff31b58d7 (diff)
downloadhqemu-8e27fc200457e3f2473d0069263774d4ba17bd85.zip
hqemu-8e27fc200457e3f2473d0069263774d4ba17bd85.tar.gz
seccomp: update libseccomp version and remove arch restriction
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>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure5
1 files changed, 2 insertions, 3 deletions
diff --git a/configure b/configure
index 589798e..cbe6495 100755
--- 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
OpenPOWER on IntegriCloud