All of lore.kernel.org
 help / color / mirror / Atom feed
From: Riku Voipio <riku.voipio@iki.fi>
To: Jan Kiszka <jan.kiszka@siemens.com>
Cc: qemu-devel <qemu-devel@nongnu.org>
Subject: Re: [Qemu-devel] [PATCH] Cleanup configure checks for dup3 and fallocate
Date: Tue, 3 Nov 2009 15:10:00 +0200	[thread overview]
Message-ID: <20091103131000.GA10602@kos.to> (raw)
In-Reply-To: <4AEFFDE4.2090006@siemens.com>

On Tue, Nov 03, 2009 at 10:54:44AM +0100, Jan Kiszka wrote:
> We have a function for this which does not issue annoying warnings.

Acked-by: Riku Voipio <riku.voipio@iki.fi>
 
> Signed-off-by: Jan Kiszka <jan.kiszka@siemens.com>
> ---
> 
>  configure |    4 ++--
>  1 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/configure b/configure
> index aa2cc43..b38353a 100755
> --- a/configure
> +++ b/configure
> @@ -1580,7 +1580,7 @@ int main(void)
>      return 0;
>  }
>  EOF
> -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
> +if compile_prog "" "" ; then
>    fallocate=yes
>  fi
>  
> @@ -1595,7 +1595,7 @@ int main(void)
>      return 0;
>  }
>  EOF
> -if $cc $ARCH_CFLAGS -o $TMPE $TMPC 2> /dev/null ; then
> +if compile_prog "" "" ; then
>    dup3=yes
>  fi
>  
> 

      reply	other threads:[~2009-11-03 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-11-03  9:54 [Qemu-devel] [PATCH] Cleanup configure checks for dup3 and fallocate Jan Kiszka
2009-11-03 13:10 ` Riku Voipio [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=20091103131000.GA10602@kos.to \
    --to=riku.voipio@iki.fi \
    --cc=jan.kiszka@siemens.com \
    --cc=qemu-devel@nongnu.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.