Skip to content

Commit 7c86b94

Browse files
committed
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: e97af6c Replace our hacked version of ax_pthread.m4 with latest upstream version. 3b14a17 Move pthread-tests earlier in the autoconf script. 01051a9 Use AS_IF rather than plain shell "if" in pthread-check. a293228 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
1 parent 5fcb210 commit 7c86b94

File tree

6 files changed

+4489
-4215
lines changed

6 files changed

+4489
-4215
lines changed

aclocal.m4

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
dnl aclocal.m4
22
m4_include([config/ac_func_accept_argtypes.m4])
3-
m4_include([config/acx_pthread.m4])
3+
m4_include([config/ax_pthread.m4])
44
m4_include([config/c-compiler.m4])
55
m4_include([config/c-library.m4])
66
m4_include([config/check_decls.m4])

config/acx_pthread.m4

Lines changed: 0 additions & 228 deletions
This file was deleted.

0 commit comments

Comments
 (0)