]> rtime.felk.cvut.cz Git - lisovros/qemu_apohw.git/commitdiff
libseccomp: require version 1.0.0
authorBlue Swirl <blauwirbel@gmail.com>
Sat, 3 Nov 2012 15:42:21 +0000 (15:42 +0000)
committerBlue Swirl <blauwirbel@gmail.com>
Sat, 17 Nov 2012 16:38:31 +0000 (16:38 +0000)
Debian Wheezy has version 0.1.0 which is not compatible, avoid it.

Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
configure

index f847ee264e90a1b671504b5e4c51889221cf1339..e6c571272370adebfde93e9649d4e9a903639c40 100755 (executable)
--- a/configure
+++ b/configure
@@ -1383,7 +1383,7 @@ fi
 # libseccomp check
 
 if test "$seccomp" != "no" ; then
-    if $pkg_config libseccomp --modversion >/dev/null 2>&1; then
+    if $pkg_config --atleast-version=1.0.0 libseccomp --modversion >/dev/null 2>&1; then
         LIBS=`$pkg_config --libs libseccomp`
        seccomp="yes"
     else