[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: LT_* equivalent to AC_CHECK_LIB?
From: |
Russ Allbery |
Subject: |
Re: LT_* equivalent to AC_CHECK_LIB? |
Date: |
Mon, 03 Jul 2006 14:14:34 -0700 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) XEmacs/21.4.19 (linux) |
Bob Friesenhahn <address@hidden> writes:
> Operating systems with robust library dependency support don't like the
> libraries explicitly specifying dependendies on libraries they are not
> immediately dependent on. Libtool has been specifying the full list of
> dependencies to the linker, as it finds them in the .la files.
And mostly because, unlike pkg-config, libtool doesn't distinguish between
dependencies required for static linking and dependencies required for
shared linking.
> You may see that autoconf encourages configure scripts to supply all of
> the library dependencies since the tests require it.
Except in practice the tests don't on systems using shared libraries and
shared linking with reasonable shared library dependency support (the
default most places now).
> Likewise, libtool applies all of the libraries it is instructed to apply
> as well as additional dependencies obtained via the .la files. A
> smarter build system would allow libtool to distinguish between
> immediate dependencies and "extraneous" dependencies and only apply the
> immediate dependencies if the OS/linke support it.
That would be very nice. It does require input from the person building
the library, though, or very recent GNU ld with options that don't work
properly on some more obscure platforms.
--
Russ Allbery (address@hidden) <http://www.eyrie.org/~eagle/>
- LT_* equivalent to AC_CHECK_LIB?, Tim Mooney, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Bob Friesenhahn, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Albert Chin, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Albert Chin, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Tim Mooney, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Ralf Wildenhues, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Tim Mooney, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Bob Friesenhahn, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Ralf Wildenhues, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Tim Mooney, 2006/07/03
- Re: LT_* equivalent to AC_CHECK_LIB?, Ralf Wildenhues, 2006/07/03
Re: LT_* equivalent to AC_CHECK_LIB?, Tim Mooney, 2006/07/03
Re: LT_* equivalent to AC_CHECK_LIB?, Albert Chin, 2006/07/03