This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] remove 'for x in .. ${foo}' idiom from configure.in


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>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]