Hi,
  the attached patch improves the build on MacOS, where MIT krb5
libraries require explicit linking of libresolv.

-- 
    Francesco
=== modified file 'configure.ac'
--- configure.ac	2016-01-03 10:45:27 +0000
+++ configure.ac	2016-01-03 11:59:49 +0000
@@ -1478,6 +1478,7 @@
       AC_DEFINE(USE_MIT_KRB5,1,[MIT Kerberos support is available])
       KRB5_FLAVOUR="MIT" 
     fi
+    AC_CHECK_LIB(resolv, [res_9_search], [LIB_KRB5_LIBS="-lresolv $LIB_KRB5_LIBS"],[])
     KRB5LIBS="$LIB_KRB5_PATH $LIB_KRB5_LIBS $KRB5LIBS"
     KRB5INCS="$LIB_KRB5_CFLAGS"
     

_______________________________________________
squid-dev mailing list
squid-dev@lists.squid-cache.org
http://lists.squid-cache.org/listinfo/squid-dev

Reply via email to