[MPlayer-cvslog] r23805 - trunk/configure

Diego Biurrun diego at biurrun.de
Wed Jul 18 11:16:37 CEST 2007


On Tue, Jul 17, 2007 at 04:57:26PM -0500, SciFi wrote:
> On 2007-07-17 07:37:16 -0500, diego <subversion at mplayerhq.hu> said:
> 
> > 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
> > 
> > --- trunk/configure	(original)
> > +++ trunk/configure	Tue Jul 17 14:37:16 2007
> > @@ -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"
> 
> 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...  ;)

Yes, it should be Linux-only.  Thanks for pointing this out, fixed.

Diego



More information about the MPlayer-cvslog mailing list