Mercurial > mplayer.hg
diff configure @ 23535:8337977cc1c5
Do not allow to compile gui without PNG decoder in libavcodec.
author | cehoyos |
---|---|
date | Wed, 13 Jun 2007 11:04:01 +0000 |
parents | a6c619ee9d30 |
children | d198ab45f7c9 |
line wrap: on
line diff
--- 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."