# HG changeset patch # User cehoyos # Date 1181732641 0 # Node ID 8337977cc1c512029cfc624c3f6535e841e4b983 # Parent 09eb4ed0c13076ed8b8a4f000784d3762a556407 Do not allow to compile gui without PNG decoder in libavcodec. diff -r 09eb4ed0c130 -r 8337977cc1c5 configure --- a/configure Wed Jun 13 10:50:14 2007 +0000 +++ b/configure Wed Jun 13 11:04:01 2007 +0000 @@ -6997,7 +6997,10 @@ 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."