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

Alex Beregszaszi alex at fsn.hu
Wed Nov 2 22:12:11 CET 2005


Hi,

> +        ;;
> +      Darwin)
>  	proc=`$_cpuinfo | grep "Processor type" | cut -f 3 -d ' ' | sed
>  	's/ppc//'`
> -	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
>  	fi 

I'm not really familiar with shell scripting, but -o means fallback or
what?

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

Or we are not going to support old OSX releases?

-- 
Alex Beregszaszi 			email: alex at fsn.hu
Free Software Network			cell: +36 70 3144424




More information about the MPlayer-cvslog mailing list