@staticmethod
def check_version(wanted, found):
    if (not wanted):
        return True
    if ((found == 'undefined') or (not mesonlib.version_compare_many(found, wanted)[0])):
        return False
    return True
@staticmethod
def check_version(wanted, found):
    if (not wanted):
        return True
    if ((found == 'undefined') or (not mesonlib.version_compare_many(found, wanted)[0])):
        return False
    return True