about summary refs log tree commit diff
path: root/src/tool
diff options
context:
space:
mode:
authorFlorian Westphal <fw@strlen.de>2010-02-17 22:23:14 +0100
committerFlorian Westphal <fw@strlen.de>2010-02-17 22:25:30 +0100
commit20276f7cc967ec1a472715574adc6792b1598314 (patch)
tree0b0c1492575c552f85a41fdcd69da545329a7039 /src/tool
parent6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d (diff)
downloadngircd-20276f7cc967ec1a472715574adc6792b1598314.tar.gz
ngircd-20276f7cc967ec1a472715574adc6792b1598314.zip
configure.in: only add -lnsl when needed
dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..]
(they use none of its symbols).

As shown via commit 2b14234abc252383679bae2d23861b773dc9713e
(dpkg-shlibdeps: warning: dependency on libnsl.so.1) and the
following revert of that commit, we cannot simply drop
the AC_CHECK_LIB(nsl). Although -lnsl is indeed unneeded
when glibc is used, some platforms (e.g. Solaris) need it.

Use AC_SEARCH_LIBS instead to only link when the library exports
a particular symbol.
Diffstat (limited to 'src/tool')
0 files changed, 0 insertions, 0 deletions