postgresql/src
Tom Lane e74dd00f53 Still further rethinking of build changes for macOS Mojave.
To avoid the sorts of problems complained of by Jakob Egger, it'd be
best if configure didn't emit any references to the sysroot path at all.
In the case of PL/Tcl, we can do that just by keeping our hands off the
TCL_INCLUDE_SPEC string altogether.  In the case of PL/Perl, we need to
substitute -iwithsysroot for -I in the compile commands, which is easily
handled if we change to using a configure output variable that includes
the switch not only the directory name.  Since PL/Tcl and PL/Python
already do it like that, this seems like good consistency cleanup anyway.

Hence, this replaces the advice given to Perl-related extensions in commit
5e2217131; instead of writing "-I$(perl_archlibexp)/CORE", they should
just write "$(perl_includespec)".  (The old way continues to work, but not
on recent macOS.)

It's still the case that configure needs to be aware of the sysroot
path internally, but that's cleaner than what we had before.

As before, back-patch to all supported versions.

Discussion: https://postgr.es/m/20840.1537850987@sss.pgh.pa.us
2018-10-18 14:55:23 -04:00
..
backend Improve some comments related to executor result relations. 2018-10-17 16:41:00 -04:00
bin pgbench: Report errors during run better 2018-10-15 10:34:35 +02:00
common Make spelling of "acknowledgment" consistent 2018-10-15 10:06:45 +02:00
fe_utils Fix lexing of standard multi-character operators in edge cases. 2018-08-23 21:42:40 +01:00
include Improve some comments related to executor result relations. 2018-10-17 16:41:00 -04:00
interfaces Const-ify a few more large static tables. 2018-10-17 15:32:47 -04:00
makefiles Refactor installation of extension headers. 2018-09-07 14:19:14 +01:00
pl Still further rethinking of build changes for macOS Mojave. 2018-10-18 14:55:23 -04:00
port Make float exponent output on Windows look the same as elsewhere. 2018-10-12 11:14:27 -04:00
template Still further rethinking of build changes for macOS Mojave. 2018-10-18 14:55:23 -04:00
test Fix minor bug in isolationtester. 2018-10-17 15:06:57 -04:00
timezone Improve tzparse's handling of TZDEFRULES ("posixrules") zone data. 2018-10-17 12:26:48 -04:00
tools Remove timetravel extension. 2018-10-11 11:43:56 -07:00
tutorial Deduplicate "invalid input syntax" messages for various types. 2018-07-22 14:58:01 -07:00
.gitignore Convert cvsignore to gitignore, and add .gitignore for build targets. 2010-09-22 12:57:04 +02:00
DEVELOPERS Replace a couple of references to files that no longer exist in the source 2009-05-04 08:08:47 +00:00
Makefile Fix partial-build problems introduced by having more generated headers. 2018-04-09 16:42:10 -04:00
Makefile.global.in Still further rethinking of build changes for macOS Mojave. 2018-10-18 14:55:23 -04:00
Makefile.shlib Don't build static libraries on Cygwin 2018-10-02 16:46:57 -04:00
nls-global.mk nls-global.mk: search build dir for source files, too 2016-06-07 18:55:18 -04:00