* Akim Demaille wrote on Wed, Oct 25, 2006 at 05:35:31PM CEST:
> >
> >| if test -n "$required"
> >| then
> >[...]
> >|         if ( bison --version ); then :; else exit 77; fi
> >
> >instead of
> >|         ( bison --version ) || exit 77
> >
> >because of the OpenBSD /bin/sh bug with `set -e' [...]

> Gee!  That's a new one :(  I know that
> 
>       false && echo
> 
> is not safe with -e (and actually, it does seem fair), but I did not
> know
> 
>       false || echo
> 
> could be a problem.

Oops.  You are right, and I was wrong.  Sorry about this error of mine.
I retract any claim that
        false || echo

could be a problem.

> BTW, the example in the Autoconf doc would
> be much clearer (IMHO) with true and false instead of test.

Probably.

Cheers,
Ralf


Reply via email to