def METHOD_NAME(self):
    """Custom configuration procedure for Octave."""
    if self.cfg['blas_lapack_mt']:
        libblas, liblapack = os.getenv('LIBBLAS_MT'), os.getenv('LIBLAPACK_MT')
    else:
        libblas, liblapack = os.getenv('LIBBLAS'), os.getenv('LIBLAPACK')
    if libblas and liblapack:
        self.cfg.update('configopts', '--with-blas="%s" --with-lapack="%s"' % (libblas, liblapack))
    else:
        raise EasyBuildError("$LIBBLAS and/or $LIBLAPACK undefined, use toolchain that includes BLAS/LAPACK")
    qt_root = get_software_root('Qt5') or get_software_root('Qt')
    if qt_root:
        self.log.info("Found Qt included as dependency, updating configure options accordingly...")
        qt_vars = {
            'LRELEASE': os.path.join(qt_root, 'bin', 'lrelease'),
            'MOC': os.path.join(qt_root, 'bin', 'moc'),
            'RCC': os.path.join(qt_root, 'bin', 'rcc'),
            'UIC': os.path.join(qt_root, 'bin', 'uic'),
        }
        for key, val in sorted(qt_vars.items()):
            self.cfg.update('configopts', "%s=%s" % (key, val))
    else:
        self.log.debug("No Qt included as dependency")
    super(EB_Octave, self).METHOD_NAME()