def METHOD_NAME(conf, name, wafname=None, cross=False):
	wafname = wafname or name
	if wafname in conf.env:
		value = conf.env[wafname]
		if isinstance(value, str):
			value = [value]
	else:
		envar = os.environ.get(name)
		if not envar:
			return
		value = Utils.to_list(envar) if envar != '' else [envar]
	conf.env[wafname] = value
	if cross:
		pretty = 'cross-compilation %s' % wafname
	else:
		pretty = wafname
	conf.msg('Will use %s' % pretty, " ".join(quote(x) for x in value))