Re: Failure to use -lnsl on Solaris with AC_CHECK_LIB

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

 



Warren Young <warren@xxxxxxxxxxx> writes:
> Russ Allbery wrote:

>> Well, Autoconf has never handled this automatically for anyone else.  :)

> I don't do any specific checks for libnsl currently, yet it gets linked
> automatically when build the program on Linux, at least.

Linux does shared library dependencies properly, so libraries can declare
dependencies on other shared libraries themselves if linked properly.
Unfortunately, not all platforms are as kind.

Also, Linux applications usually don't actually need libnsl.  It's pretty
much just a NIS thing on Linux, unlike on Solaris where you need it to do
any basic DNS lookup.

-- 
Russ Allbery (rra@xxxxxxxxxxxx)             <http://www.eyrie.org/~eagle/>


_______________________________________________
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