mirror of
https://github.com/mpv-player/mpv
synced 2024-12-29 02:22:19 +00:00
Do not allow to compile gui without PNG decoder in libavcodec.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23555 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
3133f9099b
commit
08054925cc
5
configure
vendored
5
configure
vendored
@ -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."
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user