At Wednesday 02 June 2010, Eric Blake 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 mentio
On Wed, 2 Jun 2010, Eric Blake wrote:
On 06/02/2010 03:25 PM, Stefano Lattarini wrote:
Hello Raphael.
At Wednesday 02 June 2010, "Raphael 'kena' Poss" wrote:
m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) | awk -F :
'{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/
On 06/02/2010 03:25 PM, Stefano Lattarini wrote:
> Hello Raphael.
>
> At Wednesday 02 June 2010, "Raphael 'kena' Poss" wrote:
>>> m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0)
>>> | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
>>
>> you probably wan
Hello Raphael.
At Wednesday 02 June 2010, "Raphael 'kena' Poss" wrote:
> > m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0)
> > | awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
>
> you probably want to add
>
> | tr -d '\n'
>
> to that command lin
On 06/02/2010 03:13 PM, Eric Blake wrote:
> On 06/02/2010 02:58 PM, Vincent Torri wrote:
>>
>> Hey,
>>
>> Our configure.ac contains, at the top:
>>
>> ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
>> ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
>> m4_defin
Hello Vincent.
Your snippet works correctly on my system (debian unstalbe, m4 1.4.13,
autoconf 2.65).
Which version of m4 do you have? What happens if you change the definition
of `v_rev' to:
m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) |
awk -F : '{printf("%s",
On 06/02/2010 03:14 PM, Raphael 'kena' Poss wrote:
>
> Op 2 jun 2010, om 22:58 heeft Vincent Torri het volgende geschreven:
>> m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) |
>> awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
>
> you probably want to
Op 2 jun 2010, om 22:58 heeft Vincent Torri het volgende geschreven:
> m4_define([v_rev], m4_esyscmd([(svnversion . | grep -v exported || echo 0) |
> awk -F : '{printf("%s", $1);}' | tr 'A-z' ' ' | sed 's/ //g']))
you probably want to add
| tr -d '\n'
to that command line, to remove the
On 06/02/2010 02:58 PM, Vincent Torri wrote:
>
> Hey,
>
> Our configure.ac contains, at the top:
>
> ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
> ##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
> m4_define([v_maj], [0])
> m4_define([v_min], [9])
> m4_de
Hey,
Our configure.ac contains, at the top:
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##--##
m4_define([v_maj], [0])
m4_define([v_min], [9])
m4_define([v_mic], [9])
m4_define([v_rev], m4_esyscmd([(svnversion .
On 06/01/2010 05:52 AM, Richard Guenther wrote:
> On Thu, Feb 18, 2010 at 1:26 AM, Paolo Bonzini wrote:
Maybe we can use this in AC_CHECK_DECLS instead of having a new
separate macro. If there is a parenthesis in the name call the new
version, if there is none, call the old one.
>>
On Thu, Feb 18, 2010 at 1:26 AM, Paolo Bonzini wrote:
>>> Maybe we can use this in AC_CHECK_DECLS instead of having a new
>>> separate macro. If there is a parenthesis in the name call the new
>>> version, if there is none, call the old one.
>>
>> You shouldn't need to keep the old version around
On Wed, 2010-05-26 at 23:43 +0200, ithilgore wrote:
> The problem is that in order to share libfoo between the two projects (that
> is both can fetch it as an external svn object), projectA needs to pass a
> certain flag to the configure script of libfoo. This flag/argument would be
> something lik
13 matches
Mail list logo