Update config/ax_pthread.m4 to latest upstream version.
This change doesn't fix any bugs that we've heard about, but it seems
like a good idea on general principles to track upstream occasionally.
Discussion: https://postgr.es/m/3320.1542647565@sss.pgh.pa.us
Branch
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/df303aff6601a893cf83c26ffd6c7eb5fb6b067e
Modified Files
--------------
config/ax_pthread.m4 | 311 +++++++++++++++++++++++++-------------
configure | 411 ++++++++++++++++++++++++++++++++++++++-------------
2 files changed, 516 insertions(+), 206 deletions(-)