"Tim Van Holder" <[EMAIL PROTECTED]> writes:

> Note that the ';' still isn't needed:
> 
>       PATH="foo:bar" conftest
> 
> behaves exactly like
> 
>       PATH="foo:bar"; conftest
> 
> except that the former does not affect PATH after the command is run.

I agree, but I think it is wrong to assume all the shells will have
the intelligence of honoring PATH immediately.

> We probably don't care for the purpose of our test, as the command
> is run in a subshell.  However, the first version might still be safer,
> as the use of a subshell is probably an implementation detail of
> AC_RUN_LOG. 

I agree too the first one is safer in a sane environment, but there
are really funny things out there.

Reply via email to