From 06e1ef43bbb8c84fc243fa6a53c81147a3a24273 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Tue, 4 Oct 2022 11:30:09 -0700 Subject: 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 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) -- cgit v1.2.3