On Fri, 22 May 2015, Luca Barbato wrote:
And warn about it. ---OpenSSL requires nonfree. configure | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/configure b/configure index 5bcc2df..70b3e84 100755 --- a/configure +++ b/configure @@ -4289,6 +4289,11 @@ if enabled gnutls; then { check_lib gcrypt.h gcry_mpi_new -lgcrypt && enable gcrypt; } fi +enabled gnutls && enabled openssl && { + warn "Multiple TLS providers found: selecting gnutls over openssl." + disable openssl; +}
Well, if you see gnutls/openssl only as libs that are used for implementing the tls:// protocol, sure, but if you see them as generic external libs that may have more or less overlapping tasks, it's not as straightforward. (They are used for other things than that, but they're exchangeable there as well.) See my reply to wm4's patch 1/2 for a suggestion on how this can be handled differently, allowing both of them to be enabled, but only building one out of N different tls protocol implementations.
// Martin _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
