libtool
[Top][All Lists]
Advanced

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

Re: configuring libltdl


From: Gary V. Vaughan
Subject: Re: configuring libltdl
Date: Tue, 25 Nov 2003 16:15:04 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.5) Gecko/20030925 Thunderbird/0.3

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Alexandre Duret-Lutz wrote:
| On Tue, Nov 25, 2003 at 03:35:25PM +0000, Gary V. Vaughan wrote:
|
|>If so, all we need is to add a call to AM_INIT_AUTOMAKE to
|>AC_LIB_LTDL.  Hmmm, but then if a non-automake project calls
|>AC_LIB_LTDL, when they run autoreconf, it will run automake -a :-(
|
|
| Running automake in this case sounds sensible to me.
|   1) You need to have libltdl/Makefile.in regenerated with the
|      automake version that matches the aclocal version used to rebuild
|      aclocal.m4
|   2) automake should only rebuild the Makefile.in which have a matching
|      Makefile.am.  So this is a no-op for the rest of the project.

Had to read that twice to get my head around it, but yes, I agree with you.

| Unfortunately I think it won't work, because autoreconf probes for a
| Makefile.am in the top-level directory to decide whether automake must
| be run.  (BTW, assuming the file is named Makefile.am is not always
| correct.)  It should be easy to fix autoreconf, though.

Yep, that makes sense.

| What is likely to fail with such a scheme are the automatic rebuild
| rules for libltdl/Makefile.in.  They assume the top-level Makefile
| contains some special rules to rebuilds things.

So we need to add (to automake) a mechanism to enable us to specify local
rebuild rules in libltdl/Makefile.am, without referring to automake internals,
and have those propogate into libltdl/Makefile instead of the automake
generated rules?

Bob, do you feel like pursuing any of this?

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

iD8DBQE/w4AIFRMICSmD1gYRAid+AKCJzye6ikD5Ad5woMdb84rau4IexQCeLpRC
YmXQ/G1lu+l17PRO52Y54xs=
=OfEa
-----END PGP SIGNATURE-----





reply via email to

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