From: Yann E. MORIN Date: Thu, 6 Sep 2012 20:40:30 +0000 (+0200) Subject: configure: fix seccomp check X-Git-Tag: v1.2.1~43 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=a63eb7a22731c4b0ec863582231f24c4b32b5969;p=thirdparty%2Fqemu.git 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" Reviewed-by: Andreas Färber Signed-off-by: Stefan Hajnoczi (cherry picked from commit e84d5956cc6215d2f098e7b6090fc5ec4cba1be3) Signed-off-by: Michael Roth --- diff --git a/configure b/configure index 6f457add6fe..61fc8ef4635 100755 --- a/configure +++ b/configure @@ -1395,10 +1395,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 ##########################################