qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
From: Cornelia Huck <cornelia.huck@de.ibm.com>
To: qemu-devel@nongnu.org
Cc: Peter Maydell <peter.maydell@linaro.org>,
	Markus Armbruster <armbru@redhat.com>
Subject: Re: [Qemu-devel] [PATCH v2 1/1] configure: unset interfering variables
Date: Fri, 6 Jun 2014 09:41:09 +0200	[thread overview]
Message-ID: <20140606094109.577477ea.cornelia.huck@de.ibm.com> (raw)
In-Reply-To: <1401273557-6578-2-git-send-email-cornelia.huck@de.ibm.com>

On Wed, 28 May 2014 12:39:17 +0200
Cornelia Huck <cornelia.huck@de.ibm.com> wrote:

> The check for big or little endianness relies on grep reporting
> match/non-match on the generated binary. If the user specified
> --binary-files=without-match in their GREP_OPTIONS, this will fail.
> 
> Let's follow what autoconf does and unset GREP_OPTIONS and CLICOLOR_FORCE
> at the beginning of the script.
> 
> Reported-by: Eugene (jno) Dvurechenski <jno@linux.vnet.ibm.com>
> Suggested-by: Markus Armbruster <armbru@redhat.com>
> Signed-off-by: Cornelia Huck <cornelia.huck@de.ibm.com>
> ---
>  configure | 5 +++++
>  1 file changed, 5 insertions(+)
> 
> diff --git a/configure b/configure
> index 0e516f9..525da56 100755
> --- a/configure
> +++ b/configure
> @@ -3,6 +3,11 @@
>  # qemu configure script (c) 2003 Fabrice Bellard
>  #
> 
> +# Unset some variables known to interfere with behavior of common tools,
> +# just as autoconf does.
> +CLICOLOR_FORCE= GREP_OPTIONS=
> +unset CLICOLOR_FORCE GREP_OPTIONS
> +
>  # Temporary directory used for files created while
>  # configure runs. Since it is in the build directory
>  # we can safely blow away any previous version of it

Is there an obvious tree to merge configure changes through, or should
I just throw it into my next s390 pull request?

       reply	other threads:[~2014-06-06  7:42 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <1401273557-6578-1-git-send-email-cornelia.huck@de.ibm.com>
     [not found] ` <1401273557-6578-2-git-send-email-cornelia.huck@de.ibm.com>
2014-06-06  7:41   ` Cornelia Huck [this message]
2014-06-06  8:11     ` [Qemu-devel] [PATCH v2 1/1] configure: unset interfering variables Paolo Bonzini
2014-06-06  8:23       ` Cornelia Huck

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=20140606094109.577477ea.cornelia.huck@de.ibm.com \
    --to=cornelia.huck@de.ibm.com \
    --cc=armbru@redhat.com \
    --cc=peter.maydell@linaro.org \
    --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 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).