configure.ac: bring back pthread-stubs check
authorEmil Velikov <emil.l.velikov@gmail.com>
Thu, 30 Mar 2017 17:01:12 +0000 (18:01 +0100)
committerEmil Velikov <emil.l.velikov@gmail.com>
Mon, 3 Apr 2017 17:01:49 +0000 (18:01 +0100)
commit63120172668610cebfd01e89f67e73037037dfd9
tree6c8ca0ce36347fd68ad02df7434d26e19feecd4c
parent6796859fcce7b9d7157f066a8b0dac3ede6438dd
configure.ac: bring back pthread-stubs check

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: 4ecd1ef010b ("xf86drm: fix null termination of string buffer")
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
configure.ac