Received: from eggs.gnu.org ([2001:4830:134:3::10]:42833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WspRT-0002YE-91 for qemu-devel@nongnu.org; Fri, 06 Jun 2014 04:24:12 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1WspRK-00058b-6T for qemu-devel@nongnu.org; Fri, 06 Jun 2014 04:24:03 -0400 Received: from e06smtp12.uk.ibm.com ([195.75.94.108]:40339) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1WspRJ-00058K-U3 for qemu-devel@nongnu.org; Fri, 06 Jun 2014 04:23:54 -0400 Received: from /spool/local by e06smtp12.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 6 Jun 2014 09:23:52 +0100 Received: from b06cxnps4074.portsmouth.uk.ibm.com (d06relay11.portsmouth.uk.ibm.com [9.149.109.196]) by d06dlp03.portsmouth.uk.ibm.com (Postfix) with ESMTP id 7944D1B08041 for ; Fri, 6 Jun 2014 09:24:13 +0100 (BST) Received: from d06av11.portsmouth.uk.ibm.com (d06av11.portsmouth.uk.ibm.com [9.149.37.252]) by b06cxnps4074.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id s568NnhQ25166004 for ; Fri, 6 Jun 2014 08:23:49 GMT Received: from d06av11.portsmouth.uk.ibm.com (localhost [127.0.0.1]) by d06av11.portsmouth.uk.ibm.com (8.14.4/8.14.4/NCO v10.0 AVout) with ESMTP id s568NmSx002885 for ; Fri, 6 Jun 2014 02:23:49 -0600 Date: Fri, 6 Jun 2014 10:23:47 +0200 From: Cornelia Huck Message-ID: <20140606102347.3686c0f6.cornelia.huck@de.ibm.com> In-Reply-To: <539177AF.5090603@redhat.com> References: <1401273557-6578-1-git-send-email-cornelia.huck@de.ibm.com> <1401273557-6578-2-git-send-email-cornelia.huck@de.ibm.com> <20140606094109.577477ea.cornelia.huck@de.ibm.com> <539177AF.5090603@redhat.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: [Qemu-devel] [PATCH v2 1/1] configure: unset interfering variables List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Paolo Bonzini Cc: Peter Maydell , qemu-devel@nongnu.org, Markus Armbruster On Fri, 06 Jun 2014 10:11:27 +0200 Paolo Bonzini wrote: > Il 06/06/2014 09:41, Cornelia Huck ha scritto: > > On Wed, 28 May 2014 12:39:17 +0200 > > Cornelia Huck 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 > >> Suggested-by: Markus Armbruster > >> Signed-off-by: Cornelia Huck > >> --- > >> 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? > > Hi, > > I picked up this patch and will push it to a "configure" branch on github. > > Paolo > Cool, thx!