summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-29 16:47:07 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-11-29 16:47:07 +0000
commitdb355d022c7de88018b89403647ed330337264db (patch)
treeef523d38f1273c7e94d88c827812bf010881a6b9 /configure
parent156cbec75f9c095158130da1c6c01d0a9891b3ea (diff)
downloadmpv-db355d022c7de88018b89403647ed330337264db.tar.bz2
mpv-db355d022c7de88018b89403647ed330337264db.tar.xz
extrachecks for weird configs GUI (--enable-gui --disable-png for instance)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3197 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 5445ac4033..5bbc71af59 100755
--- a/configure
+++ b/configure
@@ -2336,6 +2336,10 @@ echocheck "GUI"
echo "$_gui"
if test "$_gui" = yes ; then
+ # Required libraries
+ test "$_png" != yes && die "PNG support required for GUI compilation"
+ test "$_x11" != yes && die "X11 support required for GUI compilation"
+
echocheck "XShape extension"
_xshape=no
if test "$_x11" = yes ; then