1 --- cvs-1.11.4/configure.in.orig Fri Jan 17 19:46:05 2003
2 +++ cvs-1.11.4/configure.in Fri Jan 17 19:55:47 2003
6 # Try to find connect and gethostbyname.
7 -AC_CHECK_LIB(nsl, main)
8 AC_SEARCH_LIBS(connect, xnet socket inet,
9 AC_DEFINE(HAVE_CONNECT, 1,
10 [Define if you have the connect function.]))
11 dnl no need to search nsl for gethostbyname here since we should have
12 dnl just added libnsl above if we found it.
13 -AC_SEARCH_LIBS(gethostbyname, netinet)
14 +AC_SEARCH_LIBS(gethostbyname, netinet nsl)