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 Aug 30, 2002, John Marshall <johnm@falch.net> wrote:

> Tested by bootstraping on x86 Linux (with --enable-cxx-flags="-Wabi -Wabi"
> rather than the green fire :-)).

Hmm...  There's one thing I dislike about your patch, which is that it
turns --enable-cxx-flags= into --enable-cxx-flags (with an implicit
=yes).  I'd rather set addoption to the entire string to be added to
$arguments, quoted if necessary.

Also, there are a number of other *options variables that are passed
down to sub-configures that require as much quoting as $arguments.
Those may be trickier to handle, unless you set say quotedoption and
quotedoptarg in advance, and use that whenever such variables are
appended to.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                 aoliva@{redhat.com, gcc.gnu.org}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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