qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] [PATCH] Cleanup configure checks for dup3 and fallocate


From: Riku Voipio
Subject: Re: [Qemu-devel] [PATCH] Cleanup configure checks for dup3 and fallocate
Date: Tue, 3 Nov 2009 15:10:00 +0200
User-agent: Mutt/1.5.18 (2008-05-17)

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 <address@hidden>
 
> Signed-off-by: Jan Kiszka <address@hidden>
> ---
> 
>  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 via email to

[Prev in Thread] Current Thread [Next in Thread]