On Thursday 24 February 2011, Jack Kelly wrote: > Version: 1.11.1 (ubuntu 10.10). I have inspected the most recent > master and it appears to also have this bug. > > configure.ac: > AC_INIT([a], [b], [c]) > AM_INIT_AUTOMAKE([foreign]) > dnl no LT_INIT -- on purpose > AC_PROG_CC > AC_CONFIG_FILES([Makefile]) > AC_OUTPUT > > Makefile.am: > lib_LTLIBRARIES = libfoo.la > > Run autoreconf -i: > $ autoreconf -i > Makefile.am:1: Libtool library used but `LIBTOOL' is undefined > Makefile.am:1: The usual way to define `LIBTOOL' is to add `AC_PROG_LIBTOOL' > Makefile.am:1: to `configure.ac' and run `aclocal' and `autoconf' again. > Makefile.am:1: If `AC_PROG_LIBTOOL' is in `configure.ac', make sure > Makefile.am:1: its definition is in aclocal's search path. > autoreconf: automake failed with exit status: 1 > > See the libtool manual ( > http://www.gnu.org/software/libtool/manual/html_node/LT_005fINIT.html > ): > AC_PROG_LIBTOOL and AM_PROG_LIBTOOL are deprecated names for older > versions of this macro; autoupdate will upgrade your configure.ac > files. > > It appears that automake's message is out of date. > I agree with Jack that advertising the use of LT_INIT would be better, since, according to Libtool NEWS file, that has obsoleted AC_PROG_LIBTOOL since version 1.9b (2004-08-29). What about the attached patch (for maint)? Regards, Stefano