autoconf
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: m4 and autoconf problem on mac os x


From: Stefano Lattarini
Subject: Re: m4 and autoconf problem on mac os x
Date: Wed, 2 Jun 2010 23:36:52 +0200
User-agent: KMail/1.12.1 (Linux/2.6.30-2-686; KDE/4.3.4; i686; ; )

At Wednesday 02 June 2010, Eric Blake <address@hidden> wrote:
> On 06/02/2010 03:25 PM, Stefano Lattarini wrote:
> > Souldn't the printf("%s", $1) already taking care of the newline
> > removal?
> 
> Yes, but sed adds it back in.
> 
I wasn't aware of this sed "feature".  Thanks for pointing it out.
> Not to mention that you used a non-portable extension of sed by
> passing it a non-text file (Solaris sed chokes if the input does
> not end in newline).
Well, at this point it would probably be better to use esyscmd just to 
fetch the output of svnversion, and then process it with the m4sugar 
magic (m4_bmatch, m4_bpatsubsts, etc.)

Regards,
     Stefano



reply via email to

[Prev in Thread] Current Thread [Next in Thread]