1 --- inn-2.3.3/configure.in.orig Sun Jan 5 03:19:55 2003
2 +++ inn-2.3.3/configure.in Sun Jan 5 03:57:21 2003
4 dnl includes gethostbyname in libsocket but needs libnsl for socket().
5 dnl Always link with libresolv if it's found.
6 AC_SEARCH_LIBS(gethostbyname, nsl)
7 -AC_CHECK_LIB(resolv, gethostbyname, LIBS="-lresolv $LIBS")
8 +AC_SEARCH_LIBS(gethostbyname, resolv)
9 AC_CHECK_FUNC(socket, , [
10 AC_CHECK_LIB(socket, socket, LIBS="$LIBS -lsocket", [
11 AC_CHECK_LIB(nsl, socket, LIBS="$LIBS -lsocket -lnsl", , -lsocket)
13 AC_CHECK_LIB(shadow, getspnam)
15 dnl FIXME: This should be combined with AC_FUNC_GETLOADAVG
16 -AC_CHECK_LIB(elf, nlist)
17 +dnl AC_CHECK_LIB(elf, nlist) -- not used on Linux
19 dnl FIXME: This is only used by the keywords code in innd/art.c and
20 dnl shouldn't be in the global LIBS variable.