[Mplayer-cvslog] CVS: main configure,1.117,1.118

Arpi arpi at thot.banki.hu
Sun Jul 29 17:51:44 CEST 2001


Hi,

> On Saturday, 28. July 2001 23:51, you wrote:
> > Hi,
> >
> > > +if ($_cc $TMPC -o $TMPO && $TMPO) > /dev/null 2>&1 ; then
> > > +	echo "ok"
> > > +	return 1
> > > +else
> > > +	echo "failed"
> > > +	echo "It seems that your kernel does not correctly support $2. To use
> > > $2 extensions in MPlayer, you have to upgrade/recompile your kernel!"
> > > +	return 0
> > > +fi
> >
> > hey this checks only the C compiler (and as), and does nothing with the
> > kernel! or i'm really silly as someone said on the list :)
> see that && $TMPO? it executes the binary, if it crashes with a SIGILL or so 
> check will fail.

yes, right.

btw this is wrong:

if extcheck $_mmx2 "mmx2" "movntq %%mm0, (%%eax)" ; then _mmx2=no ; fi

it will write to address pointed by eax. right?
these checks shouldn't touch memory!


A'rpi / Astral & ESP-team

--
mailto:arpi at thot.banki.hu
http://esp-team.scene.hu



More information about the MPlayer-cvslog mailing list