[PATCH libdrm] configure.ac: pthread-stubs is not a thing on GNU/kFreeBSD

Emil Velikov emil.l.velikov at gmail.com
Wed Apr 5 16:24:31 UTC 2017


From: Emil Velikov <emil.velikov at collabora.com>

As mentioned on the xcb mailing list, the platform uses the GLIBC
forwarding mechanism.

https://lists.freedesktop.org/archives/xcb/2016-November/010896.html

Cc: Andreas Boll <andreas.boll.dev at gmail.com>
Reported-by: Andreas Boll <andreas.boll.dev at gmail.com>
Signed-off-by: Emil Velikov <emil.velikov at collabora.com>
---
I'm slightly inclined to go a single *gnu* but I'm not 100% sure if that
won't catch some corner case platforms. Opinions ?
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index f1a13090..0f6fe46d 100644
--- a/configure.ac
+++ b/configure.ac
@@ -64,7 +64,7 @@ LT_INIT([disable-static])
 dnl pthread-stubs is mandatory on BSD platforms, due to the nature of the
 dnl project. Even then there's a notable issue as described in the project README
 case "$host_os" in
-linux* | cygwin* | darwin* | solaris* | gnu*)
+linux* | cygwin* | darwin* | solaris* | *-gnu* | gnu*)
     pthread_stubs_possible="no"
     ;;
 * )
-- 
2.11.1



More information about the dri-devel mailing list