summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authoralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-18 11:26:04 +0000
committeralex <alex@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-08-18 11:26:04 +0000
commit6c5df75cce0684a41c8bc8b1a324e55238d07891 (patch)
treeafadc614c164a47f52b6c65f1ada60ce18d36492 /configure
parent23bc87ab983bdaa4de758cd3c4c696ac532a6212 (diff)
downloadmpv-6c5df75cce0684a41c8bc8b1a324e55238d07891.tar.bz2
mpv-6c5df75cce0684a41c8bc8b1a324e55238d07891.tar.xz
use libvbe from vesautils
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16257 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure14
1 files changed, 7 insertions, 7 deletions
diff --git a/configure b/configure
index 701ed62c6d..01fce2fce9 100755
--- a/configure
+++ b/configure
@@ -4290,23 +4290,22 @@ esac
echocheck "VESA support"
if test "$_vesa" = auto ; then
-if x86 && linux ; then
- _vesa=no
cat > $TMPC << EOF
-#include <sys/io.h>
-int main(void) { return 0; }
+#include <vbe.h>
+int main(void) { vbeVersion(); return 0; }
EOF
- cc_check && _vesa=yes
-fi
+ _vesa=no
+ cc_check -lvbe -llrmi && _vesa=yes
fi
if test "$_vesa" = yes ; then
_def_vesa='#define HAVE_VESA 1'
+ _ld_vesa="-lvbe -llrmi"
_vosrc="$_vosrc vo_vesa.c vesa_lvo.c"
_vomodules="vesa $_vomodules"
echores "yes"
else
_def_vesa='#undef HAVE_VESA'
- echores "no (not supported on this OS/architecture)"
+ echores "no"
_novomodules="vesa $_novomodules"
fi
@@ -7025,6 +7024,7 @@ JPEG_LIB = $_ld_jpg
GIF_LIB = $_ld_gif
SDL_LIB = $_ld_sdl
SVGA_LIB = $_ld_svga
+VESA_LIB = $_ld_vesa
AA_LIB = $_ld_aa
CACA_INC = $_inc_caca
CACA_LIB = $_ld_caca