Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIL8r-0003bJ-U5 for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Nov 2018 22:08:42 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gIL8q-0005QU-8g for pgsql-hackers@arkaria.postgresql.org; Thu, 01 Nov 2018 22:08:40 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1gIL8p-0005QL-UL for pgsql-hackers@lists.postgresql.org; Thu, 01 Nov 2018 22:08:40 +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.89) (envelope-from ) id 1gIL8n-0001Ym-HD for pgsql-hackers@lists.postgresql.org; Thu, 01 Nov 2018 22:08:38 +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 wA1M8Xn5008165; Thu, 1 Nov 2018 18:08:33 -0400 From: Tom Lane To: Peter Eisentraut cc: Daniel Gustafsson , Jakob Egger , pgsql-hackers@lists.postgresql.org Subject: Re: PG vs macOS Mojave In-reply-to: References: <20840.1537850987@sss.pgh.pa.us> <29535.1539698523@sss.pgh.pa.us> <486.1539702831@sss.pgh.pa.us> <5BE313A1-1318-4A68-A183-5F60CA968CF1@eggerapps.at> <30776.1539786526@sss.pgh.pa.us> <687EAD19-E8F0-464C-9F2B-BE536B81985E@eggerapps.at> <2429.1539842651@sss.pgh.pa.us> <25039.1539874646@sss.pgh.pa.us> <11941.1541042255@sss.pgh.pa.us> <529860F6-243F-4B6F-B6D6-4376291D1593@yesql.se> <6712.1541081675@sss.pgh.pa.us> <8198.1541083983@sss.pgh.pa.us> <371F44FD-BCD0-4DD2-A261-346809E3CEE7@yesql.se> <4844.1541107036@sss.pgh.pa.us> Comments: In-reply-to Peter Eisentraut message dated "Thu, 01 Nov 2018 23:05:03 +0100" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <8163.1541110113.1@sss.pgh.pa.us> Date: Thu, 01 Nov 2018 18:08:33 -0400 Message-ID: <8164.1541110113@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Peter Eisentraut writes: > On 01/11/2018 22:17, Tom Lane wrote: >> The other idea that's occurred to me is to go back to the scheme of >> commit 68fc227dd, where we inject the sysroot path into just the -I >> switches used for PL/Perl and PL/Tcl. We could improve on that >> commit by injecting it symbolically similar to what I did here, ie >> what ends up in the configure output is > How does that work when building against a non-system Perl or Tcl? It does nothing, because configure will not find that it needs to inject any sysroot reference in order to find such a Perl or Tcl's headers. regards, tom lane