def METHOD_NAME(self):
    env = VirtualBuildEnv(self)
    env.METHOD_NAME()
    tc = AutotoolsToolchain(self)
    if Version(self.version) < "3.1.8":
        tc.configure_args.append("--without-documentation")
    tc.configure_args.append("--disable-tests")
    if is_msvc(self) and check_min_vs(self, "180", raise_invalid=False):
        tc.extra_cflags.append("-FS")
    env = tc.environment()
    if is_msvc(self):
        compile_wrapper = unix_path(self, os.path.join(self.source_folder, "build-aux", "compile"))
        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", "link -nologo")
        env.define("AR", f"{ar_wrapper} \"lib -nologo\"")
        env.define("NM", "dumpbin -symbols")
        env.define("OBJDUMP", ":")
        env.define("RANLIB", ":")
        env.define("STRIP", ":")
    tc.METHOD_NAME(env)