Re: [GD-DEVEL] The PTHREADS support detection is broken
| From: | Lars Hecking | Date: | Wed, 30 Jan 2008 11:38:02 +0000 |
| Subject: | Re: [GD-DEVEL] The PTHREADS support detection is broken | ||
| References: | 1 | Groups: | php.gd.devel |
| Request: | Send a blank email to php-gd-devel+get-339@lists.php.net to get a copy of this message | ||
On Mon, 01 Jan 2007 20:47:01 +0100, Jonas Smedegaard writes:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> The detection of PTHREADS support is broken. See
> http://bugs.debian.org/268280 for more info.
>
> The attached patch (together with the libtools cleanup suggested in an
> earlier post) should fix this issue.
>
> I believe this to be safe to apply for 2.0.34.
My apologies for the belated reply. I was only now able to track down the
correct email address of the macro author. Here's his response:
| From: "Steven G. Johnson" <stevenj.mit@gmail.com>
| To: Lars Hecking <lhecking@users.sourceforge.net>
| Subject: Re: acx_pthread
| Date: Tue, 29 Jan 2008 12:54:30 -0500
|
| The patch is incorrect. The ACX_PTHREAD macro is supposed to restore the
| original LIBS and CFLAGS upon exiting according to its documentation, so
| the original version of the macro is correct. If the user wants to add
| $PTHREAD_LIBS to the global $LIBS, she is responsible for doing so herself,
| as documented.
So, if there are any changes necessary, they must be made outside the
ACX_PTHREAD context as we should not deviate from the upstream code.