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: top-level configure: preserve quotes in arguments (Was: Re: [libstdc++] libstdc++/7691, pass -Wabi, sanity checks)


On Fri, Aug 30, 2002 at 08:48:00PM +0200, John Marshall wrote:
> On Thu, Aug 29, 2002 at 04:08:12PM -0400, Phil Edwards wrote:
> >> Benjamin Kosnik wrote:
> >> Maybe somebody should ask Alexandre Oliva why white space quoted string
> >> literals get munged...
> > 
> > ...they're not getting munged exactly; it's just that there's been a lot of
> > changes in the toplevel configury, and quoted stirngs can only be evaluated
> > and assigned and passed around so many times before all the quoting levels
> > have been removed.
> 
> Or you can take care to requote them when you're assigning them.  There
> only seems to be one place that's causing this particular trouble.  The
> patch below is enough to get --enable-cxx-flags="-Wabi -Wasabi" and
> similar working again.  (I think it's trivial enough that I can post my
> non-copyright assigned thoughts without polluting anyone's mind :-).)
> Or maybe Alexandre has a better way to do something similar :-).

I've cc'd him.  He told me that this is a toplevel bug; the scripts
generated by autoconf are careful to preserve quotes, but of course our
toplevel stuff is not (yet) autoconfiscated.  I'll hold off on touching
anything in the v3 configury until after he gets a chance to look at the
situation (and your patch).


Thanks!

Phil

-- 
I would therefore like to posit that computing's central challenge, viz. "How
not to make a mess of it," has /not/ been met.
                                                 - Edsger Dijkstra, 1930-2002


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