repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 4467d127c2306c5bd0c0e3fe50ee470b604f5946:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 4467d127c2306c5bd0c0e3fe50ee470b604f5946
Author: Alexander Barton 
Date:   Wed Jul 9 18:36:40 2008 +0200

    Revert "dpkg-shlibdeps: warning: dependency on libnsl.so.1 [..]"

    - Solaris needs both -lsocket _and_ -lnsl
    - A/UX needs -lUTIL

    "... which totally sucks because we'd link libnsl on Linux, too
    (where its not needed at all). So, we have to figure out how to tell
    autocrap to NOT put -lnsl there unless it exports a symbol we need.
    This also means that [...] has to be reverted (or done properly)."
                                            -- Florian Westphal @ #ngircd

    This reverts commit 2b14234abc252383679bae2d23861b773dc9713e.

diff --git a/configure.in b/configure.in
index a1d1452ca59d39db319fd79e21e1fda762dbb0ce..
index ..f02835fb9bca4d0b7eacaa00106ea90487235458 100644
--- a/configure.in
+++ b/configure.in
@@ -125,7 +125,10 @@ AC_TYPE_SIZE_T


 # -- Libraries --
+
+AC_CHECK_LIB(UTIL,memmove)
 AC_CHECK_LIB(socket,bind)
+AC_CHECK_LIB(nsl,gethostent)

 # -- Functions --

-----END OF PAGE-----