diff options
author | Stefan Weil <weil@mail.berlios.de> | 2010-10-06 21:09:17 +0200 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2010-10-09 08:18:29 +0000 |
commit | 10d554c65a1dbb4dc8cf87f1119883aa1b27cef4 (patch) | |
tree | 7accfd574e73a3fec8f63d45d16013b0874de6ea | |
parent | 832ce9c286a907be8e6aab43fb0ae0037268476a (diff) |
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-x | configure | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -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> |