def METHOD_NAME(conf, name, wafname=None):
	wafname = wafname or name
	chost, chost_envar = get_chost_stuff(conf)
	specific = None
	if chost:
		specific = os.environ.get('%s_%s' % (chost_envar, name))
	if specific:
		value = Utils.to_list(specific)
		conf.env[wafname] += value
		conf.msg('Will use cross-compilation %s from %s_%s' \
		 % (name, chost_envar, name),
		 " ".join(quote(x) for x in value))
		return
	envar = os.environ.get('HOST_%s' % name)
	if envar is None:
		return
	value = Utils.to_list(envar) if envar != '' else [envar]
	conf.env[wafname] = value
	conf.msg('Will use cross-compilation %s from HOST_%s' % (name, name),
	 " ".join(quote(x) for x in value))