]> git.pld-linux.org Git - packages/acm.git/blob - acm-nolibs.patch
- BR: nas-devel
[packages/acm.git] / acm-nolibs.patch
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
3 @@ -31,7 +31,7 @@
4  
5  AC_PROG_CC
6  
7 -AC_CHECK_LIB(nsl, xdr_free, [LIBS="$LIBS -lnsl"])
8 +AC_SEARCH_LIBS(xdr_free, nsl)
9  
10  if test "$LINUX" = "0" ; then
11         AC_CHECK_LIB(elf, elf_end, [LIBS="$LIBS -lelf"])
12 @@ -143,13 +143,11 @@
13  fi
14  unset ac_cv_lib_audio
15  
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"])
19  
20  if uname -srv | grep '^AIX 2 3' >/dev/null ; then
21      :
22 -else
23 -       AC_CHECK_LIB(bsd, main, [LIBS="$LIBS -lbsd"])
24  fi
25  
26  LIBS="$LIBS -lm"
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
29 @@ -14,8 +14,8 @@
30  AC_CHECK_HEADERS(stdlib.h unistd.h string.h memory.h fcntl.h)
31  AC_HEADER_TIME
32  
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"])
38  
39  
This page took 0.055352 seconds and 3 git commands to generate.