mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-05-24 13:42:56 +02:00
configure: Group code that sets the license string with licensing checks
This also moves the setting of the licensing string out of a block that is skipped when quiet operation is requested.
This commit is contained in:
parent
2eb396b175
commit
bca41545b3
23
configure
vendored
23
configure
vendored
@ -2881,6 +2881,18 @@ map "die_license_disabled version3" $EXTERNAL_LIBRARY_VERSION3_LIST
|
|||||||
|
|
||||||
enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
|
enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
|
||||||
|
|
||||||
|
if enabled nonfree; then
|
||||||
|
license="nonfree and unredistributable"
|
||||||
|
elif enabled gplv3; then
|
||||||
|
license="GPL version 3 or later"
|
||||||
|
elif enabled lgplv3; then
|
||||||
|
license="LGPL version 3 or later"
|
||||||
|
elif enabled gpl; then
|
||||||
|
license="GPL version 2 or later"
|
||||||
|
else
|
||||||
|
license="LGPL version 2.1 or later"
|
||||||
|
fi
|
||||||
|
|
||||||
enabled_all gnutls openssl &&
|
enabled_all gnutls openssl &&
|
||||||
die "GnuTLS and OpenSSL must not be enabled at the same time."
|
die "GnuTLS and OpenSSL must not be enabled at the same time."
|
||||||
|
|
||||||
@ -5170,17 +5182,6 @@ if test -n "$ignore_tests"; then
|
|||||||
echo
|
echo
|
||||||
fi
|
fi
|
||||||
|
|
||||||
license="LGPL version 2.1 or later"
|
|
||||||
if enabled nonfree; then
|
|
||||||
license="nonfree and unredistributable"
|
|
||||||
elif enabled gplv3; then
|
|
||||||
license="GPL version 3 or later"
|
|
||||||
elif enabled lgplv3; then
|
|
||||||
license="LGPL version 3 or later"
|
|
||||||
elif enabled gpl; then
|
|
||||||
license="GPL version 2 or later"
|
|
||||||
fi
|
|
||||||
|
|
||||||
echo "License: $license"
|
echo "License: $license"
|
||||||
|
|
||||||
fi # test "$quiet" != "yes"
|
fi # test "$quiet" != "yes"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user