OSDN Git Service

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 f847ee2..e6c5712 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