]>
Commit | Line | Data |
---|---|---|
eca1808b JB |
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 | |
3 | @@ -272,13 +272,12 @@ | |
4 | AC_FUNC_MMAP | |
5 | ||
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) | |
15 | ||
16 | ||
17 | dnl |