Re: Correct way to check for clock_gettime()

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

 



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
bfriesen@xxxxxxxxxxxxxxxxxxx, http://www.simplesystems.org/users/bfriesen/
GraphicsMagick Maintainer,    http://www.GraphicsMagick.org/

_______________________________________________
Autoconf mailing list
Autoconf@xxxxxxx
http://lists.gnu.org/mailman/listinfo/autoconf


[Index of Archives]     [GCC Help]     [Kernel Discussion]     [RPM Discussion]     [Red Hat Development]     [Yosemite News]     [Linux USB]     [Samba]

  Powered by Linux