summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-17 12:37:16 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-07-17 12:37:16 +0000
commit33b41dd080d69070d770b4e3ae05052b71eab6ce (patch)
treeaf2a9b89f69b173cf47947a78efc6dd06f12df3b /configure
parentd098c927151f7217703c89aeabf0e1ae50e7ee10 (diff)
downloadmpv-33b41dd080d69070d770b4e3ae05052b71eab6ce.tar.bz2
mpv-33b41dd080d69070d770b4e3ae05052b71eab6ce.tar.xz
Do not test for the existence of device files during configuration,
it fails for packagers, crosscompilers or other cases where the binaries are built on a machine different from the one they are run on. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@23805 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure8
1 files changed, 2 insertions, 6 deletions
diff --git a/configure b/configure
index 260392823b..bca73a6a87 100755
--- a/configure
+++ b/configure
@@ -568,7 +568,7 @@ _xanim=auto
_real=auto
_live=auto
_xinerama=auto
-_mga=auto
+_mga=yes
_xmga=auto
_vm=auto
_xf86keysym=auto
@@ -4134,10 +4134,6 @@ fi
echocheck "/dev/mga_vid"
-if test "$_mga" = auto ; then
- _mga=no
- test -c /dev/mga_vid && _mga=yes
-fi
if test "$_mga" = yes ; then
_def_mga='#define HAVE_MGA 1'
_vosrc="$_vosrc vo_mga.c"
@@ -4304,7 +4300,7 @@ echores "$_svga"
echocheck "FBDev"
if test "$_fbdev" = auto ; then
_fbdev=no
- linux && test -c /dev/fb0 && _fbdev=yes
+ linux && _fbdev=yes
fi
if test "$_fbdev" = yes ; then
_def_fbdev='#define HAVE_FBDEV 1'