summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
Diffstat (limited to 'configure')
-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..."