[MPlayer-cvslog] r23805 - trunk/configure
SciFi
sci-fi at hush.ai
Tue Jul 17 23:57:26 CEST 2007
On 2007-07-17 07:37:16 -0500, diego <subversion at mplayerhq.hu> said:
> Author: diego
> Date: Tue Jul 17 14:37:16 2007
> New Revision: 23805
>
> Log:
> 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.
>
>
> Modified:
> trunk/configure
>
> Modified: trunk/configure
> ==============================================================================
> --- trunk/configure (original)
> +++ trunk/configure Tue Jul 17 14:37:16 2007
> @@ -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'
ah-oh, on darwin/osx we get this now:
>>>>
cc -Os -I./libavcodec -I./libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I. -I./libavutil
-Os -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16
-DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -Os
-fomit-frame-pointer -I/usr/X11R6/include -I/usr/include/
-I/usr/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include/freetype2
-I/usr/X11R6/include -I/usr/include -I/usr/include/dvdnav
-I../libavcodec -I../libavformat -Wdisabled-optimization
-Wno-pointer-sign -Wdeclaration-after-statement -I. -I.. -I../libavutil
-Os -fomit-frame-pointer -mdynamic-no-pic -falign-loops=16
-DSYS_DARWIN -DCONFIG_DARWIN -shared-libgcc -D_LARGEFILE_SOURCE
-D_FILE_OFFSET_BITS=64 -D_LARGEFILE64_SOURCE -I/usr/include
-I/usr/local/include -I/usr/X11R6/include -I/usr/local/include -Os
-fomit-frame-pointer -I/usr/X11R6/include -I/usr/include/
-I/usr/include/SDL -D_THREAD_SAFE -I/usr/X11R6/include/freetype2
-I/usr/X11R6/include -I/usr/include -I/usr/include/dvdnav -Os -c -o
vo_mga.o vo_mga.c
vo_mga.c:19:22: error: linux/fb.h: No such file or directory
vo_mga.c: In function 'config':
vo_mga.c:45: error: storage size of 'fbinfo' isn't known
vo_mga.c:48: error: 'FBIOGET_VSCREENINFO' undeclared (first use in this
function)
vo_mga.c:48: error: (Each undeclared identifier is reported only once
vo_mga.c:48: error: for each function it appears in.)
make[1]: *** [vo_mga.o] Error 1
make[1]: Leaving directory
`/Volumes/BigUn3/Projects/mplayerhq_svn/mplayer/libvo'
make: *** [libvo/libvo.a] Error 2
make: Leaving directory `/Volumes/BigUn3/Projects/mplayerhq_svn/mplayer'
<<<<
IIUC you've hardcoded _mga=yes for everyone now... ;)
More information about the MPlayer-cvslog
mailing list