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.
Unified · Split
| @@ -2887,6 +2887,9 @@ map "die_license_disabled version3" $EXTERNAL_LIBRARY_VERSION3_LIST · 2886 unmodified lines | |||
| 2887 | 2887 | ||
| 2888 | enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; } | 2888 | enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; } |
| 2889 | 2889 | ||
| 2890 | enabled_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 itself | 2893 | # 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 | ||