Eric Blake wrote:
> Maybe the solution is to expand automake's list of valid serial lines.
> True, it won't help until after the next Automake release, but if there
> are enough files in the wild that use '# file.m4 serial n', it seems like
> we should make it a valid format rather than forcing all those files to
> change.

For information: autopoint-0.18 will use this code to extract the serial
version from the first line:

sed_extract_serial='s/^#.* serial \([^ ]*\).*/\1/p
1q'
existing_serial=`sed -n -e "$sed_extract_serial" < "$1"

Bruno


Reply via email to