[Xcb-commit] libxcb: configure.ac
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Fri Oct 14 20:32:40 UTC 2022
configure.ac | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
New commits:
commit 06e1ef43bbb8c84fc243fa6a53c81147a3a24273
Author: Alan Coopersmith <alan.coopersmith at oracle.com>
Date: Tue Oct 4 11:30:09 2022 -0700
configure.ac: drop dependency `pthread-stubs` on Solaris
On Solaris 10 and later, the pthread functions are directly in libc,
and libpthread only has metadata to redirect calls from it to the
libc functions.
On Solaris 9 and older (no longer supported), libc contained its own
thread stubs that libpthread then overrode.
Signed-off-by: Alan Coopersmith <alan.coopersmith at oracle.com>
diff --git a/configure.ac b/configure.ac
index a1c24be..f4f71de 100644
--- a/configure.ac
+++ b/configure.ac
@@ -53,7 +53,7 @@ AC_SUBST(HTML_CHECK_RESULT)
PKG_CHECK_MODULES(XCBPROTO, xcb-proto >= 1.15.1)
NEEDED="xau >= 0.99.2"
case $host_os in
-linux*|darwin*) ;;
+linux*|darwin*|solaris*) ;;
*) NEEDED="$NEEDED pthread-stubs" ;;
esac
PKG_CHECK_MODULES(NEEDED, $NEEDED)
More information about the xcb-commit
mailing list