1 diff -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
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)
17 AC_SUBST(cvs_client_objects)