[MPlayer-cvslog] CVS: main configure,1.1089,1.1090

Diego Biurrun diego at biurrun.de
Thu Nov 3 11:57:57 CET 2005


On Wed, Nov 02, 2005 at 10:12:11PM +0100, Alex Beregszaszi wrote:
> 
> > -	if [ `sysctl -n hw.vectorunit` -eq 1 ]; then
> > -	    _altivec=yes
> > -	elif [ "`sysctl -n hw.optional.altivec 2>/dev/null`" = 1 ]; then
> > +	if [ `sysctl -n hw.vectorunit` -eq 1 -o
> > +	    "`sysctl -n hw.optional.altivec 2>/dev/null`" -eq 1 ]; then
> >  	    _altivec=yes
> 
> I'm not really familiar with shell scripting, but -o means fallback or
> what?

Yes.  It's the same as an OR relationship in logic.

> Because originally it tried hw.vectorunit first, later
> hw.optional.altivec as this changing in some MacOSX version.

It still does.  The semantics have not changed, just the syntax.

> Or we are not going to support old OSX releases?

Dunno if MPlayer compiles/runs on Mac OS X < 10.3.

Diego




More information about the MPlayer-cvslog mailing list