]> git.pld-linux.org Git - packages/squid.git/blame - squid-libnsl_fixes.patch
- obsolete
[packages/squid.git] / squid-libnsl_fixes.patch
CommitLineData
e9cfa3c3 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)
64794be5 16-AC_CHECK_LIB(socket, main)
e9cfa3c3 17+AC_CHECK_FUNC(gethostbyname, [], AC_CHECK_LIB(nsl, gethostbyname))
18+AC_CHECK_LIB(nsl, yp_match, NSLLIB="-lnsl")
19+AC_SUBST(NSLLIB)
64794be5 20+AC_SEARCH_LIBS(socket, socket)
e9cfa3c3 21
22 if test "x$ac_cv_enabled_dlmalloc" = "xyes" ; then
23 echo "skipping libmalloc check (--enable-dlmalloc specified)"
64794be5
JB
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 @@
e9cfa3c3 27
64794be5
JB
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 2.149908 seconds and 4 git commands to generate.