On Fri, 30 Jul 2010, Thomas Petazzoni wrote:
So the question is, which of CTorrent and libglib is wrong in its
configure.{ac,in} ?
I have not inspected your configure script, but I believe that the
right approach is to explicitly append -lrt to the LIBS shell variable
as soon as you learn that it is needed. This will cause -lrt to be
applied to all subsequent tests. Without appending to LIBS, the
configure tests will only test what was explicitly requested by the
macro arguments. The configure script should be ordered to test the
broadest dependency libraries (the ones that other libraries may also
depend on) first before drilling down to test more specific
dependencies. A good example of a "broad" dependency library is libz.
Bob
--
Bob Friesenhahn
[email protected], http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer, http://www.GraphicsMagick.org/
_______________________________________________
Autoconf mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/autoconf