]> git.pld-linux.org Git - packages/cvs.git/blame - cvs-no_libnsl.patch
rel 20; rediff patches
[packages/cvs.git] / cvs-no_libnsl.patch
CommitLineData
07cd2e49
AM
1diff -urNp -x '*.orig' cvs-1.12.13.org/configure.in cvs-1.12.13/configure.in
2--- cvs-1.12.13.org/configure.in 2005-10-03 15:34:45.000000000 +0200
3+++ cvs-1.12.13/configure.in 2023-02-02 09:00:39.745239468 +0100
4@@ -514,13 +514,12 @@ dnl for debugging code
5 CVS_FUNC_PRINTF_PTR
eca1808b
JB
6
7 # Try to find connect and gethostbyname.
8-AC_CHECK_LIB(nsl, main)
9 AC_SEARCH_LIBS(connect, xnet socket inet,
10 AC_DEFINE(HAVE_CONNECT, 1,
11 [Define if you have the connect function.]))
12 dnl no need to search nsl for gethostbyname here since we should have
13 dnl just added libnsl above if we found it.
14-AC_SEARCH_LIBS(gethostbyname, netinet)
15+AC_SEARCH_LIBS(gethostbyname, netinet nsl)
16
07cd2e49 17 AC_SUBST(cvs_client_objects)
eca1808b 18
This page took 0.08584 seconds and 4 git commands to generate.