From ba321adb944507f637106ca77050818eeb85e333 Mon Sep 17 00:00:00 2001 From: Jeremy Kolb Date: Fri, 16 May 2008 16:12:55 +0000 Subject: 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 --- configure | 13 ++++++++----- 1 file 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..." -- cgit v1.2.3