summaryrefslogtreecommitdiff
path: root/debian/patches/libs.patch
blob: 216de4c5d397070b8e1e34ba9a89f8a627672ef1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Index: inetutils/configure.ac
===================================================================
--- inetutils.orig/configure.ac	2013-05-11 02:49:29.559924977 +0400
+++ inetutils/configure.ac	2013-05-11 03:11:40.565036365 +0400
@@ -140,9 +140,10 @@
 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)
+AC_SEARCH_LIBS(hstrerror, resolv)
 
 # See if a termcap library is available (under one of several names)
 IU_LIB_TERMCAP