For convenience, I have specific versions of libmad and libid3tag checked into the Audacity CVS tree, so that developers can get a known working version of all dependencies easily. However, we've been running into the well-known problem where CVS timestamps interact with "make" poorly; running "make" triggers all of the autotools even though configure.ac and Makefile.am haven't been touched, and this causes the build process to fail when users have incompatible versions of the autotools.
It looks like AM_MAINTAINER_MODE may be a solution to this problem. It turns off the rules that call autotools by default, unless specifically enabled as an options to configure.
I tried adding AM_MAINTAINER_MODE to configure.ac in libid3tag, but I can't seem to get it to generate a working configure script.
After editing configure.ac, if I run aclocal and then autoconf, I get:
configure.ac:66: error: possibly undefined macro: AC_PROG_LIBTOOL
Running libtoolize doesn't help. If I run automake, I get:
Makefile.am:27: Libtool library used but `LIBTOOL' is undefined
Can anyone help straighten me out?
Note that AM_MAINTAINER_MODE doesn't seem to be the problem; I'm not able to run automake even in a clean download of libid3tag-0.15.0b.
Thanks, Dominic
P.S. Versions I have installed:
autoconf 2.57 automake 1.7.7 libtoolize 1.4.2