1 --- acm-5.0/configure.in.orig Mon Jul 7 13:52:15 2003
2 +++ acm-5.0/configure.in Mon Jul 7 13:57:47 2003
7 -AC_CHECK_LIB(nsl, xdr_free, [LIBS="$LIBS -lnsl"])
8 +AC_SEARCH_LIBS(xdr_free, nsl)
10 if test "$LINUX" = "0" ; then
11 AC_CHECK_LIB(elf, elf_end, [LIBS="$LIBS -lelf"])
16 -AC_CHECK_LIB(socket, bind, [LIBS="$LIBS -lsocket"])
17 +AC_SEARCH_LIBS(bind, socket)
18 AC_CHECK_LIB(dnet_stub, main, [LIBS="$LIBS -ldnet_stub"])
20 if uname -srv | grep '^AIX 2 3' >/dev/null ; then
23 - AC_CHECK_LIB(bsd, main, [LIBS="$LIBS -lbsd"])
27 --- acm-5.0/dis/configure.in.orig 1998-05-28 19:31:43.000000000 +0200
28 +++ acm-5.0/dis/configure.in 2008-11-15 09:07:57.427125998 +0100
30 AC_CHECK_HEADERS(stdlib.h unistd.h string.h memory.h fcntl.h)
33 -AC_CHECK_LIB(socket, bind, [LIBS="$LIBS -lsocket"])
34 -AC_CHECK_LIB(nsl, xdr_free, [LIBS="$LIBS -lnsl"])
35 +AC_SEARCH_LIBS(bind, socket)
36 +AC_SEARCH_LIBS(xdr_free, nsl)
37 AC_CHECK_LIB(gdbm, dbm_fetch, [LIBS="$LIBS -lgdbm"])