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
28872887
28882888 enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
28892889
2890+enabled_all gnutls openssl &&
2891+ die "GnuTLS and OpenSSL must not be enabled at the same time."
2892+
28902893 # Disable all the library-specific components if the library itself
28912894 # is disabled, see AVCODEC_LIST and following _LIST variables.
28922895

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