This is the mail archive of the
automake@gnu.org
mailing list for the automake project.
Automatic regeneration of libtool
- From: "Gary V. Vaughan" <gary at gnu dot org>
- To: Automake List <automake at gnu dot org>
- Date: Tue, 24 Feb 2004 18:28:25 +0000
- Subject: Automatic regeneration of libtool
- Organization: FSF
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
The libtool manual currently states:
~ This macro also sets the shell variable LIBTOOL_DEPS, that you can
~ use to automatically update the libtool script if it becomes
~ out-of-date. In order to do that, add to your `configure.in':
~ LT_INIT
~ AC_SUBST(LIBTOOL_DEPS)
~ and, to `Makefile.in' or `Makefile.am':
~ LIBTOOL_DEPS = @LIBTOOL_DEPS@
~ libtool: $(LIBTOOL_DEPS)
~ $(SHELL) ./config.status --recheck
~ If you are using GNU automake, you can omit the assignment, as
~ automake will take care of it. You'll obviously have to create
~ some dependency on `libtool'.
Instead, I'd like to have LT_INIT perform the AC_SUBST([LIBTOOL_DEPS]), and
Automake generate the following rule when libtool is in use:
$(LIBTOOL): $(top_builddir)/config.status $(LIBTOOL_DEPS)
cd $(top_builddir) && $(SHELL) ./config.status $@
Does that seem like a sensible thing to want?
Cheers,
Gary.
- --
Gary V. Vaughan ())_. gary@{lilith.warpmail.net,gnu.org}
Research Scientist ( '/ http://www.oranda.demon.co.uk
GNU Hacker / )= http://www.gnu.org/software/libtool
Technical Author `(_~)_ http://sources.redhat.com/autobook
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFAO5fJFRMICSmD1gYRAitFAJ4tGZdyPUdFfgS2CAtJ2vAayniwLwCeLTpi
aKRe1g3IXj0+8CXms+xZPlY=
=mJvA
-----END PGP SIGNATURE-----