def METHOD_NAME(self):
    spec = self.spec
    config_args = []
    config_args.append("--with-cc=%s" % spec["mpi"].mpicc)
    config_args.append("--with-cxx=%s" % spec["mpi"].mpicxx)
    config_args.append("--with-f77=%s" % spec["mpi"].mpif77)
    #  mpiP checks for libiberty demangling during configure.
    #  Current mpiP configure functionality allows specifying alternate
    #  demangling support (IBM, Compaq) as an argument, but the usefulness
    #  of this is not clear.
    #
    #  Since, --enable-demangling doesn't do anything,
    #  providing --disable-demangling in the event that there is an error
    #  with demangling.
    if "-demangling" in spec:
        config_args.append("--disable-demangling")
    if "-mpi_io" in spec:
        config_args.append("--disable-mpi-io")
    if "-mpi_rma" in spec:
        config_args.append("--disable-mpi-rma")
    if "-mpi_nbc" in spec:
        config_args.append("--disable-mpi-nbc")
    if "-bfd" in spec:
        config_args.append("--disable-bfd")
    if "-libunwind" in spec:
        config_args.append("--disable-libunwind")
    #  Simply enabling setjmp may result in libunwind being used,
    #  if available.  Adding --disable-libunwind to ensure setjmp is used.
    if "+setjmp" in spec:
        config_args.append("--disable-libunwind")
        config_args.append("--enable-setjmp")
    maxargs = int(spec.variants["maxargs"].value)
    config_args.extend(["--enable-maxargs={0}".format(maxargs)])
    stackdepth = int(spec.variants["stackdepth"].value)
    config_args.extend(["--enable-stackdepth={0}".format(stackdepth)])
    internal_stackdepth = int(spec.variants["internal_stackdepth"].value)
    config_args.extend(["--enable-internal-stackdepth={0}".format(internal_stackdepth)])
    return config_args