From 10d554c65a1dbb4dc8cf87f1119883aa1b27cef4 Mon Sep 17 00:00:00 2001 From: Stefan Weil Date: Wed, 6 Oct 2010 21:09:17 +0200 Subject: [PATCH] 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 Signed-off-by: Blue Swirl --- configure | 4 ---- 1 file changed, 4 deletions(-) diff --git a/configure b/configure index 4f57054..b4e9c4c 100755 --- a/configure +++ b/configure @@ -1891,7 +1891,6 @@ fi utimens=no cat > $TMPC << EOF #define _ATFILE_SOURCE -#define _GNU_SOURCE #include #include @@ -1909,7 +1908,6 @@ fi # check if pipe2 is there pipe2=no cat > $TMPC << EOF -#define _GNU_SOURCE #include #include @@ -1927,7 +1925,6 @@ fi # check if accept4 is there accept4=no cat > $TMPC << EOF -#define _GNU_SOURCE #include #include @@ -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 #include #include -- 2.7.4