This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: AIX /bin/sh weirdness with toplevel configure.in
- To: Manfred Hollstein <manfred dot h at gmx dot net>
- Subject: Re: AIX /bin/sh weirdness with toplevel configure.in
- From: Alexandre Oliva <aoliva at redhat dot com>
- Date: 12 Aug 2000 17:34:37 -0300
- Cc: Geoffrey Keating <geoffk at cygnus dot com>, gcc-patches at gcc dot gnu dot org
- Cc: jason at cygnus dot com
- Organization: GCC Team, Red Hat
- References: <200008112041.NAA28538@thief.cygnus.com><14741.4084.552928.320180@saturn.hollstein.net>
On Aug 12, 2000, Manfred Hollstein <manfredh@redhat.com> wrote:
> On Friday, 11 August 2000, 13:41:55 -0700, geoffk@thief.cygnus.com wrote:
>>
>> This fixes a problem with the AIX /bin/sh. If this is still not
>> portable everywhere, I think this bit of the shell script needs to be
>> rethought. The problem was introduced with:
> You need to apply a similar patch to gcc/configure.in, too; it is
> using the same procedure to convert blanks into commas at line 4689.
But not within the some amount of quoting, which is the source of the
problem.
A more portable solution would be:
if test -d ${topsrcdir}/gcc &&
{ test "x${enable_languages+set}" != xset ||
echo ,$LANGUAGES, | tr ' ' ',' | grep ',<lang>,' > /dev/null; };
then
...
but Jason Merrill seems to have ``fixed'' the problem in a far simpler
way: by wiping out the language test. I wonder if this won't break
C++-disabled builds, when configuring libstdc++ or libio (assuming
there isn't some magic to skip them in C++-disabled builds).
--
Alexandre Oliva Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist *Please* write to mailing lists, not to me