]> Git Repo - qemu.git/commitdiff
configure: unset interfering variables
authorCornelia Huck <[email protected]>
Wed, 28 May 2014 10:39:17 +0000 (12:39 +0200)
committerPaolo Bonzini <[email protected]>
Tue, 10 Jun 2014 10:34:37 +0000 (12:34 +0200)
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 <[email protected]>
Suggested-by: Markus Armbruster <[email protected]>
Signed-off-by: Cornelia Huck <[email protected]>
Signed-off-by: Paolo Bonzini <[email protected]>
configure

index 96f91ad7f0c07619d9c5fd533b51809037065cee..b93cce816a8980049e379f5149159bfa46285345 100755 (executable)
--- 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
This page took 0.030369 seconds and 4 git commands to generate.