This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [committed] remove 'for x in .. ${foo}' idiom from configure.in
- From: Geoff Keating <geoffk at geoffk dot org>
- To: neroden at twcny dot rr dot com (Nathanael Nerode)
- Cc: gcc-patches at gcc dot gnu dot org
- Date: 31 Aug 2003 13:04:27 -0700
- Subject: Re: [committed] remove 'for x in .. ${foo}' idiom from configure.in
- References: <20030831193616.GA30872@twcny.rr.com>
neroden@twcny.rr.com (Nathanael Nerode) writes:
> This idiom is for Makefiles. The shell quite happily handles
> for x in ${foo}
> where ${foo} evaluates to nothing. (It does nothing in this case.)
At least some versions of bash (I think the early bash 2.x versions)
reject this construct.
--
- Geoffrey Keating <geoffk@geoffk.org>