[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gnats/669: Re: gnats/669: missing @XXX@ keyword substitutions in do_subs
From: |
bug-gnats |
Subject: |
gnats/669: Re: gnats/669: missing @XXX@ keyword substitutions in do_subst |
Date: |
Wed, 9 Aug 2006 12:55:01 -0500 (CDT) |
The following reply was made to PR gnats/669; it has been noted by GNATS.
From: Stephane Chazelas <address@hidden>
To: address@hidden
Cc:
Subject: Re: gnats/669: missing @XXX@ keyword substitutions in do_subst
Date: Wed, 9 Aug 2006 18:45:59 +0100
Actually, one can't do that this way reliably.
for instance the
s,@ECHO_C@,$(ECHO_C),g
doesn't work because it is expanded to
s,@ECHO_C@,\c,g
which should have been:
s,@ECHO_C@,\\c,g
The substitution done by autoconf take care of that by escaping
the ",", "\" and "&" characters. It's not easy to do that
portably with the Makefile approach.
Is there any reason why the substitutions are done at the make
time instead of at the configure time by the autoconf dedicated
routine?
regards,
Stephane
- gnats/669: Re: gnats/669: missing @XXX@ keyword substitutions in do_subst,
bug-gnats <=