]> granicus.if.org Git - postgresql/commit
Back-patch updated thread flags tests into 9.4 and 9.5.
authorTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 19:24:51 +0000 (14:24 -0500)
committerTom Lane <tgl@sss.pgh.pa.us>
Mon, 19 Nov 2018 19:24:51 +0000 (14:24 -0500)
commit100535bba042f99dd90189690ebf77b43603f31d
tree51808dde6e1a10675b93c64d427a929ec0064d6f
parent593320abac7d3caa9a5b2fe4c97da32714548c8e
Back-patch updated thread flags tests into 9.4 and 9.5.

This commit back-patches these 9.6-era commits into 9.4 and 9.5:

e97af6c8b Replace our hacked version of ax_pthread.m4 with latest upstream version.
3b14a17c8 Move pthread-tests earlier in the autoconf script.
01051a987 Use AS_IF rather than plain shell "if" in pthread-check.
a2932283c Update ax_pthread.m4 to an experimental draft version from upstream.

The net result is to sync configure's checks for threading-related
flags and libraries with the version we've been using since 9.6.
The motivation for doing so now is that it seems the older code does
not work correctly on very recent RHEL7/ppc64, as evidenced by
buildfarm member quokka.  The newer code is pretty battle-hardened
by now, so this seems like a low-risk fix.

Discussion: https://postgr.es/m/3320.1542647565@sss.pgh.pa.us
aclocal.m4
config/acx_pthread.m4 [deleted file]
config/ax_pthread.m4 [new file with mode: 0644]
configure
configure.in
src/include/pg_config.h.in