Commit Diff


commit - 6e8cf51bb216f956e7a6fdb5c61b0f2799bf8d2d
commit + 20276f7cc967ec1a472715574adc6792b1598314
blob - 10a72d35a0ffa8a2666f0f4860bb8356c93ccb84
blob + f80e8a96595e5b124553e1b8442d10d66bfb36ef
--- configure.in
+++ configure.in
@@ -131,9 +131,11 @@ AC_CHECK_MEMBER([struct sockaddr_in.sin_len], AC_DEFIN
 
 # -- Libraries --
 
+# A/UX needs this.
 AC_CHECK_LIB(UTIL,memmove)
+# needed on solaris. GNU libc also has a libnsl, but we do not need it.
+AC_SEARCH_LIBS(gethostbyname,nsl)
 AC_CHECK_LIB(socket,bind)
-AC_CHECK_LIB(nsl,gethostent)
 
 # -- Functions --