[Top][All Lists]

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

[autoconf-archive-maintainers] Serial lines for Automake

From: Peter Simons
Subject: [autoconf-archive-maintainers] Serial lines for Automake
Date: Fri, 17 Jul 2009 17:05:25 +0200


Francesco brought up the subject of serial lines:

 > "aclocal serial lines" (eg sect. 6.3.5 - automake1.10 info).

Apparently, the idea is to add a version number in front of each macro:

     # serial 1
     AC_DEFUN([AX_THIRD_PARTY], [...])

Git offers an easy way to determine a unique serial number: the number
of commits that modified the macro. ACX_PTHREAD, for example, is at
version 5:

  git log acx_pthread.m4 | egrep -c "^commit [0-9af]+"

Maybe those #serial lines could be generated and added automatically to
each m4 file when compiling the distribution archive?

Take care,

reply via email to

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