diff options
author | Diego Biurrun <diego@biurrun.de> | 2009-06-07 12:52:31 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2009-06-07 12:52:31 +0000 |
commit | dd2089dfd8c3851f66f1dc5fd29d8030379bb2dc (patch) | |
tree | a14a247472cb7a9bc066f375a3cb682bf376eca4 /configure | |
parent | df0ff1a02954a665a3c88536cf7dcf2f9cdca5a3 (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-x | configure | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -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 |