configure: fix licence check function
authorMåns Rullgård <mans@mansr.com>
Wed, 29 Apr 2009 16:14:33 +0000 (16:14 +0000)
committerMåns Rullgård <mans@mansr.com>
Wed, 29 Apr 2009 16:14:33 +0000 (16:14 +0000)
Originally committed as revision 18717 to svn://svn.ffmpeg.org/ffmpeg/trunk

configure

index 775be48..40ea515 100755 (executable)
--- a/configure
+++ b/configure
@@ -1737,7 +1737,7 @@ fi
 
 
 die_license_disabled() {
-    enabled $1 || enabled $2 && die "$2 is $1 and --enable-$1 is not specified."
+    enabled $1 || { enabled $2 && die "$2 is $1 and --enable-$1 is not specified."; }
 }
 
 die_license_disabled gpl libfaad2