On 05/20/2012 10:38 PM, Bob Friesenhahn wrote:
> On Sun, 20 May 2012, Stefano Lattarini wrote:
>>>
>>> What is the workaround for this?
>>>
>> Yes: the version-generating script should be executed at autoconf runtime 
>> instead;
>> here is what GNU coreutils does, for example:
>>
>>  AC_INIT([GNU coreutils],
>>           m4_esyscmd([build-aux/git-version-gen .tarball-version]),
>>           [bug-coreut...@gnu.org])
>>
>> This usage is also compatible with older Automake versions BTW, so you could
>> start using it right now if you want.
> 
> I looked at what coreutils does and am still confused.
>
Have you also taken a look at the gnulib-imported GNUmakefile used in coreutils?
The re-bootstrapping logic (which causes the version in AC_INIT to be actually
updated) is handled there, not in the Makefile.am.

HTH,
  Stefano

Reply via email to