GNU bug report logs - #8104
automake suggests use of AC_PROG_LIBTOOL, this has been replaced by LT_INIT

Previous Next

Package: automake;

Reported by: Jack Kelly <jack <at> jackkelly.name>

Date: Thu, 24 Feb 2011 02:02:02 UTC

Severity: normal

Tags: patch

Done: Stefano Lattarini <stefano.lattarini <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: help-debbugs <at> gnu.org (GNU bug Tracking System)
To: Jack Kelly <jack <at> jackkelly.name>
Subject: bug#8104: closed (Re: bug#8104: automake suggests use of
 AC_PROG_LIBTOOL, this has been replaced by LT_INIT)
Date: Mon, 07 Mar 2011 13:21:02 +0000
[Message part 1 (text/plain, inline)]
Your bug report

#8104: automake suggests use of AC_PROG_LIBTOOL, this has been replaced by LT_INIT

which was filed against the automake package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to 8104 <at> debbugs.gnu.org.

-- 
8104: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=8104
GNU Bug Tracking System
Contact help-debbugs <at> gnu.org with problems
[Message part 2 (message/rfc822, inline)]
From: Stefano Lattarini <stefano.lattarini <at> gmail.com>
To: Ralf Wildenhues <Ralf.Wildenhues <at> gmx.de>,
 8104-done <at> debbugs.gnu.org
Cc: Jack Kelly <jack <at> jackkelly.name>
Subject: Re: bug#8104: automake suggests use of AC_PROG_LIBTOOL,
	this has been replaced by LT_INIT
Date: Mon, 7 Mar 2011 14:19:54 +0100
A patch fixing this bug has been applied in commit
`v1.11-315-gd51e7b7' "libtool: suggest LT_INIT if
LTLIBRARIES primary is used"; I'm thus closing the
bug.

Regards,
  Stefano

[Message part 3 (message/rfc822, inline)]
From: Jack Kelly <jack <at> jackkelly.name>
To: bug-automake <at> gnu.org
Subject: automake suggests use of AC_PROG_LIBTOOL,
	this has been replaced by LT_INIT
Date: Thu, 24 Feb 2011 13:00:54 +1100
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.

-- Jack



This bug report was last modified 14 years and 83 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.