summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-06 22:57:58 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-01-06 22:57:58 +0000
commitd6f2d144ad92bf9d038ed6c05d6b429a2545fb3e (patch)
treed541225a4863577b2cdfe5fadf179103d56909c4 /configure
parentd1fb727353d8a4c4c085c10af744582c5bda0674 (diff)
downloadmpv-d6f2d144ad92bf9d038ed6c05d6b429a2545fb3e.tar.bz2
mpv-d6f2d144ad92bf9d038ed6c05d6b429a2545fb3e.tar.xz
fbdev autodetection enabled (requires linux && /dev/fb0)
test changed for directfb (requires linux && /dev/fb0) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@4020 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 4 insertions, 4 deletions
diff --git a/configure b/configure
index 872fa85f7a..d9cd0a1631 100755
--- a/configure
+++ b/configure
@@ -148,7 +148,7 @@ Video:
--enable-vm build with XF86VidMode support for X11 [autodetect]
--enable-xinerama build with Xinerama support for X11 [autodetect]
--enable-x11 build with X11 render support [autodetect]
- --enable-fbdev build with FBDev render support [disable]
+ --enable-fbdev build with FBDev render support [autodetect]
--enable-mlib build with MLIB support (Solaris only) [autodetect]
--enable-3dfx build with 3dfx support [disable]
--enable-tdfxfb build with tdfxfb support [disable]
@@ -679,7 +679,7 @@ _gl=auto
_ggi=auto
_aa=auto
_svga=auto
-_fbdev=no
+_fbdev=auto
_dvb=auto
_dxr3=auto
_iconv=auto
@@ -1365,7 +1365,7 @@ if test "$_directfb" = auto ; then
#include <directfb.h>
int main(void) { IDirectFB *foo; return 0; }
EOF
- cc_check -ldirectfb && _directfb=yes
+ linux && test -c /dev/fb0 && cc_check -ldirectfb && _directfb=yes
fi
if test "$_directfb" = yes ; then
_def_directfb='#define HAVE_DIRECTFB 1'
@@ -1757,7 +1757,7 @@ echores "$_svga"
echocheck "FBDev"
if test "$_fbdev" = auto ; then
_fbdev=no
- linux && _fbdev=yes
+ linux && test -c /dev/fb0 && _fbdev=yes
fi
if test "$_fbdev" = yes ; then
_def_fbdev='#define HAVE_FBDEV 1'