This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: top-level configure: preserve quotes in arguments (Was: Re: [libstdc++] libstdc++/7691, pass -Wabi, sanity checks)
- From: Alexandre Oliva <aoliva at redhat dot com>
- To: John Marshall <johnm at falch dot net>
- Cc: Phil Edwards <phil at jaj dot com>, Benjamin Kosnik <bkoz at redhat dot com>, Manfred Hollstein <manfredh at redhat dot com>, libstdc++ at gcc dot gnu dot org, gcc-patches at gcc dot gnu dot org
- Date: 01 Sep 2002 17:47:05 -0300
- Subject: Re: top-level configure: preserve quotes in arguments (Was: Re: [libstdc++] libstdc++/7691, pass -Wabi, sanity checks)
- Organization: GCC Team, Red Hat
- References: <20020828221458.A26047@disaster.jaj.com><20020828214244.09bde535.bkoz@redhat.com><20020829114329.A30164@disaster.jaj.com><1030637067.1116.13.camel@merkur.hollstein.net><20020829093904.41494001.bkoz@redhat.com><20020829160812.A969@disaster.jaj.com><20020830184800.GA18722@kahikatea.falch.net>
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