mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-03-04 17:14:40 -07:00
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>
This commit is contained in:
parent
ef37a699a0
commit
e84d5956cc
1 changed files with 1 additions and 1 deletions
2
configure
vendored
2
configure
vendored
|
|
@ -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
|
||||
##########################################
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue