Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ute14-00039k-VG for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 13:19:39 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.80) (envelope-from ) id 1Ute14-0005t8-69 for pgsql-bugs@arkaria.postgresql.org; Mon, 01 Jul 2013 13:19:38 +0000 Received: from makus.postgresql.org ([2001:4800:7903:4::125]) by malur.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ute13-0005t2-Ii for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 13:19:37 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by makus.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1Ute0x-0008PP-A0 for pgsql-bugs@postgresql.org; Mon, 01 Jul 2013 13:19:37 +0000 Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.5/8.14.5) with ESMTP id r61DJOsx018843; Mon, 1 Jul 2013 09:19:24 -0400 (EDT) From: Tom Lane To: Peter Eisentraut cc: Andres Freund , Andrew Dunstan , Emre Hasegeli , pgsql-bugs@postgresql.org Subject: Re: BUG #8271: Configure warning: sys/ucred.h: present but cannot be compiled In-reply-to: <51D17FD5.2030400@gmx.net> References: <20130630111930.GL11516@alap2.anarazel.de> <20130630131720.GM11516@alap2.anarazel.de> <20130630132032.GN11516@alap2.anarazel.de> <51D034CE.2050608@dunslane.net> <7051.1372600177@sss.pgh.pa.us> <51D03E0E.7020908@dunslane.net> <20130630150701.GO11516@alap2.anarazel.de> <51D04C96.3030108@dunslane.net> <20130630152612.GP11516@alap2.anarazel.de> <51D17FD5.2030400@gmx.net> Comments: In-reply-to Peter Eisentraut message dated "Mon, 01 Jul 2013 09:10:45 -0400" Date: Mon, 01 Jul 2013 09:19:23 -0400 Message-ID: <18842.1372684763@sss.pgh.pa.us> X-Pg-Spam-Score: -0.0 (/) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-bugs Precedence: bulk Sender: pgsql-bugs-owner@postgresql.org Peter Eisentraut writes: > On 6/30/13 11:26 AM, Andres Freund wrote: >> If we would treat that warning as an error unconditionally - and I am >> not sure how easy that is given the way it's emitted - users >> encountering them, which usually will be on less common platforms, will >> have to patch configure.in to make things work for them. Which is a high >> bar. > We could also look into updating Autoconf. Newer versions proceed with > the compiler's result. At that point, you can essentially ignore the > warning. AFAICT, the result in this case would be that the script comes to the wrong conclusion about whether ucred.h is available. Wouldn't that result in a build failure, or at least missing features? IOW, don't we need to fix this test anyway? However, if newer autoconf versions make only one test per header file and not two, then +1 for updating. Should help a bit with configure's speed problem. regards, tom lane -- Sent via pgsql-bugs mailing list (pgsql-bugs@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-bugs