def METHOD_NAME(self):
    spec = self.spec
    config_args = [
        "--disable-static",
        "--enable-dbm",
        # compat with system berkeley-db on darwin
        "--enable-compat185",
        # SSL support requires OpenSSL, but OpenSSL depends on Perl, which
        # depends on Berkey DB, creating a circular dependency
        "--with-repmgr-ssl=no",
    ]
    config_args += self.enable_or_disable("cxx")
    config_args += self.enable_or_disable("stl")
    # The default glibc provided by CentOS 7 and Red Hat 8 does not provide
    # proper atomic support when using the NVIDIA compilers
    if spec.satisfies("%nvhpc") and (
        spec.satisfies("os=centos7") or spec.satisfies("os=rhel8")
    ):
        config_args.append("--disable-atomicsupport")
    return config_args