Later versions (1.10.1, for example) of aclocal don't notice AC_DEFUNs
which are commented out. Simple answer: don't comment it, just override
it immediately. This seems to work.
dnl Use: Defines an m4 macro AUTO_VERSION which contains the current
dnl version number, worked out in some clever way.
-dnl AC_DEFUN([mdw_AUTO_VERSION], [nobody cares...])
+AC_DEFUN([mdw_AUTO_VERSION], [nobody cares...])
m4_define([mdw_AUTO_VERSION], [m4_define([AUTO_VERSION], m4_esyscmd([
if test -d .git && version=$(git describe --abbrev=4 2>/dev/null); then
case "$(git diff-index --name-only HEAD)" in
+cfd (1.3.3) experimental; urgency=low
+
+ * Fix ugly hack for mdw_AUTO_VERSION to work with newer (e.g., 1.10)
+ versions of aclocal.
+
+ -- Mark Wooding <mdw@distorted.org.uk> Wed, 17 Dec 2008 12:15:27 +0000
+
cfd (1.3.2) experimental; urgency=low
* Add new files for Autotest support.