From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([208.118.235.92]:37328) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxe-0006kW-TG for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:47 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1SrUxY-0006Ne-0c for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:42 -0400 Received: from mnementh.archaic.org.uk ([81.2.115.146]:53934) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1SrUxX-0006N5-Ps for qemu-devel@nongnu.org; Wed, 18 Jul 2012 10:10:35 -0400 From: Peter Maydell Date: Wed, 18 Jul 2012 15:10:20 +0100 Message-Id: <1342620628-12751-4-git-send-email-peter.maydell@linaro.org> In-Reply-To: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> References: <1342620628-12751-1-git-send-email-peter.maydell@linaro.org> Subject: [Qemu-devel] [PATCH 03/11] configure: Fix build with capabilities List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Stefan Weil , patches@linaro.org From: Stefan Weil Since commit 417c9d72d48275d19c60861896efd4962d21aca2 all configure tests normally run with -Werror. Some of these tests now fail because they raised a compiler warning. This patch fixes support for capabilities. Signed-off-by: Stefan Weil Reviewed-by: Peter Maydell --- configure | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/configure b/configure index 63156a7..feadbe7 100755 --- a/configure +++ b/configure @@ -2083,7 +2083,7 @@ if test "$cap" != "no" ; then cat > $TMPC < #include -int main(void) { cap_t caps; caps = cap_init(); } +int main(void) { cap_t caps; caps = cap_init(); return caps != NULL; } EOF if compile_prog "" "-lcap" ; then cap=yes -- 1.7.5.4