[MPlayer-users] [PATCH] ./configure syntax error
D Richard Felker III
dalias at aerifal.cx
Sat Jan 4 06:43:01 CET 2003
On Sat, Jan 04, 2003 at 12:23:29PM +1100, Cameron Hutchison wrote:
> [Automatic answer: RTFM (read DOCS, FAQ), also read DOCS/bugreports.html]
> Once upon a time D Richard Felker III said...
> > On Fri, Jan 03, 2003 at 11:22:58PM +1100, Cameron Hutchison wrote:
> > > 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.
> >
> > I don't think so; that's total nonsense. If that were the case you'd
> > be running test on a constant string which would always evaluate to
> > true!!
>
> No. Read it more carefully. In one case, there is:
>
> if <command1> && ! <command2> ; then
>
> In the other it is
>
> if test <string1> -a ! <string2> ; then
>
> In this second case, the only command executed is test(1). In the first
> case, both <commands> are executed.
Huh?!? That's exactly what I just said. Apparently one or both of us
is misunderstanding the other and it's getting rather pointless.
Someone just fix the script and be done with it.
Rich
More information about the MPlayer-users
mailing list