the current version produced by configure is always "0.1". that has no useful
meaning. it'd be nice if it was the svn rev instead.
this is easy to do:
$ cat version.sh
#!/bin/sh
ver=`svn info | awk '$1 == "Revision:" { print $NF }'`
printf 'svn-%s' "${ver:-0}"
then change configure.ac like so:
-AC_INIT(breakpad, 0.1, google-breakpad-dev@googlegroups.com)
+AC_INIT(breakpad, m4_esyscmd([./version.sh]),
google-breakpad-dev@googlegroups.com)
now we get:
$ ./configure --version | head -1
breakpad configure svn-1101
Original issue reported on code.google.com by vapier@chromium.org on 19 Jan 2013 at 6:19
Original issue reported on code.google.com by
vapier@chromium.org
on 19 Jan 2013 at 6:19