------------------------------------------------------------ revno: 13322 revision-id: squid3@treenet.co.nz-20140323051714-zrxkgl3budob3bq6 parent: squid3@treenet.co.nz-20140323044440-50katuk11qpl8vyq committer: Amos Jeffries branch nick: trunk timestamp: Sat 2014-03-22 23:17:14 -0600 message: Portability: invert the basic_nis_auth header check autoconf macro will set its action-if-found if *any* of the headers is found. Since these are mandatory headers being tested for we need to disable if any are missing rather than enable on finding one works. ------------------------------------------------------------ # Bazaar merge directive format 2 (Bazaar 0.90) # revision_id: squid3@treenet.co.nz-20140323051714-zrxkgl3budob3bq6 # target_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # testament_sha1: c78623d741d60b0c39ba16bb1e9fbda931ddc0a9 # timestamp: 2014-03-23 05:18:56 +0000 # source_branch: http://bzr.squid-cache.org/bzr/squid3/trunk/ # base_revision_id: squid3@treenet.co.nz-20140323044440-\ # 50katuk11qpl8vyq # # Begin patch === modified file 'helpers/basic_auth/NIS/required.m4' --- helpers/basic_auth/NIS/required.m4 2014-03-23 04:44:40 +0000 +++ helpers/basic_auth/NIS/required.m4 2014-03-23 05:17:14 +0000 @@ -1,4 +1,5 @@ -AC_CHECK_HEADERS([sys/types.h rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h crypt.h],[BUILD_HELPER="NIS"],,AC_INCLUDES_DEFAULT([ +BUILD_HELPER="NIS" +AC_CHECK_HEADERS([sys/types.h rpc/rpc.h rpcsvc/ypclnt.h rpcsvc/yp_prot.h crypt.h],[],[BUILD_HELPER=""],AC_INCLUDES_DEFAULT([ #if HAVE_RPC_RPC_H #include #endif