[MPlayer-users] problem with configure script

Gansser, Martin MGansser at inneo.de
Tue Jun 17 13:29:02 CEST 2003



> -----Original Message-----
> From: Götz Waschk [mailto:waschk at informatik.uni-rostock.de]
> Sent: Tuesday, June 17, 2003 12:48 PM
> To: MPlayer user's list.
> Subject: Re: [MPlayer-users] problem with configure script
> 
> 
> [Automatic answer: RTFM (read DOCS, FAQ), also read 
> DOCS/bugreports.html]
> Am Dienstag, 17. Juni 2003, 11:38:37 Uhr MET, schrieb Gansser, Martin:
> > I tried to compile the last CVS on hpux 11.00, but i get 
> the following
> > error message:
> > ./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
> 
> Hmm, it seems to me that /bin/sh on hpux is even more stupid than the
> Solaris version. Why don't you look at the man page of sh and see what
> they say about the syntax of [[.
> 
> -- 

on hpux (bash, csh, sh) it works only with this syntax:

only this two variants working:

if ( `sysctl -n hw.vectorunit` == 1 ); then
or
if [ `sysctl -n hw.vectorunit` == 1 ]; then

in the man page of sh I can't find [[

thanks Martin



More information about the MPlayer-users mailing list