File 0030-configure-Fix-detection-of-seccomp-.patch of Package qemu-testsuite

From eebe76eeffb2166f2ce71bd3445498e989235aa2 Mon Sep 17 00:00:00 2001
From: markkp <mpost@suse.com>
Date: Thu, 11 Aug 2016 16:28:39 -0400
Subject: [PATCH] configure: Fix detection of seccomp on s390x
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

Signed-off-by: Mark Post <mpost@suse.com>
Signed-off-by: Andreas Färber <afaerber@suse.de>
---
 configure | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/configure b/configure
index 3308560f78..cb7589a8e7 100755
--- a/configure
+++ b/configure
@@ -1961,6 +1961,9 @@ if test "$seccomp" != "no" ; then
     ppc|ppc64)
         libseccomp_minver="2.3.0"
         ;;
+    s390|s390x)
+        libseccomp_minver="2.2.0"
+        ;;
     *)
         libseccomp_minver=""
         ;;
openSUSE Build Service is sponsored by