postgresql/config
Tom Lane 100535bba0 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
2018-11-19 14:24:51 -05:00
..
Makefile Install our "missing" script where PGXS builds can find it. 2015-12-11 16:15:06 -05:00
ac_func_accept_argtypes.m4 Enable compiling with the mingw-w64 32 bit compiler. 2011-12-10 15:35:41 -05:00
ax_pthread.m4 Back-patch updated thread flags tests into 9.4 and 9.5. 2018-11-19 14:24:51 -05:00
c-compiler.m4 Fix typos 2018-07-10 11:16:10 +02:00
c-library.m4 Fix detection of the result type of strerror_r(). 2018-09-30 16:24:56 -04:00
check_decls.m4 Fix configure's AC_CHECK_DECLS tests to work correctly with clang. 2018-11-19 12:01:47 -05:00
config.guess Update config.guess and config.sub 2015-08-19 11:45:52 -04:00
config.sub Update config.guess and config.sub 2015-08-19 11:45:52 -04:00
docbook.m4 Fix configure's search for collateindex.pl. 2012-03-22 00:46:03 -04:00
general.m4 Remove useless whitespace at end of lines 2010-11-23 22:34:55 +02:00
install-sh Fix install-strip on Mac OS X 2012-08-21 23:42:43 -04:00
libtool.m4 Rename AC_PROG_LD* macros to PGAC_PROG_LD*. This avoids clashes with the 2004-07-17 18:53:56 +00:00
missing Remove cvs keywords from all files. 2010-09-20 22:08:53 +02:00
perl.m4 MSVC: Test whether 32-bit Perl needs -D_USE_32BIT_TIME_T. 2017-12-08 18:06:29 -08:00
prep_buildtree find -path is not portable, so use grep -v instead. 2010-10-25 10:04:00 -03:00
programs.m4 Fix configure's incorrect version tests for flex and perl. 2016-05-02 11:18:10 -04:00
python.m4 Remove configure check prohibiting threaded libpython on OpenBSD. 2015-05-26 22:14:59 -04:00
tcl.m4 Make some fixes to allow building Postgres on macOS 10.14 ("Mojave"). 2018-09-25 13:23:29 -04:00
test_quiet_include.h Blacklist xlc 32-bit inlining. 2015-07-29 22:52:43 -04:00