Doc: improve directions for building on macOS.
authorTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Jan 2021 23:58:25 +0000 (18:58 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Fri, 22 Jan 2021 23:58:25 +0000 (18:58 -0500)
commit50bebc1ae1804e0ddf86b667122d3f8b22fa19b7
tree9b74a3fbb1d64ba4bffcdbb74c44f46b03764f5e
parent58cd8dca3de0b3c7d378a412eca1f7289b5e4978
Doc: improve directions for building on macOS.

In light of recent discussions, we should instruct people to
install Apple's command line tools; installing Xcode is secondary.

Also, fix sample command for finding out the default sysroot,
as we now know that the command originally recommended can give
a result that doesn't match your OS version.

Also document the workaround to use if you really don't want
configure to select a sysroot at all.

Discussion: https://postgr.es/m/20210119111625.20435-1-james.hilliard1@gmail.com
doc/src/sgml/installation.sgml