Re: m4 and autoconf problem on mac os x

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

 



At Wednesday 02 June 2010, Eric Blake <eblake@xxxxxxxxxx> 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

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux