]> git.pld-linux.org Git - packages/squid.git/blob - squid-nolibs.patch
- renumbered patches
[packages/squid.git] / squid-nolibs.patch
1 --- squid-2.5.STABLE7/configure.in.orig 2004-10-22 21:15:07.080978000 +0200
2 +++ squid-2.5.STABLE7/configure.in      2004-10-22 22:07:51.424648102 +0200
3 @@ -1520,15 +1520,15 @@
4  
5  AC_CHECK_LIB(bsd, main)
6  AC_CHECK_LIB(regex, main, [REGEXLIB="-lregex"])
7 -AC_CHECK_LIB(bind, gethostbyname)
8 -if test $ac_cv_lib_bind_gethostbyname = "no" ; then
9 +AC_CHECK_FUNC(gethostbyname,,[AC_CHECK_LIB(bind, gethostbyname)])
10 +if test "$ac_cv_lib_bind_gethostbyname" != "yes" ; then
11      case "$host" in
12         i386-*-freebsd*)
13                 echo "skipping libresolv checks for $host"
14                 ;;
15         *)
16 -               AC_CHECK_LIB(resolv, inet_aton, AC_CHECK_LIB(44bsd, inet_aton))
17 -               AC_CHECK_LIB(resolv, main)
18 +               AC_CHECK_FUNC(inet_aton, [], [AC_CHECK_LIB(resolv, inet_aton, AC_CHECK_LIB(44bsd, inet_aton))])
19 +               dnl AC_CHECK_LIB(resolv, main)
20                 ;;
21      esac
22  fi
This page took 0.147402 seconds and 3 git commands to generate.