summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2009-06-07 12:52:31 +0000
committerDiego Biurrun <diego@biurrun.de>2009-06-07 12:52:31 +0000
commitdd2089dfd8c3851f66f1dc5fd29d8030379bb2dc (patch)
treea14a247472cb7a9bc066f375a3cb682bf376eca4 /configure
parentdf0ff1a02954a665a3c88536cf7dcf2f9cdca5a3 (diff)
Merge (L)GPL upgrade code and related changes from trunk.
Originally committed as revision 19129 to svn://svn.ffmpeg.org/ffmpeg/branches/0.5
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 9 insertions, 0 deletions
diff --git a/configure b/configure
index 4084c869e7..2a576e0c06 100755
--- a/configure
+++ b/configure
@@ -75,6 +75,7 @@ show_help(){
echo " --enable-shared build shared libraries [no]"
echo " --enable-gpl allow use of GPL code, the resulting libs"
echo " and binaries will be under GPL [no]"
+ echo " --enable-version3 upgrade (L)GPL to version 3 [no]"
echo " --enable-nonfree allow use of nonfree code, the resulting libs"
echo " and binaries will be unredistributable [no]"
echo " --disable-ffmpeg disable ffmpeg build"
@@ -801,6 +802,7 @@ CONFIG_LIST="
swscale
vdpau
vhook
+ version3
x11grab
zlib
"
@@ -917,6 +919,8 @@ HAVE_LIST="
# options emitted with CONFIG_ prefix but not available on command line
CONFIG_EXTRA="
+ gplv3
+ lgplv3
oldscaler
"
@@ -1695,6 +1699,7 @@ die_license_disabled nonfree libamr_nb
die_license_disabled nonfree libamr_wb
die_license_disabled nonfree libfaac
+enabled version3 && { enabled gpl && enable gplv3 || enable lgplv3; }
check_deps $ARCH_EXT_LIST
@@ -2336,6 +2341,10 @@ done
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