def METHOD_NAME(self):
    config_args = ["--with-openssl"]
    if "+threadsafe" in self.spec:
        config_args.append("--enable-thread-safety")
    else:
        config_args.append("--disable-thread-safety")
    if self.spec.variants["lineedit"].value == "libedit":
        config_args.append("--with-libedit-preferred")
    elif self.spec.variants["lineedit"].value == "none":
        config_args.append("--without-readline")
    if "+gssapi" in self.spec:
        config_args.append("--with-gssapi")
    if "+python" in self.spec:
        config_args.append("--with-python")
    if "+perl" in self.spec:
        config_args.append("--with-perl")
    if "+tcl" in self.spec:
        config_args.append("--with-tcl")
    if "+xml" in self.spec:
        config_args.append("--with-libxml")
    return config_args