def configure(conf):
    """
	Detects the programs RC or windres, depending on the C/C++ compiler in use
	"""
    v = conf.env
    if not v.WINRC:
        if v.CC_NAME == 'msvc':
            conf.find_program('RC', var='WINRC', path_list=v.PATH)
            v.WINRC_TGT_F = '/fo'
            v.WINRC_SRC_F = ''
        else:
            conf.find_program('windres', var='WINRC', path_list=v.PATH)
            v.WINRC_TGT_F = '-o'
            v.WINRC_SRC_F = '-i'
