def METHOD_NAME(self):
    env = VirtualBuildEnv(self)
    env.METHOD_NAME()
    tc = AutotoolsToolchain(self)
    if is_msvc(self) and check_min_vs(self, "180", raise_invalid=False):
        tc.extra_cflags.append("-FS")
        tc.extra_cxxflags.append("-FS")
    env = tc.environment()
    if is_msvc(self):
        compile_wrapper = unix_path(self, self.conf.get("user.automake:compile-wrapper", check_type=str))
        ar_wrapper = unix_path(self, self.conf.get("user.automake:lib-wrapper", check_type=str))
        env.define("CC", f"{compile_wrapper} cl -nologo")
        env.define("CXX", f"{compile_wrapper} cl -nologo")
        env.define("LD", f"{compile_wrapper} link -nologo")
        env.define("AR", f"{ar_wrapper} \"lib -nologo\"")
        env.define("NM", "dumpbin -symbols")
        env.define("OBJDUMP", ":")
        env.define("RANLIB", ":")
        env.define("STRIP", ":")
    if self._settings_build.os == "Windows":
        # TODO: Something to fix in conan client or pkgconf recipe?
        # This is a weird workaround when build machine is Windows. Here we have to inject regular
        # Windows path to pc files folder instead of unix path flavor injected by AutotoolsToolchain...
        env.define("PKG_CONFIG_PATH", self.generators_folder)
    tc.METHOD_NAME(env)
    deps = PkgConfigDeps(self)
    deps.METHOD_NAME()