def METHOD_NAME(self):
    # only if we have to call autoreconf
    self.tool_requires("libtool/x.y.z")
    # only if upstream configure.ac relies on PKG_CHECK_MODULES macro
    if not self.conf.get("tools.gnu:pkg_config", check_type=str):
        self.tool_requires("pkgconf/x.y.z")
    # required to suppport windows as a build machine
    if self._settings_build.os == "Windows":
        self.win_bash = True
        if not self.conf.get("tools.microsoft.bash:path", check_type=str):
            self.tool_requires("msys2/cci.latest")
    # for msvc support to get compile & ar-lib scripts (may be avoided if shipped in source code of the library)
    # not needed if libtool already in build requirements
    if is_msvc(self):
        self.tool_requires("automake/x.y.z")