summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-04 11:30:09 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-10-04 11:30:09 -0700
commit06e1ef43bbb8c84fc243fa6a53c81147a3a24273 (patch)
treea484e7a7b26187856bfe69be65535e90fa4c3860
parentd53ad60d774176c5b057e2ed4d03a4658ee13690 (diff)
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@oracle.com>
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
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)