[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-devel] [PULL 8/8] configure: unset interfering variables
From: |
Paolo Bonzini |
Subject: |
[Qemu-devel] [PULL 8/8] configure: unset interfering variables |
Date: |
Tue, 10 Jun 2014 07:56:21 +0200 |
From: Cornelia Huck <address@hidden>
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 <address@hidden>
Suggested-by: Markus Armbruster <address@hidden>
Signed-off-by: Cornelia Huck <address@hidden>
Signed-off-by: Paolo Bonzini <address@hidden>
---
configure | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/configure b/configure
index 96f91ad..b93cce8 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
--
1.8.3.1
- [Qemu-devel] [PULL 0/8] build system and libcacard changes for 2014-06-10, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 1/8] glib-compat.h: add new thread API emulation on top of pre-2.31 API, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 4/8] libcacard: actually use symbols file, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 5/8] libcacard: improve documentation, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 2/8] vscclient: use glib thread primitives not qemu, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 3/8] libcacard: replace qemu thread primitives with glib ones, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 6/8] rules.mak: Rewrite unnest-vars, Paolo Bonzini, 2014/06/10
- [Qemu-devel] [PULL 8/8] configure: unset interfering variables,
Paolo Bonzini <=
- [Qemu-devel] [PULL 7/8] configure: duplicate/incorrect order of -lrt, Paolo Bonzini, 2014/06/10
- Re: [Qemu-devel] [PULL 0/8] build system and libcacard changes for 2014-06-10, Peter Maydell, 2014/06/10