def METHOD_NAME(self):
    """Configure build: <single-line description how this deviates from standard configure>"""
    # set generic make options
    self.cfg.update('buildopts', 'CC="%s" OPTFLAGS="%s"' % (os.getenv('MPICC'), os.getenv('CFLAGS')))
    if LooseVersion(self.version) >= LooseVersion("3.2"):
        # set correct start_dir dir, and change into it
        # test whether it already contains 'src', since a reprod easyconfig would
        if os.path.basename(self.cfg['start_dir']) != 'src':
            self.cfg['start_dir'] = os.path.join(self.cfg['start_dir'], 'src')
        try:
            os.chdir(self.cfg['start_dir'])
        except OSError as err:
            raise EasyBuildError("Failed to change to correct source dir %s: %s", self.cfg['start_dir'], err)
        # run autoconf to generate configure script
        cmd = "autoconf"
        run_cmd(cmd)
        # set config opts
        beagle = get_software_root('beagle-lib')
        if beagle:
            self.cfg.update('configopts', '--with-beagle=%s' % beagle)
        else:
            if get_software_root('BEAGLE'):
                self.log.nosupport('BEAGLE module as dependency, should be beagle-lib', '2.0')
            raise EasyBuildError("beagle-lib module not loaded?")
        if self.toolchain.options.get('usempi', None):
            self.cfg.update('configopts', '--enable-mpi')
        # configure
        super(EB_MrBayes, self).METHOD_NAME()
    else:
        # no configure script prior to v3.2
        self.cfg.update('buildopts', 'MPI=yes')