def METHOD_NAME(self):
    spec = self.spec
    config_args = ["--with-bin-release", "--without-debug", "--with-mt", "--without-boost"]
    if spec.target.family != "aarch64":
        config_args.append("--with-64")
    if "+static" in spec:
        config_args.append("--with-static")
        # FIXME
        # args << "--with-static-exe" unless OS.linux?
        # args << "--with-dll" if build.with? "dll"
    else:
        config_args.extend(["--with-dll", "--without-static", "--without-static-exe"])
    if "+jpeg" in spec:
        config_args.append("--with-jpeg={0}".format(self.spec["jpeg"].prefix))
    else:
        config_args.append("--without-jpeg")
    if "+png" in spec:
        config_args.append("--with-png={0}".format(self.spec["libpng"].prefix))
    else:
        config_args.append("--without-png")
    if "+freetype" in spec:
        config_args.append("--with-freetype={0}".format(self.spec["freetype"].prefix))
    else:
        config_args.append("--without-freetype")
    config_args.append("--without-hdf5")
    # if '+hdf5' in spec:
    #     # FIXME
    #     config_args.append(
    #         '--with-hdf5={0}'.format(self.spec['hdf5'].prefix)
    #     )
    # else:
    #     config_args.append('--without-hdf5')
    if "+zlib" in spec:
        config_args.append("--with-z={0}".format(self.spec["zlib-api"].prefix))
    else:
        config_args.append("--without-z")
    if "+bzip2" in spec:
        config_args.append("--with-bz2={0}".format(self.spec["bzip2"].prefix))
    else:
        config_args.append("--without-bz2")
    if "+lzo" in spec:
        config_args.append("--with-lzo={0}".format(self.spec["lzo"].prefix))
    else:
        config_args.append("--without-lzo")
    if "+gnutls" in spec:
        config_args.append("--with-gnutls={0}".format(self.spec["gnutls"].prefix))
    else:
        config_args.append("--without-gnutls")
    if "+openssl" in spec:
        config_args.append("--with-openssl={0}".format(self.spec["openssl"].prefix))
    else:
        config_args.append("--without-openssl")
    if "+pcre" in spec:
        config_args.append("--with-pcre={0}".format(self.spec["pcre"].prefix))
    else:
        config_args.append("--without-pcre")
    if "+python" in spec:
        config_args.append("--with-python={0}".format(self.spec["python"].home))
    else:
        config_args.append("--without-python")
    if "+perl" in spec:
        config_args.append("--with-perl={0}".format(self.spec["perl"].prefix))
    else:
        config_args.append("--without-python")
    return config_args