summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2023-02-10 14:16:20 +0000
committerAlan Coopersmith <alan.coopersmith@oracle.com>2023-02-11 18:15:23 +0000
commitfd04ab24a5e99d53874789439d3ffb0eb82574f7 (patch)
treed9b16b64458ef5f8fc1f219bd6781ca89d97ee44
parent4d1a578dd5348909ade2a853d806272326d228d7 (diff)
configure.ac: drop `pthread-stubs` dependency on DragonFly and FreeBSD
All `pthread_*` symbols used by libxcb have stubs in libc. So, stop linking against libpthread.
-rw-r--r--configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 206ab69..3d81a6b 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*|solaris*) ;;
+linux*|darwin*|solaris*|dragonfly*|freebsd*) ;;
*) NEEDED="$NEEDED pthread-stubs" ;;
esac
PKG_CHECK_MODULES(NEEDED, $NEEDED)