From: Blue Swirl <blauwirbel@gmail.com>
To: Stefan Weil <weil@mail.berlios.de>
Cc: QEMU Developers <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] configure: Remove unneeded defines from checks
Date: Sat, 9 Oct 2010 09:42:33 +0000 [thread overview]
Message-ID: <AANLkTin_7_RLhGqhVn+6ZErVt-qvCV_US369f6h8iaH6@mail.gmail.com> (raw)
In-Reply-To: <1286392157-30903-1-git-send-email-weil@mail.berlios.de>
Thanks, applied.
On Wed, Oct 6, 2010 at 7:09 PM, Stefan Weil <weil@mail.berlios.de> wrote:
> _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>
> ---
> 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 <stddef.h>
> #include <fcntl.h>
>
> @@ -1906,7 +1905,6 @@ fi
> # check if pipe2 is there
> pipe2=no
> cat > $TMPC << EOF
> -#define _GNU_SOURCE
> #include <unistd.h>
> #include <fcntl.h>
>
> @@ -1924,7 +1922,6 @@ fi
> # check if accept4 is there
> accept4=no
> cat > $TMPC << EOF
> -#define _GNU_SOURCE
> #include <sys/socket.h>
> #include <stddef.h>
>
> @@ -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 <unistd.h>
> #include <fcntl.h>
> #include <limits.h>
> --
> 1.7.1
>
>
>
prev parent reply other threads:[~2010-10-09 9:42 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-06 19:09 [Qemu-devel] [PATCH] configure: Remove unneeded defines from checks Stefan Weil
2010-10-09 9:42 ` Blue Swirl [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=AANLkTin_7_RLhGqhVn+6ZErVt-qvCV_US369f6h8iaH6@mail.gmail.com \
--to=blauwirbel@gmail.com \
--cc=qemu-devel@nongnu.org \
--cc=weil@mail.berlios.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).