[MPlayer-cvslog] r23555 - trunk/configure

cehoyos subversion at mplayerhq.hu
Wed Jun 13 13:04:01 CEST 2007


Author: cehoyos
Date: Wed Jun 13 13:04:01 2007
New Revision: 23555

Log:
Do not allow to compile gui without PNG decoder in libavcodec.

Modified:
   trunk/configure

Modified: trunk/configure
==============================================================================
--- trunk/configure	(original)
+++ trunk/configure	Wed Jun 13 13:04:01 2007
@@ -6997,7 +6997,10 @@ echo "$_gui"
 if test "$_gui" = yes ; then
 
   # Required libraries
-  test "$_libavcodec" != yes && die "The GUI requires libavcodec with PNG support."
+  if test "$_libavcodec" != yes ||
+      not "echo $_libavdecoders | grep PNG_DECODER >/dev/null 2>&1" ; then
+    die "The GUI requires libavcodec with PNG support."
+  fi
 if not win32 ; then
   test "$_x11" != yes && die "X11 support required for GUI compilation."
 



More information about the MPlayer-cvslog mailing list