def METHOD_NAME(self):
    self._patch_sources()
    autotools = Autotools(self)
    autotools.autoreconf()
    # srcdir in unix path causes some troubles in asm files on Windows
    if self._settings_build.os == "Windows":
        replace_in_file(self, os.path.join(self.build_folder, "config.m4"),
                              unix_path(self, os.path.join(self.build_folder, self.source_folder)),
                              os.path.join(self.build_folder, self.source_folder).replace("\\", "/"))
    autotools.configure()
    autotools.make()