]> git.pld-linux.org Git - packages/kannel.git/blob - kannel-nolibs.patch
- up to 1.4.3
[packages/kannel.git] / kannel-nolibs.patch
1 --- gateway-1.2.0/configure.in.orig     2002-06-15 23:48:39.000000000 +0000
2 +++ gateway-1.2.0/configure.in  2003-12-06 17:34:26.000000000 +0000
3 @@ -67,10 +67,10 @@
4  dnl Checks for libraries.
5  
6  AC_CHECK_LIB(m, log)
7 -AC_CHECK_LIB(socket, accept)
8 -AC_CHECK_LIB(nsl, inet_ntoa)
9 -AC_CHECK_LIB(resolv, inet_ntop)
10 -AC_CHECK_LIB(bind, inet_ntop)
11 +AC_SEARCH_LIBS(accept, socket)
12 +AC_SEARCH_LIBS(inet_ntoa, nsl)
13 +AC_SEARCH_LIBS(inet_ntop, resolv)
14 +AC_SEARCH_LIBS(inet_ntop, bind)
15  AC_CHECK_LIB(pthread, pthread_exit)
16  if test -z "$pthread"; then
17         AC_CHECK_LIB(c_r, pthread_exit, [LIBS="$LIBS -lc_r"])
18 @@ -94,8 +94,7 @@
19  dnl Checks for library functions.
20  
21  AC_CHECK_FUNCS(gettimeofday select socket strdup getopt_long)
22 -AC_CHECK_FUNC(getopt, , LIBOBJS="$LIBOBJS utils/attgetopt.o")
23 -AC_SUBST(LIBOBJS)
24 +AC_CHECK_FUNC(getopt, , [AC_LIBOBJ([utils/attgetopt])])
25  
26  dnl Extra feature checks
27  
This page took 0.072102 seconds and 3 git commands to generate.