From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37279) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRUR-0002Z9-UG for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:43:08 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TCRUM-0007ba-IF for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:43:07 -0400 Received: from mail-wg0-f53.google.com ([74.125.82.53]:61607) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TCRUM-0007aq-Cu for qemu-devel@nongnu.org; Fri, 14 Sep 2012 04:43:02 -0400 Received: by mail-wg0-f53.google.com with SMTP id dr1so367652wgb.10 for ; Fri, 14 Sep 2012 01:43:02 -0700 (PDT) From: Stefan Hajnoczi Date: Fri, 14 Sep 2012 09:42:26 +0100 Message-Id: <1347612146-5407-13-git-send-email-stefanha@gmail.com> In-Reply-To: <1347612146-5407-1-git-send-email-stefanha@gmail.com> References: <1347612146-5407-1-git-send-email-stefanha@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Subject: [Qemu-devel] [PATCH 12/12] configure: fix seccomp check List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Hajnoczi , qemu-devel@nongnu.org, "Yann E. MORIN" From: "Yann E. MORIN" 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 --- configure | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure b/configure index 7656c32b..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 ########################################## -- 1.7.10.4