diff options
author | Jeremy Kolb <jkolb@wsi.com> | 2008-05-16 16:12:55 +0000 |
---|---|---|
committer | Diego Biurrun <diego@biurrun.de> | 2008-05-16 16:12:55 +0000 |
commit | ba321adb944507f637106ca77050818eeb85e333 (patch) | |
tree | 1ad2b712d26db72d9076af0ded53707c25493fec /configure | |
parent | e6375662db6ff94f4066febf6c451df9a1e41c41 (diff) | |
download | ffmpeg-ba321adb944507f637106ca77050818eeb85e333.tar.gz |
Store license value in a variable for later use.
patch by Jeremy Kolb, jkolb wsi com
Originally committed as revision 13183 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 13 |
1 files changed, 8 insertions, 5 deletions
@@ -1978,11 +1978,14 @@ for type in decoder encoder parser demuxer muxer protocol filter bsf indev outde echo done -enabled nonfree && - echo "License: unredistributable" || - (enabled gpl && - echo "License: GPL" || - echo "License: LGPL") +license="LGPL" +if enabled nonfree; then + license="unredistributable" +elif enabled gpl; then + license="GPL" +fi + +echo "License: $license" echo "Creating config.mak and config.h..." |