Update ax_pthread.m4 to an experimental draft version from upstream.

Heikki Linnakangas <heikki.linnakangas@iki.fi>

Commit: a2932283c2a39efd2f713f647c9f7f3d34123bb3
Author: Heikki Linnakangas <heikki.linnakangas@iki.fi>
Date: 2015-07-30T11:14:50Z
Releases: 9.6.0
Update ax_pthread.m4 to an experimental draft version from upstream.

The current version is adding a spurious -pthread option on some Darwin
systems that don't need it, which leads to a bunch of "unrecognized option
'-pthread'" warnings. There is a proposed fix for that in the upstream
autoconf archive's bug tracker, see https://savannah.gnu.org/patch/?8186.
This commit updates our version of ax_pthread.m4 to the "draft2" version
proposed there by Daniel Richard G. I'm using our buildfarm to help Daniel
to test this, before he commits this to the upstream repository.

Files

PathChange+/−
config/ax_pthread.m4 modified +111 −69
configure modified +133 −63