Browse Source

configure: Bail out if both GnuTLS and OpenSSL are enabled

Both libraries provide similar functionality and cannot be used together.
When both are enabled one is used and the other ignored arbitrarily. Error
out instead and have the user choose which library to use.
tags/n4.0
Diego Biurrun 8 years ago
parent
commit
ed434be106
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      configure

+ 3
- 0
configure View File

@@ -2887,6 +2887,9 @@ map "die_license_disabled version3" $EXTERNAL_LIBRARY_VERSION3_LIST

enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }

enabled_all gnutls openssl &&
die "GnuTLS and OpenSSL must not be enabled at the same time."

# Disable all the library-specific components if the library itself
# is disabled, see AVCODEC_LIST and following _LIST variables.



Loading…
Cancel
Save