On 20.09.2022 16:29:07, Michael Olbrich wrote: > > > Why do you need this stuff anyways? From looking at configure.ac, the > > > existing options should work. What am I missing here? > > > > If configure is called with '--with-default-ssl-backend="no"' it fails: > > > > | checking if GSS-API support is requested... no > > | checking whether to enable Windows native SSL/TLS... no > > | checking whether to enable Secure Transport... no > > | checking whether to enable Amiga native SSL/TLS (AmiSSL v5)... no > > | configure: error: TLS not detected, you will not be able to use HTTPS, FTPS, NTLM and more. > > | Use --with-openssl, --with-gnutls, --with-wolfssl, --with-mbedtls, --with-nss, --with-schannel, --with-secure-transport, --with-amissl, --with-bearssl or --with-rustls to address this. > > I think adding ptx/wwo --with{out,}-ssl should work. No need to make the > backend conditional. No, it doesn't. > Or $(call ptx/ifdef,PTXCONF_LIBCURL_SSL,,--without-ssl). Either one > inserted at the correct place. This works, though: @@ -105,7 +105,7 @@ LIBCURL_CONF_OPT := \ --without-brotli \ --without-zstd \ --without-gssapi \ - --with-default-ssl-backend=$(PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND) \ + $(call ptx/ifdef,PTXCONF_LIBCURL_SSL,--with-default-ssl-backend=$(PTXCONF_LIBCURL_SSL_DEFAULT_BACKEND),--without-ssl) --with-random=/dev/urandom \ --with-ca-bundle=$(PTXCONF_LIBCURL_SSL_CABUNDLE_PATH) \ --with-ca-path=$(PTXCONF_LIBCURL_SSL_CAPATH_PATH) \ Marc -- Pengutronix e.K. | Marc Kleine-Budde | Embedded Linux | https://www.pengutronix.de | Vertretung West/Dortmund | Phone: +49-231-2826-924 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |