aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeremy Kolb <jkolb@wsi.com>2008-05-16 16:12:55 +0000
committerDiego Biurrun <diego@biurrun.de>2008-05-16 16:12:55 +0000
commitba321adb944507f637106ca77050818eeb85e333 (patch)
tree1ad2b712d26db72d9076af0ded53707c25493fec
parente6375662db6ff94f4066febf6c451df9a1e41c41 (diff)
downloadffmpeg-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
-rwxr-xr-xconfigure13
1 files changed, 8 insertions, 5 deletions
diff --git a/configure b/configure
index 36569d1b4f..86394e9d3d 100755
--- a/configure
+++ b/configure
@@ -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..."