message: add stderr parameter to run_shell at configure.py:149 and make sys.stdout as default
diff: @@ -147,14 +147,16 @@ def write_action_env_to_bazelrc(var_name, var):
  write_to_bazelrc('build --action_env %s="%s"' % (var_name, str(var)))
  -def run_shell(cmd, allow_non_zero=False):
  +def run_shell(cmd, allow_non_zero=False, stderr=None):
  + if stderr is None:
  + stderr = sys.stdout
  if allow_non_zero:
  try:
  - output = subprocess.check_output(cmd)
  + output = subprocess.check_output(cmd, stderr=stderr)
  except subprocess.CalledProcessError as e:
  output = e.output
  else:
  - output = subprocess.check_output(cmd)
  + output = subprocess.check_output(cmd, stderr=stderr)
  return output.decode('UTF-8').strip()
  