]> git.pld-linux.org Git - packages/squid.git/blob - squid-libnsl_fixes.patch
- this one isn't outdated
[packages/squid.git] / squid-libnsl_fixes.patch
1 --- squid-2.4.STABLE2/configure.in~     Fri Oct 12 18:34:14 2001
2 +++ squid-2.4.STABLE2/configure.in      Fri Oct 12 19:17:42 2001
3 @@ -16,6 +16,7 @@
4  AC_CANONICAL_HOST
5  
6  CRYPTLIB=''
7 +NSLLIB=''
8  REGEXLIB=''    # -lregex
9  LIBREGEX=''    # libregex.a
10  
11 @@ -1006,8 +1007,10 @@
12   fi
13  
14  dnl Check for needed libraries
15 -AC_CHECK_LIB(nsl, main)
16 -AC_CHECK_LIB(socket, main)
17 +AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname)) 
18 +AC_CHECK_LIB(nsl, yp_match, NSLLIB="-lnsl")
19 +AC_SUBST(NSLLIB)
20 +AC_SEARCH_LIBS(socket, socket)
21  
22  if test "x$ac_cv_enabled_dlmalloc" = "xyes" ; then
23    echo "skipping libmalloc check (--enable-dlmalloc specified)"
24 --- squid-2.5.STABLE7/helpers/basic_auth/YP/Makefile.am.orig    2002-08-12 03:13:45.000000000 +0200
25 +++ squid-2.5.STABLE7/helpers/basic_auth/YP/Makefile.am 2004-10-23 16:34:34.132980809 +0200
26 @@ -7,5 +7,5 @@
27  
28  libexec_PROGRAMS = yp_auth
29  yp_auth_SOURCES        = yp_auth.c nis_support.h nis_support.c
30 -LDADD  = -L$(top_builddir)/lib -lmiscutil $(CRYPTLIB) $(XTRA_LIBS)
31 +LDADD  = -L$(top_builddir)/lib -lmiscutil $(CRYPTLIB) $(NSLLIB) $(XTRA_LIBS)
32  INCLUDES       = -I$(top_srcdir)/include
This page took 0.032709 seconds and 3 git commands to generate.