Actions

icon Post
text/html Subscribe
text/html Unsubscribe

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [autoconf-conversion] New tools and multilibs fight with one another


  • To: "Paolo Bonzini" <bonzini@xxxxxxx>
  • Subject: Re: [autoconf-conversion] New tools and multilibs fight with one another
  • From: Ian Lance Taylor <ian@xxxxxxxx>
  • Date: 25 Jul 2003 21:28:11 -0700

"Paolo Bonzini" <bonzini@xxxxxxx> writes:

> > > I can't think of anything else that would work.  Basically you need to
> > > expand the parameter and then treat it as normal shell input for quote
> > > processing.  As far as I know, the shell language doesn't support that
> > > directly.
> 
> eval?

You're right, that does work.  For some reason I was thinking that
eval would create a subshell, but that was wrong.  So you can do
something like this:

eval "for a in ${ac_configure_args}; do PROCESS ARG; done"

That is simpler.

Ian