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: PATCH RFA: Support --enable-build-with-cxx at top level


Ralf Wildenhues wrote:
> * Dave Korn wrote on Mon, Jun 22, 2009 at 10:54:47PM CEST:
>> Ralf Wildenhues wrote:
>>
>>> The most conservative quoting is something like
>>>   x"$withval"
>>>
>>> as some old test programs (or shells) do the wrong thing when the
>>> arguments start with a hyphen.  
>>   The way I interpreted this extract from libtool/tests/sh.test (which I
>> happened to run into just the other day):
> 
>> ... was that both the 'x' and the $variable should be inside the quotes when
>> using this syntax.  Did I misunderstand?
> 
> That is only a matter of libtool policy, not sh syntax.

  Well, don't GCC and libtool have very similar portability requirements here
in terms of the kinds of systems they both have to run on?  I was wondering if
any rule that's good enough for libtool shouldn't be good enough for us too?

    cheers,
      DaveK


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