[MPlayer-users] problem with configure script

Steven M. Schultz sms at 2BSD.COM
Tue Jun 17 17:49:20 CEST 2003


On Tue, 17 Jun 2003, Gansser, Martin wrote:

> ./configure[655]: Syntax error at line 873 : `==' is not expected.
> 
> I could solve the problem by removing the following lines from 
> configure:
> 
> if darwin ; then
>     if [[ `sysctl -n hw.vectorunit` == 1 ]]; then
>         _altivec=yes
>     fi

	Try changing the '==' to be '=' instead.   

	Or should that be something like this:

	if [ `sysctl -n hw.vectorunit` -eq 1 ]; then
           _altivec=yes
        fi


	If that works perhaps it could be checked in?

	Cheers,
	Steven Schultz



More information about the MPlayer-users mailing list