def METHOD_NAME(self):
    # Libflame has a secondary dependency on BLAS,
    # but doesn't know which library name to expect:
    # https://github.com/flame/libflame/issues/24
    config_args = ["LIBS=" + self.spec["blas"].libs.ld_flags]
    if "+lapack2flame" in self.spec:
        config_args.append("--enable-lapack2flame")
    else:
        config_args.append("--disable-lapack2flame")
    if "+static" in self.spec:
        config_args.append("--enable-static-build")
    else:
        config_args.append("--disable-static-build")
    if "+shared" in self.spec:
        config_args.append("--enable-dynamic-build")
    else:
        config_args.append("--disable-dynamic-build")
    if "+debug" in self.spec:
        config_args.append("--enable-debug")
    else:
        config_args.append("--disable-debug")
    config_args.extend(self.enable_or_disable_threads())
    if self.spec.variants["threads"].value != "none":
        config_args.append("--enable-supermatrix")
    else:
        config_args.append("--disable-supermatrix")
    # https://github.com/flame/libflame/issues/21
    config_args.append("--enable-max-arg-list-hack")
    if self.spec.satisfies("^blis"):
        config_args.append("LDFLAGS=-L{}".format(self.spec["blis"].prefix.lib))
    return config_args