AS_ECHO_N in util-macros
Jon TURNEY
jon.turney at dronecode.org.uk
Sat Mar 10 07:14:07 PST 2012
On 07/03/2012 21:01, Jon TURNEY wrote:
> On 05/03/12 20:04, Jeremy Huddleston wrote:
>> Crap, I wish I had tried this sooner. It doesn't look likw AS_ECHO is in
>> autoconf-2.61 either:
Is there a reason why this wasn't picked up by your tinderbox?
>> configure:4861: error: possibly undefined macro: AS_ECHO
>> If this token and others are legitimate, please use m4_pattern_allow.
>> See the Autoconf documentation.
>
> Yes, AS_ECHO seems to be introduced in autoconf 2.62 as well :-(
>
> Reading the section on 'echo' in [1], I'm inclined to say that since we know
> that the cacheid neither starts with a hyphen nor contains backslashes, we can
> just use echo here.
>
> I'm not able to write and test a patch right now. I shall do so as soon as I
> can, unless someone beats me to it.
Looking at this again, it seems I missed a trick when I originally wrote this
change and it can be written without using echo at all.
Have I mentioned recently how much I hate shell programming? :-)
Attached is a patch for your consideration.
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-Don-t-use-AS_ECHO-in-XORG_TESTSET_CFLAG.patch
URL: <http://lists.x.org/archives/xorg-devel/attachments/20120310/1a038338/attachment.ksh>
More information about the xorg-devel
mailing list