summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYann E. MORIN <yann.morin.1998@free.fr>2012-09-06 22:40:30 +0200
committerStefan Hajnoczi <stefanha@gmail.com>2012-09-14 08:46:27 +0100
commite84d5956cc6215d2f098e7b6090fc5ec4cba1be3 (patch)
tree56c86e7d58f1417caea55e5110dfa1fa54a10958
parentef37a699a06f96e098ee00683b7052b5fbb6ad7d (diff)
downloadqemu-e84d5956cc6215d2f098e7b6090fc5ec4cba1be3.tar.gz
configure: fix seccomp check
Currently, if libseccomp is missing but the user explicitly requested seccomp support using --enable-seccomp, configure silently ignores the situation and disables seccomp support. This is unlike all other tests that explicitly fail in such situation. Fix that. Signed-off-by: "Yann E. MORIN" <yann.morin.1998@free.fr> Reviewed-by: Andreas Färber <afaerber@suse.de> Signed-off-by: Stefan Hajnoczi <stefanha@gmail.com>
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 7656c32b24..92c4076c3f 100755
--- a/configure
+++ b/configure
@@ -1431,10 +1431,10 @@ if test "$seccomp" != "no" ; then
LIBS=`$pkg_config --libs libseccomp`
seccomp="yes"
else
- seccomp="no"
if test "$seccomp" = "yes"; then
feature_not_found "libseccomp"
fi
+ seccomp="no"
fi
fi
##########################################