From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=35462 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P3ZMo-0005pk-Sl for qemu-devel@nongnu.org; Wed, 06 Oct 2010 15:09:31 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P3ZMn-0001Ai-A9 for qemu-devel@nongnu.org; Wed, 06 Oct 2010 15:09:30 -0400 Received: from moutng.kundenserver.de ([212.227.126.186]:52564) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P3ZMm-00019w-OG for qemu-devel@nongnu.org; Wed, 06 Oct 2010 15:09:29 -0400 From: Stefan Weil Date: Wed, 6 Oct 2010 21:09:17 +0200 Message-Id: <1286392157-30903-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH] configure: Remove unneeded defines from checks List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers _GNU_SOURCE is already defined in QEMU_CFLAGS which is passed to gcc in shell function compile_prog. Removing the definition from several checks avoids compiler warnings (which are now written to config.log). Signed-off-by: Stefan Weil --- configure | 4 ---- 1 files changed, 0 insertions(+), 4 deletions(-) diff --git a/configure b/configure index 9e65de0..e67d076 100755 --- a/configure +++ b/configure @@ -1888,7 +1888,6 @@ fi utimens=no cat > $TMPC << EOF #define _ATFILE_SOURCE -#define _GNU_SOURCE #include #include @@ -1906,7 +1905,6 @@ fi # check if pipe2 is there pipe2=no cat > $TMPC << EOF -#define _GNU_SOURCE #include #include @@ -1924,7 +1922,6 @@ fi # check if accept4 is there accept4=no cat > $TMPC << EOF -#define _GNU_SOURCE #include #include @@ -1941,7 +1938,6 @@ fi # check if tee/splice is there. vmsplice was added same time. splice=no cat > $TMPC << EOF -#define _GNU_SOURCE #include #include #include -- 1.7.1