changeset 36791:615b03f81c91

configure: Prettify code for PNG_DECODER test.
author ib
date Wed, 19 Feb 2014 16:11:13 +0000
parents e19232375229
children f55acdc8aa2b
files configure
diffstat 1 files changed, 5 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Wed Feb 19 16:02:03 2014 +0000
+++ b/configure	Wed Feb 19 16:11:13 2014 +0000
@@ -7788,10 +7788,11 @@
 
   # Required libraries
   test "$ffmpeg" != yes && die "The GUI requires FFmpeg."
-  test "$ffmpeg_so" = yes || case "$libavdecoders" in
-    *PNG_DECODER*) ;;
-    *) die "The GUI requires libavcodec with PNG support (needs zlib)." ;;
-  esac
+  test "$ffmpeg_so" = yes ||
+    case "$libavdecoders" in
+      *PNG_DECODER*) ;;
+      *) die "The GUI requires libavcodec with PNG support (needs zlib)." ;;
+    esac
   test "$_freetype" = no && test "$_bitmap_font" = no &&
     die "The GUI requires either FreeType or bitmap font support."