This is the mail archive of the gcc@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]

Re: libstdc++ configure time


On Tue, Mar 20, 2001 at 02:21:10AM -0300, Alexandre Oliva wrote:
> Of course, if the string is a literal, you can get m4 to do the
> transformation for you ...

Which is what I've been doing.

> ... but sometimes you don't have a string literal.

That's true, I hadn't considered shell variables expanding
to echo meta characters.  Well, I think that's rare enough
that we can stand to outlaw it for normal practice.  Certainly
it doesn't happen in *any* of the cases that GCC needs.

For the general case it might do to have the "" quoting version
of the file creation macro check a global variable and fall back
to here documents if it is set.


r~


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