History

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.

Diego Biurrun committed 9 years ago

Commit ed434be1 parent adfd7891 file · +3 −0Browse files

Unified · Split

configure+3−0
@@ -2887,6 +2887,9 @@ map "die_license_disabled version3" $EXTERNAL_LIBRARY_VERSION3_LIST · 2886 unmodified lines
2887 2887
2888enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }2888enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
2889 2889
2890enabled_all gnutls openssl &&
2891 die "GnuTLS and OpenSSL must not be enabled at the same time."
2892
2890# Disable all the library-specific components if the library itself2893# Disable all the library-specific components if the library itself
2891# is disabled, see AVCODEC_LIST and following _LIST variables.2894# is disabled, see AVCODEC_LIST and following _LIST variables.
2892 2895

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t