diff options
| author | Yann E. MORIN <yann.morin.1998@free.fr> | 2012-09-06 22:40:30 +0200 |
|---|---|---|
| committer | Stefan Hajnoczi <stefanha@gmail.com> | 2012-09-14 08:46:27 +0100 |
| commit | e84d5956cc6215d2f098e7b6090fc5ec4cba1be3 (patch) | |
| tree | 56c86e7d58f1417caea55e5110dfa1fa54a10958 | |
| parent | ef37a699a06f96e098ee00683b7052b5fbb6ad7d (diff) | |
| download | focaccia-qemu-e84d5956cc6215d2f098e7b6090fc5ec4cba1be3.tar.gz focaccia-qemu-e84d5956cc6215d2f098e7b6090fc5ec4cba1be3.zip | |
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-x | configure | 2 |
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 ########################################## |