Larry Rosenman <ler@lerctr.org> writes:
> -lnsl is needed on SVR4 derivatives, like Solaris and UnixWare. it is the
> network services library.
> You'll needed it for ANY socket based code on these platforms.
Is there any specific function symbol we can test for in that library?
If it exports something like socket() or connect() on SVR4, we can make
configure probe for that instead of blindly including the library.
regards, tom lane