automake
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Automatic regeneration of libtool


From: Gary V. Vaughan
Subject: Automatic regeneration of libtool
Date: Tue, 24 Feb 2004 18:28:25 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4

-----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      ())_.  address@hidden,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-----




reply via email to

[Prev in Thread] Current Thread [Next in Thread]