summaryrefslogtreecommitdiff
path: root/debian/patches/libs.patch
blob: 6fbb423287c18ae23c9c3f8d0c98dc6b0888ea1b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Index: inetutils/configure.ac
===================================================================
--- inetutils.orig/configure.ac	2013-05-10 19:28:56.480948206 +0400
+++ inetutils/configure.ac	2013-05-10 23:47:01.229077565 +0400
@@ -140,9 +140,9 @@
 gl_INIT
 
 ### Checks for libraries.
-#AC_CHECK_LIB(nsl, inet_ntoa)
-#AC_CHECK_LIB(resolv, gethostname)
-AC_CHECK_LIB(socket, getpeername)
+AC_SEARCH_LIBS(getpeername, socket)
+AC_SEARCH_LIBS(inet_ntop, nsl)
+AC_SEARCH_LIBS(gethostname, resolv)
 
 # See if a termcap library is available (under one of several names)
 IU_LIB_TERMCAP