Re: [PATCH libdrm] configure.ac: bring back pthread-stubs check

2017-04-03 Thread Emil Velikov
On 31 March 2017 at 00:17, Eric Engestrom wrote: > On Thursday, 2017-03-30 18:01:12 +0100, Emil Velikov wrote: >> Accidentally removed with earlier commit. Although rather than simply >> adding the check for all platforms, use the same heuristics as we do in >> mesa. >> >> Namely: pthread-stubs is

Re: [PATCH libdrm] configure.ac: bring back pthread-stubs check

2017-03-30 Thread Eric Engestrom
On Thursday, 2017-03-30 18:01:12 +0100, Emil Velikov wrote: > Accidentally removed with earlier commit. Although rather than simply > adding the check for all platforms, use the same heuristics as we do in > mesa. > > Namely: pthread-stubs is a thing only for BSD platforms. Everyone else > should

[PATCH libdrm] configure.ac: bring back pthread-stubs check

2017-03-30 Thread Emil Velikov
Accidentally removed with earlier commit. Although rather than simply adding the check for all platforms, use the same heuristics as we do in mesa. Namely: pthread-stubs is a thing only for BSD platforms. Everyone else should have lightweight pthread API in their C runtime library. Fixes: 4ecd1ef