From: Yann E. MORIN Date: Thu, 6 Sep 2012 20:40:30 +0000 (+0200) Subject: configure: fix seccomp check X-Git-Tag: TizenStudio_2.0_p2.3.2~208^2~3553^2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e84d5956cc6215d2f098e7b6090fc5ec4cba1be3;p=sdk%2Femulator%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 --- diff --git a/configure b/configure index 7656c32..92c4076 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 ##########################################