summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorStefan Weil <weil@mail.berlios.de>2010-10-06 21:09:17 +0200
committerBlue Swirl <blauwirbel@gmail.com>2010-10-09 08:18:29 +0000
commit10d554c65a1dbb4dc8cf87f1119883aa1b27cef4 (patch)
tree7accfd574e73a3fec8f63d45d16013b0874de6ea
parent832ce9c286a907be8e6aab43fb0ae0037268476a (diff)
downloadfocaccia-qemu-10d554c65a1dbb4dc8cf87f1119883aa1b27cef4.tar.gz
focaccia-qemu-10d554c65a1dbb4dc8cf87f1119883aa1b27cef4.zip
configure: Remove unneeded defines from checks
_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 <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-rwxr-xr-xconfigure4
1 files changed, 0 insertions, 4 deletions
diff --git a/configure b/configure
index 4f570548ae..b4e9c4c40d 100755
--- a/configure
+++ b/configure
@@ -1891,7 +1891,6 @@ fi
 utimens=no
 cat > $TMPC << EOF
 #define _ATFILE_SOURCE
-#define _GNU_SOURCE
 #include <stddef.h>
 #include <fcntl.h>
 
@@ -1909,7 +1908,6 @@ fi
 # check if pipe2 is there
 pipe2=no
 cat > $TMPC << EOF
-#define _GNU_SOURCE
 #include <unistd.h>
 #include <fcntl.h>
 
@@ -1927,7 +1925,6 @@ fi
 # check if accept4 is there
 accept4=no
 cat > $TMPC << EOF
-#define _GNU_SOURCE
 #include <sys/socket.h>
 #include <stddef.h>
 
@@ -1944,7 +1941,6 @@ fi
 # check if tee/splice is there. vmsplice was added same time.
 splice=no
 cat > $TMPC << EOF
-#define _GNU_SOURCE
 #include <unistd.h>
 #include <fcntl.h>
 #include <limits.h>