top-level configure: preserve quotes in arguments (Was: Re: [libstdc++] libstdc++/7691, pass -Wabi, sanity checks)
Alexandre Oliva
aoliva@redhat.com
Sun Sep 1 13:47:00 GMT 2002
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
More information about the Libstdc++
mailing list