[MPlayer-users] [PATCH] ./configure syntax error

Cameron Hutchison camh+mp at xdna.net
Fri Jan 3 13:22:58 CET 2003


Once upon a time Steven M. Schultz said...
> 
> > > -if x86 && ! cygwin; then
> > > +if test x86 -a ! cygwin; then
> > 
> > I don't think so. x86 and cygwin are function calls, not variables.
> 
> 	Right.  And the shell will evaluate them as function calls _before_
> 	invoking 'test' - won't it?

No. They're just arguments to 'test'. The shell will just pass them as
strings.

if x86 ; then if cygwin ; then : ; else <stuff goes here> ; fi ; fi

That should work if you dont have a ! shell operator.



More information about the MPlayer-users mailing list