Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1eCfOZ-0002RB-Ql for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Nov 2017 05:28:55 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1eCfOY-0004Do-TK for pgsql-hackers@arkaria.postgresql.org; Thu, 09 Nov 2017 05:28:54 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCfN1-0001Vp-Bx for pgsql-hackers@postgresql.org; Thu, 09 Nov 2017 05:27:19 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1eCfMy-0003Bx-Pi for pgsql-hackers@postgresql.org; Thu, 09 Nov 2017 05:27:18 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id vA95RCZp016815; Thu, 9 Nov 2017 00:27:12 -0500 From: Tom Lane To: Thomas Munro cc: Luke Lonergan , Pg Hackers Subject: Re: Pg V10: Patch for bug in bonjour support In-reply-to: References: <2D8331C5-D64F-44C1-8717-63EDC6EAF7EB@brightforge.com> <20002.1510178579@sss.pgh.pa.us> <4BDCB856-A4D7-4541-A2E5-4F64BA5363DB@brightforge.com> <651.1510182051@sss.pgh.pa.us> <27281884-AA0F-4571-9D7B-4492B5A36E27@brightforge.com> <4292.1510187984@sss.pgh.pa.us> <13482.1510200224@sss.pgh.pa.us> Comments: In-reply-to Thomas Munro message dated "Thu, 09 Nov 2017 18:09:54 +1300" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <16813.1510205232.1@sss.pgh.pa.us> Date: Thu, 09 Nov 2017 00:27:12 -0500 Message-ID: <16814.1510205232@sss.pgh.pa.us> List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org Thomas Munro writes: > On Thu, Nov 9, 2017 at 5:03 PM, Tom Lane wrote: >> Is the AC_SEARCH_LIBS configure call needed to make PG build with the >> FreeBSD package? > Yes. My take is that the commit was correct: the library is needed > for --with-bonjour to work on non-macOS systems, and apparently it can > work (though I didn't personally try to assess that beyond seeing that > it could start up and connect to mdnsd). Perhaps Avahi doesn't > qualify as a suitable Bonjour implementation any more though, and > someone out there might like to consider writing a --with-avahi option > that uses the native API it's shouting about. I'm not sure what to do at this point. I concur that the AC_SEARCH_LIBS call is helpful if you're using mDNSResponder on FreeBSD (or wherever else that may be available) ... but I'm worried that it will enable people to create broken builds on Linux without trying very hard. We might be wise to deem that putting that call in is just creating an attractive nuisance. This would certainly be easier if we had a certifiably-working interface to the avahi library. But we don't, and I don't plan to write one, and I doubt anyone else will come out of the woodwork to do it either. Is there really much interest in Bonjour support on non-macOS platforms? I hadn't heard that anybody but Apple was invested in it. regards, tom lane -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers