def METHOD_NAME(self):
    if not cross_building(self):
        env = VirtualRunEnv(self)
        env.METHOD_NAME(scope="build")
    tc = AutotoolsToolchain(self)
    yes_no = lambda v: "yes" if v else "no"
    tc.configure_args.extend([
        f"--enable-bin={yes_no(self.options.enable_bin)}",
        "LIBS=-lpthread",
    ])
    tc.make_args.append("-j1")
    tc.METHOD_NAME()
    deps = AutotoolsDeps(self)
    deps.METHOD_NAME()